ContainerGroupSubnetId Class

  • java.lang.Object
    • com.azure.resourcemanager.containerinstance.models.ContainerGroupSubnetId

public final class ContainerGroupSubnetId

Container group subnet information.

Constructor Summary

Constructor Description
ContainerGroupSubnetId()

Creates an instance of ContainerGroupSubnetId class.

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.

ContainerGroupSubnetId withId(String id)

Set the id property: Resource ID of virtual network and subnet.

ContainerGroupSubnetId 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:

the id value.

name

public String name()

Get the name property: Friendly name for the subnet.

Returns:

the name value.

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:

id - the id value to set.

Returns:

the ContainerGroupSubnetId object itself.

withName

public ContainerGroupSubnetId withName(String name)

Set the name property: Friendly name for the subnet.

Parameters:

name - the name value to set.

Returns:

the ContainerGroupSubnetId object itself.

Applies to