public final class ExternalSubnet extends Object
Constructor and Description |
---|
ExternalSubnet() |
Modifier and Type | Method and Description |
---|---|
String |
id()
Get the id property: Gets or sets the identifier.
|
String |
name()
Get the name property: Gets or sets the name.
|
void |
validate()
Validates the instance.
|
ExternalSubnet |
withId(String id)
Set the id property: Gets or sets the identifier.
|
ExternalSubnet |
withName(String name)
Set the name property: Gets or sets the name.
|
public String id()
public ExternalSubnet withId(String id)
id
- the id value to set.public String name()
public ExternalSubnet withName(String name)
name
- the name value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.