public final class PrivateAccessSubnet extends Object
| Constructor and Description |
|---|
PrivateAccessSubnet() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
key()
Get the key property: The key (ID) of the subnet.
|
String |
name()
Get the name property: The name of the subnet.
|
void |
validate()
Validates the instance.
|
PrivateAccessSubnet |
withKey(Integer key)
Set the key property: The key (ID) of the subnet.
|
PrivateAccessSubnet |
withName(String name)
Set the name property: The name of the subnet.
|
public String name()
public PrivateAccessSubnet withName(String name)
name - the name value to set.public Integer key()
public PrivateAccessSubnet withKey(Integer key)
key - the key value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.