Class WorkloadNetworkSegmentInner


  • public final class WorkloadNetworkSegmentInner
    extends com.azure.core.management.ProxyResource
    NSX Segment.
    • Constructor Detail

      • WorkloadNetworkSegmentInner

        public WorkloadNetworkSegmentInner()
    • Method Detail

      • 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

        public WorkloadNetworkSegmentSubnet subnet()
        Get the subnet property: Subnet which to connect segment to.
        Returns:
        the subnet value.
      • status

        public SegmentStatusEnum status()
        Get the status property: Segment status.
        Returns:
        the status 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.