Class Platform
- java.lang.Object
-
- io.fabric8.openshift.api.model.installer.ibmcloud.v1.Platform
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<PlatformBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class Platform extends Object implements io.fabric8.kubernetes.api.builder.Editable<PlatformBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
Platform stores all the global configuration that all machinesets use.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Platform()No args constructor for use in serializationPlatform(List<String> computeSubnets, List<String> controlPlaneSubnets, MachinePool defaultMachinePlatform, String networkResourceGroupName, String region, String resourceGroupName, List<io.fabric8.openshift.api.model.config.v1.IBMCloudServiceEndpoint> serviceEndpoints, String vpcName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PlatformBuilderedit()Map<String,Object>getAdditionalProperties()List<String>getComputeSubnets()ComputeSubnets are the names of already existing subnets where the cluster compute nodes should be created.List<String>getControlPlaneSubnets()ControlPlaneSubnets are the names of already existing subnets where the cluster control plane nodes should be created.MachinePoolgetDefaultMachinePlatform()Platform stores all the global configuration that all machinesets use.StringgetNetworkResourceGroupName()NetworkResourceGroupName is the name of an already existing resource group where an existing VPC and set of Subnets exist, to be used during cluster creation.StringgetRegion()Region specifies the IBM Cloud region where the cluster will be created.StringgetResourceGroupName()ResourceGroupName is the name of an already existing resource group where the cluster should be installed.List<io.fabric8.openshift.api.model.config.v1.IBMCloudServiceEndpoint>getServiceEndpoints()ServiceEndpoints is a list which contains custom endpoints to override default service endpoints of IBM Cloud Services.StringgetVpcName()VPCName is the name of an already existing VPC to be used during cluster creation.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetComputeSubnets(List<String> computeSubnets)ComputeSubnets are the names of already existing subnets where the cluster compute nodes should be created.voidsetControlPlaneSubnets(List<String> controlPlaneSubnets)ControlPlaneSubnets are the names of already existing subnets where the cluster control plane nodes should be created.voidsetDefaultMachinePlatform(MachinePool defaultMachinePlatform)Platform stores all the global configuration that all machinesets use.voidsetNetworkResourceGroupName(String networkResourceGroupName)NetworkResourceGroupName is the name of an already existing resource group where an existing VPC and set of Subnets exist, to be used during cluster creation.voidsetRegion(String region)Region specifies the IBM Cloud region where the cluster will be created.voidsetResourceGroupName(String resourceGroupName)ResourceGroupName is the name of an already existing resource group where the cluster should be installed.voidsetServiceEndpoints(List<io.fabric8.openshift.api.model.config.v1.IBMCloudServiceEndpoint> serviceEndpoints)ServiceEndpoints is a list which contains custom endpoints to override default service endpoints of IBM Cloud Services.voidsetVpcName(String vpcName)VPCName is the name of an already existing VPC to be used during cluster creation.PlatformBuildertoBuilder()
-
-
-
Constructor Detail
-
Platform
public Platform()
No args constructor for use in serialization
-
Platform
public Platform(List<String> computeSubnets, List<String> controlPlaneSubnets, MachinePool defaultMachinePlatform, String networkResourceGroupName, String region, String resourceGroupName, List<io.fabric8.openshift.api.model.config.v1.IBMCloudServiceEndpoint> serviceEndpoints, String vpcName)
-
-
Method Detail
-
getComputeSubnets
public List<String> getComputeSubnets()
ComputeSubnets are the names of already existing subnets where the cluster compute nodes should be created.
-
setComputeSubnets
public void setComputeSubnets(List<String> computeSubnets)
ComputeSubnets are the names of already existing subnets where the cluster compute nodes should be created.
-
getControlPlaneSubnets
public List<String> getControlPlaneSubnets()
ControlPlaneSubnets are the names of already existing subnets where the cluster control plane nodes should be created.
-
setControlPlaneSubnets
public void setControlPlaneSubnets(List<String> controlPlaneSubnets)
ControlPlaneSubnets are the names of already existing subnets where the cluster control plane nodes should be created.
-
getDefaultMachinePlatform
public MachinePool getDefaultMachinePlatform()
Platform stores all the global configuration that all machinesets use.
-
setDefaultMachinePlatform
public void setDefaultMachinePlatform(MachinePool defaultMachinePlatform)
Platform stores all the global configuration that all machinesets use.
-
getNetworkResourceGroupName
public String getNetworkResourceGroupName()
NetworkResourceGroupName is the name of an already existing resource group where an existing VPC and set of Subnets exist, to be used during cluster creation.
-
setNetworkResourceGroupName
public void setNetworkResourceGroupName(String networkResourceGroupName)
NetworkResourceGroupName is the name of an already existing resource group where an existing VPC and set of Subnets exist, to be used during cluster creation.
-
getRegion
public String getRegion()
Region specifies the IBM Cloud region where the cluster will be created.
-
setRegion
public void setRegion(String region)
Region specifies the IBM Cloud region where the cluster will be created.
-
getResourceGroupName
public String getResourceGroupName()
ResourceGroupName is the name of an already existing resource group where the cluster should be installed. If empty, a new resource group will be created for the cluster.
-
setResourceGroupName
public void setResourceGroupName(String resourceGroupName)
ResourceGroupName is the name of an already existing resource group where the cluster should be installed. If empty, a new resource group will be created for the cluster.
-
getServiceEndpoints
public List<io.fabric8.openshift.api.model.config.v1.IBMCloudServiceEndpoint> getServiceEndpoints()
ServiceEndpoints is a list which contains custom endpoints to override default service endpoints of IBM Cloud Services. There must only be one ServiceEndpoint for a service (no duplicates).
-
setServiceEndpoints
public void setServiceEndpoints(List<io.fabric8.openshift.api.model.config.v1.IBMCloudServiceEndpoint> serviceEndpoints)
ServiceEndpoints is a list which contains custom endpoints to override default service endpoints of IBM Cloud Services. There must only be one ServiceEndpoint for a service (no duplicates).
-
getVpcName
public String getVpcName()
VPCName is the name of an already existing VPC to be used during cluster creation.
-
setVpcName
public void setVpcName(String vpcName)
VPCName is the name of an already existing VPC to be used during cluster creation.
-
edit
public PlatformBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<PlatformBuilder>
-
toBuilder
public PlatformBuilder toBuilder()
-
-