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 Details

    • WorkloadNetworkSegmentInner

      public WorkloadNetworkSegmentInner()
      Creates an instance of WorkloadNetworkSegmentInner class.
  • Method Details

    • displayName

      public String displayName()
      Get the displayName property: Display name of the segment.
      Returns:
      the displayName value.
    • withDisplayName

      public WorkloadNetworkSegmentInner withDisplayName(String displayName)
      Set the displayName property: Display name of the segment.
      Parameters:
      displayName - the displayName value to set.
      Returns:
      the WorkloadNetworkSegmentInner object itself.
    • connectedGateway

      public String connectedGateway()
      Get the connectedGateway property: Gateway which to connect segment to.
      Returns:
      the connectedGateway value.
    • withConnectedGateway

      public WorkloadNetworkSegmentInner withConnectedGateway(String connectedGateway)
      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

      public SegmentStatusEnum status()
      Get the status property: Segment status.
      Returns:
      the status value.
    • provisioningState

      public WorkloadNetworkSegmentProvisioningState provisioningState()
      Get the provisioningState property: The provisioning state.
      Returns:
      the provisioningState value.
    • revision

      public Long revision()
      Get the revision property: NSX revision number.
      Returns:
      the revision value.
    • withRevision

      public WorkloadNetworkSegmentInner withRevision(Long revision)
      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.