Class Subnet

  • All Implemented Interfaces:
    io.fabric8.kubernetes.api.builder.Editable<SubnetBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource, Serializable

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class Subnet
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<SubnetBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    Subnet specifies a subnet in an existing VPC and can optionally specify their intended roles.
    See Also:
    Serialized Form
    • Constructor Detail

      • Subnet

        public Subnet()
        No args constructor for use in serialization
    • Method Detail

      • getId

        public String getId()
        ID specifies the subnet ID of an existing subnet. The subnet ID must start with "subnet-", consist only of alphanumeric characters, and must be exactly 24 characters long.
      • setId

        public void setId​(String id)
        ID specifies the subnet ID of an existing subnet. The subnet ID must start with "subnet-", consist only of alphanumeric characters, and must be exactly 24 characters long.
      • getRoles

        public List<SubnetRole> getRoles()
        Roles specifies the roles (aka functions) that the subnet will provide in the cluster. If no roles are specified on any subnet, then the subnet roles are decided automatically. Each role must be unique.
      • setRoles

        public void setRoles​(List<SubnetRole> roles)
        Roles specifies the roles (aka functions) that the subnet will provide in the cluster. If no roles are specified on any subnet, then the subnet roles are decided automatically. Each role must be unique.
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)