Share via


AssociationProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.servicenetworking.models.AssociationProperties

Implements

public final class AssociationProperties
implements JsonSerializable<AssociationProperties>

Association Properties.

Constructor Summary

Constructor Description
AssociationProperties()

Creates an instance of AssociationProperties class.

Method Summary

Modifier and Type Method and Description
AssociationType associationType()

Get the associationType property: Association Type.

static AssociationProperties fromJson(JsonReader jsonReader)

Reads an instance of AssociationProperties from the JsonReader.

ProvisioningState provisioningState()

Get the provisioningState property: Provisioning State of Traffic Controller Association Resource.

AssociationSubnet subnet()

Get the subnet property: Association Subnet.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

AssociationProperties withAssociationType(AssociationType associationType)

Set the associationType property: Association Type.

AssociationProperties withSubnet(AssociationSubnet subnet)

Set the subnet property: Association Subnet.

Methods inherited from java.lang.Object

Constructor Details

AssociationProperties

public AssociationProperties()

Creates an instance of AssociationProperties class.

Method Details

associationType

public AssociationType associationType()

Get the associationType property: Association Type.

Returns:

the associationType value.

fromJson

public static AssociationProperties fromJson(JsonReader jsonReader)

Reads an instance of AssociationProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: Provisioning State of Traffic Controller Association Resource.

Returns:

the provisioningState value.

subnet

public AssociationSubnet subnet()

Get the subnet property: Association Subnet.

Returns:

the subnet value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAssociationType

public AssociationProperties withAssociationType(AssociationType associationType)

Set the associationType property: Association Type.

Parameters:

associationType - the associationType value to set.

Returns:

the AssociationProperties object itself.

withSubnet

public AssociationProperties withSubnet(AssociationSubnet subnet)

Set the subnet property: Association Subnet.

Parameters:

subnet - the subnet value to set.

Returns:

the AssociationProperties object itself.

Applies to