Class AssociationUpdateProperties
java.lang.Object
com.azure.resourcemanager.servicenetworking.models.AssociationUpdateProperties
The updatable properties of the Association.
-
Constructor Summary
ConstructorDescriptionCreates an instance of AssociationUpdateProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the associationType property: Association Type.subnet()
Get the subnet property: Association Subnet.void
validate()
Validates the instance.withAssociationType
(AssociationType associationType) Set the associationType property: Association Type.withSubnet
(AssociationSubnet subnet) Set the subnet property: Association Subnet.
-
Constructor Details
-
AssociationUpdateProperties
public AssociationUpdateProperties()Creates an instance of AssociationUpdateProperties class.
-
-
Method Details
-
associationType
Get the associationType property: Association Type.- Returns:
- the associationType value.
-
withAssociationType
Set the associationType property: Association Type.- Parameters:
associationType
- the associationType value to set.- Returns:
- the AssociationUpdateProperties object itself.
-
subnet
Get the subnet property: Association Subnet.- Returns:
- the subnet value.
-
withSubnet
Set the subnet property: Association Subnet.- Parameters:
subnet
- the subnet value to set.- Returns:
- the AssociationUpdateProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-