Class SubnetRole
- java.lang.Object
-
- io.fabric8.openshift.api.model.installer.aws.v1.SubnetRole
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<SubnetRoleBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class SubnetRole extends Object implements io.fabric8.kubernetes.api.builder.Editable<SubnetRoleBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
SubnetRole specifies the role (aka function) that the subnet will provide in the cluster.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SubnetRole()No args constructor for use in serializationSubnetRole(String type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SubnetRoleBuilderedit()Map<String,Object>getAdditionalProperties()StringgetType()Type specifies the type of role (aka function) that the subnet will provide in the cluster.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetType(String type)Type specifies the type of role (aka function) that the subnet will provide in the cluster.SubnetRoleBuildertoBuilder()
-
-
-
Constructor Detail
-
SubnetRole
public SubnetRole()
No args constructor for use in serialization
-
SubnetRole
public SubnetRole(String type)
-
-
Method Detail
-
getType
public String getType()
Type specifies the type of role (aka function) that the subnet will provide in the cluster. Role types include ClusterNode, EdgeNode, BootstrapNode, IngressControllerLB, ControlPlaneExternalLB, and ControlPlaneInternalLB.
-
setType
public void setType(String type)
Type specifies the type of role (aka function) that the subnet will provide in the cluster. Role types include ClusterNode, EdgeNode, BootstrapNode, IngressControllerLB, ControlPlaneExternalLB, and ControlPlaneInternalLB.
-
edit
public SubnetRoleBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<SubnetRoleBuilder>
-
toBuilder
public SubnetRoleBuilder toBuilder()
-
-