Class ContainerGroupSubnetId
java.lang.Object
com.azure.resourcemanager.containerinstance.models.ContainerGroupSubnetId
Container group subnet information.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ContainerGroupSubnetId class. -
Method Summary
Modifier and TypeMethodDescriptionid()Get the id property: Resource ID of virtual network and subnet.name()Get the name property: Friendly name for the subnet.voidvalidate()Validates the instance.Set the id property: Resource ID of virtual network and subnet.Set the name property: Friendly name for the subnet.
-
Constructor Details
-
ContainerGroupSubnetId
public ContainerGroupSubnetId()Creates an instance of ContainerGroupSubnetId class.
-
-
Method Details
-
id
Get the id property: Resource ID of virtual network and subnet.- Returns:
- the id value.
-
withId
Set the id property: Resource ID of virtual network and subnet.- Parameters:
id- the id value to set.- Returns:
- the ContainerGroupSubnetId object itself.
-
name
Get the name property: Friendly name for the subnet.- Returns:
- the name value.
-
withName
Set the name property: Friendly name for the subnet.- Parameters:
name- the name value to set.- Returns:
- the ContainerGroupSubnetId object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-