Class WorkloadNetworkSegmentSubnet


  • public final class WorkloadNetworkSegmentSubnet
    extends Object
    Subnet configuration for segment.
    • Constructor Detail

      • WorkloadNetworkSegmentSubnet

        public WorkloadNetworkSegmentSubnet()
    • Method Detail

      • dhcpRanges

        public List<String> dhcpRanges()
        Get the dhcpRanges property: DHCP Range assigned for subnet.
        Returns:
        the dhcpRanges value.
      • withDhcpRanges

        public WorkloadNetworkSegmentSubnet withDhcpRanges​(List<String> dhcpRanges)
        Set the dhcpRanges property: DHCP Range assigned for subnet.
        Parameters:
        dhcpRanges - the dhcpRanges value to set.
        Returns:
        the WorkloadNetworkSegmentSubnet object itself.
      • gatewayAddress

        public String gatewayAddress()
        Get the gatewayAddress property: Gateway address.
        Returns:
        the gatewayAddress value.
      • withGatewayAddress

        public WorkloadNetworkSegmentSubnet withGatewayAddress​(String gatewayAddress)
        Set the gatewayAddress property: Gateway address.
        Parameters:
        gatewayAddress - the gatewayAddress value to set.
        Returns:
        the WorkloadNetworkSegmentSubnet object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.