Class IPSubnet.Builder

  • Enclosing class:
    IPSubnet

    public static final class IPSubnet.Builder
    extends java.lang.Object
    Builder class for IPSubnet.
    • Constructor Summary

      Constructors 
      Constructor Description
      Builder()
      Constructor with parameters for the required properties of IPSubnet.
    • Constructor Detail

      • Builder

        public Builder()
        Constructor with parameters for the required properties of IPSubnet.
    • Method Detail

      • setIpAddresses

        public IPSubnet.Builder setIpAddresses​(java.util.List<java.lang.String> ipAddresses)
        All IP addresses, some of which may be automatically configured. When updating this field, the payload may contain only the IP addresses that should be changed, or may contain the IP addresses to change as well as the automatically assigned addresses. Currently, only one updatable address and one system-maintained address are supported. Currently, the system-maintained address supported is Extended Unique Identifier(EUI)-64 address. EUI-64 address is generated by the system only when user configured ip-subnet has prefix length less than or equal to 64. format: ip
        Parameters:
        ipAddresses - New value for the property.
      • setPrefixLength

        public IPSubnet.Builder setPrefixLength​(java.lang.Long prefixLength)
        Subnet Prefix Length format: int64
        Parameters:
        prefixLength - New value for the property.