Class ExternalSubnet
java.lang.Object
com.azure.resourcemanager.devtestlabs.models.ExternalSubnet
Subnet information as returned by the Microsoft.Network API.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
ExternalSubnet
public ExternalSubnet()Creates an instance of ExternalSubnet class.
-
-
Method Details
-
id
Get the id property: Gets or sets the identifier.- Returns:
- the id value.
-
withId
Set the id property: Gets or sets the identifier.- Parameters:
id
- the id value to set.- Returns:
- the ExternalSubnet object itself.
-
name
Get the name property: Gets or sets the name.- Returns:
- the name value.
-
withName
Set the name property: Gets or sets the name.- Parameters:
name
- the name value to set.- Returns:
- the ExternalSubnet object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-