ContainerGroupSubnetId Class
- java.
lang. Object - com.
azure. resourcemanager. containerinstance. models. ContainerGroupSubnetId
- com.
public final class ContainerGroupSubnetId
Container group subnet information.
Constructor Summary
Constructor | Description |
---|---|
ContainerGroupSubnetId() |
Creates an instance of Container |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
id()
Get the id property: Resource ID of virtual network and subnet. |
String |
name()
Get the name property: Friendly name for the subnet. |
void |
validate()
Validates the instance. |
Container |
withId(String id)
Set the id property: Resource ID of virtual network and subnet. |
Container |
withName(String name)
Set the name property: Friendly name for the subnet. |
Methods inherited from java.lang.Object
Constructor Details
ContainerGroupSubnetId
public ContainerGroupSubnetId()
Creates an instance of ContainerGroupSubnetId class.
Method Details
id
public String id()
Get the id property: Resource ID of virtual network and subnet.
Returns:
name
public String name()
Get the name property: Friendly name for the subnet.
Returns:
validate
public void validate()
Validates the instance.
withId
public ContainerGroupSubnetId withId(String id)
Set the id property: Resource ID of virtual network and subnet.
Parameters:
Returns:
withName
public ContainerGroupSubnetId withName(String name)
Set the name property: Friendly name for the subnet.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for