AccessBridgePatchProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.networkcloud.models.AccessBridgePatchProperties

Implements

public final class AccessBridgePatchProperties
implements JsonSerializable<AccessBridgePatchProperties>

AccessBridgePatchProperties identifies the mutable properties for patch operations.

Constructor Summary

Constructor Description
AccessBridgePatchProperties()

Creates an instance of AccessBridgePatchProperties class.

Method Summary

Modifier and Type Method and Description
static AccessBridgePatchProperties fromJson(JsonReader jsonReader)

Reads an instance of AccessBridgePatchProperties from the JsonReader.

List<AccessBridgeSecurityRule> securityRules()

Get the securityRules property: The list of security rules enforced by the access bridge.

JsonWriter toJson(JsonWriter jsonWriter)
AccessBridgePatchProperties withSecurityRules(List<AccessBridgeSecurityRule> securityRules)

Set the securityRules property: The list of security rules enforced by the access bridge.

Methods inherited from java.lang.Object

Constructor Details

AccessBridgePatchProperties

public AccessBridgePatchProperties()

Creates an instance of AccessBridgePatchProperties class.

Method Details

fromJson

public static AccessBridgePatchProperties fromJson(JsonReader jsonReader)

Reads an instance of AccessBridgePatchProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of AccessBridgePatchProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the AccessBridgePatchProperties.

securityRules

public List<AccessBridgeSecurityRule> securityRules()

Get the securityRules property: The list of security rules enforced by the access bridge.

Returns:

the securityRules value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

withSecurityRules

public AccessBridgePatchProperties withSecurityRules(List<AccessBridgeSecurityRule> securityRules)

Set the securityRules property: The list of security rules enforced by the access bridge.

Parameters:

securityRules - the securityRules value to set.

Returns:

the AccessBridgePatchProperties object itself.

Applies to