ExternalSubnet Class
- java.
lang. Object - com.
azure. resourcemanager. devtestlabs. models. ExternalSubnet
- com.
public final class ExternalSubnet
Subnet information as returned by the Microsoft.Network API.
Constructor Summary
Constructor | Description |
---|---|
ExternalSubnet() |
Creates an instance of External |
Method Summary
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. |
External |
withId(String id)
Set the id property: Gets or sets the identifier. |
External |
withName(String name)
Set the name property: Gets or sets the name. |
Methods inherited from java.lang.Object
Constructor Details
ExternalSubnet
public ExternalSubnet()
Creates an instance of ExternalSubnet class.
Method Details
id
public String id()
Get the id property: Gets or sets the identifier.
Returns:
name
public String name()
Get the name property: Gets or sets the name.
Returns:
validate
public void validate()
Validates the instance.
withId
public ExternalSubnet withId(String id)
Set the id property: Gets or sets the identifier.
Parameters:
Returns:
withName
public ExternalSubnet withName(String name)
Set the name property: Gets or sets the name.
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