Class AssociationInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.servicenetworking.fluent.models.AssociationInner
public final class AssociationInner
extends com.azure.core.management.Resource
Association Subresource of Traffic Controller.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the associationType property: Association Type.Get the provisioningState property: Provisioning State.subnet()
Get the subnet property: Association Subnet.com.azure.core.management.SystemData
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.void
validate()
Validates the instance.withAssociationType
(AssociationType associationType) Set the associationType property: Association Type.withLocation
(String location) withSubnet
(AssociationSubnet subnet) Set the subnet property: Association Subnet.Methods inherited from class com.azure.core.management.Resource
location, tags
Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
AssociationInner
public AssociationInner()Creates an instance of AssociationInner class.
-
-
Method Details
-
systemData
public com.azure.core.management.SystemData systemData()Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.- Returns:
- the systemData value.
-
withLocation
- Overrides:
withLocation
in classcom.azure.core.management.Resource
-
withTags
- Overrides:
withTags
in classcom.azure.core.management.Resource
-
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 AssociationInner 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 AssociationInner object itself.
-
provisioningState
Get the provisioningState property: Provisioning State.- Returns:
- the provisioningState value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-