Class WorkloadNetworkSegmentInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.avs.fluent.models.WorkloadNetworkSegmentInner
public final class WorkloadNetworkSegmentInner
extends com.azure.core.management.ProxyResource
NSX Segment.
-
Constructor Summary
ConstructorDescriptionCreates an instance of WorkloadNetworkSegmentInner class. -
Method Summary
Modifier and TypeMethodDescriptionGet the connectedGateway property: Gateway which to connect segment to.Get the displayName property: Display name of the segment.portVif()
Get the portVif property: Port Vif which segment is associated with.Get the provisioningState property: The provisioning state.revision()
Get the revision property: NSX revision number.status()
Get the status property: Segment status.subnet()
Get the subnet property: Subnet which to connect segment to.void
validate()
Validates the instance.withConnectedGateway
(String connectedGateway) Set the connectedGateway property: Gateway which to connect segment to.withDisplayName
(String displayName) Set the displayName property: Display name of the segment.withRevision
(Long revision) Set the revision property: NSX revision number.Set the subnet property: Subnet which to connect segment to.Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
WorkloadNetworkSegmentInner
public WorkloadNetworkSegmentInner()Creates an instance of WorkloadNetworkSegmentInner class.
-
-
Method Details
-
displayName
Get the displayName property: Display name of the segment.- Returns:
- the displayName value.
-
withDisplayName
Set the displayName property: Display name of the segment.- Parameters:
displayName
- the displayName value to set.- Returns:
- the WorkloadNetworkSegmentInner object itself.
-
connectedGateway
Get the connectedGateway property: Gateway which to connect segment to.- Returns:
- the connectedGateway value.
-
withConnectedGateway
Set the connectedGateway property: Gateway which to connect segment to.- Parameters:
connectedGateway
- the connectedGateway value to set.- Returns:
- the WorkloadNetworkSegmentInner object itself.
-
subnet
Get the subnet property: Subnet which to connect segment to.- Returns:
- the subnet value.
-
withSubnet
Set the subnet property: Subnet which to connect segment to.- Parameters:
subnet
- the subnet value to set.- Returns:
- the WorkloadNetworkSegmentInner object itself.
-
portVif
Get the portVif property: Port Vif which segment is associated with.- Returns:
- the portVif value.
-
status
Get the status property: Segment status.- Returns:
- the status value.
-
provisioningState
Get the provisioningState property: The provisioning state.- Returns:
- the provisioningState value.
-
revision
Get the revision property: NSX revision number.- Returns:
- the revision value.
-
withRevision
Set the revision property: NSX revision number.- Parameters:
revision
- the revision value to set.- Returns:
- the WorkloadNetworkSegmentInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-