Class AddressPrefix

  • All Implemented Interfaces:
    com.ibm.cloud.sdk.core.service.model.ObjectModel

    public class AddressPrefix
    extends com.ibm.cloud.sdk.core.service.model.GenericModel
    AddressPrefix.
    • Method Detail

      • getCidr

        public String getCidr()
        Gets the cidr. The CIDR block for this prefix.
        Returns:
        the cidr
      • getCreatedAt

        public Date getCreatedAt()
        Gets the createdAt. The date and time that the prefix was created.
        Returns:
        the createdAt
      • isHasSubnets

        public Boolean isHasSubnets()
        Gets the hasSubnets. Indicates whether subnets exist with addresses from this prefix.
        Returns:
        the hasSubnets
      • getHref

        public String getHref()
        Gets the href. The URL for this address prefix.
        Returns:
        the href
      • getId

        public String getId()
        Gets the id. The unique identifier for this address prefix.
        Returns:
        the id
      • isIsDefault

        public Boolean isIsDefault()
        Gets the isDefault. Indicates whether this is the default prefix for this zone in this VPC. If a default prefix was automatically created when the VPC was created, the prefix is automatically named using a hyphenated list of randomly-selected words, but may be changed.
        Returns:
        the isDefault
      • getName

        public String getName()
        Gets the name. The name for this address prefix. The name must not be used by another address prefix for the VPC.
        Returns:
        the name
      • getZone

        public ZoneReference getZone()
        Gets the zone. The zone this address prefix resides in.
        Returns:
        the zone