Class MachinePoolPlatform
- java.lang.Object
-
- io.fabric8.openshift.api.model.hive.aws.v1.MachinePoolPlatform
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<MachinePoolPlatformBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class MachinePoolPlatform extends Object implements io.fabric8.kubernetes.api.builder.Editable<MachinePoolPlatformBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
MachinePoolPlatform stores the configuration for a machine pool installed on AWS.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MachinePoolPlatform()No args constructor for use in serializationMachinePoolPlatform(List<String> additionalSecurityGroupIDs, EC2Metadata metadataService, EC2RootVolume rootVolume, SpotMarketOptions spotMarketOptions, List<String> subnets, String type, Map<String,String> userTags, List<String> zones)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MachinePoolPlatformBuilderedit()Map<String,Object>getAdditionalProperties()List<String>getAdditionalSecurityGroupIDs()AdditionalSecurityGroupIDs contains IDs of additional security groups for machines, where each ID is presented in the format sg-xxxx.EC2MetadatagetMetadataService()MachinePoolPlatform stores the configuration for a machine pool installed on AWS.EC2RootVolumegetRootVolume()MachinePoolPlatform stores the configuration for a machine pool installed on AWS.SpotMarketOptionsgetSpotMarketOptions()MachinePoolPlatform stores the configuration for a machine pool installed on AWS.List<String>getSubnets()Subnets is the list of IDs of subnets to which to attach the machines.StringgetType()InstanceType defines the ec2 instance type. eg. m4-largeMap<String,String>getUserTags()UserTags contains the user defined tags to be supplied for the ec2 instance.List<String>getZones()Zones is list of availability zones that can be used.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetAdditionalSecurityGroupIDs(List<String> additionalSecurityGroupIDs)AdditionalSecurityGroupIDs contains IDs of additional security groups for machines, where each ID is presented in the format sg-xxxx.voidsetMetadataService(EC2Metadata metadataService)MachinePoolPlatform stores the configuration for a machine pool installed on AWS.voidsetRootVolume(EC2RootVolume rootVolume)MachinePoolPlatform stores the configuration for a machine pool installed on AWS.voidsetSpotMarketOptions(SpotMarketOptions spotMarketOptions)MachinePoolPlatform stores the configuration for a machine pool installed on AWS.voidsetSubnets(List<String> subnets)Subnets is the list of IDs of subnets to which to attach the machines.voidsetType(String type)InstanceType defines the ec2 instance type. eg. m4-largevoidsetUserTags(Map<String,String> userTags)UserTags contains the user defined tags to be supplied for the ec2 instance.voidsetZones(List<String> zones)Zones is list of availability zones that can be used.MachinePoolPlatformBuildertoBuilder()
-
-
-
Constructor Detail
-
MachinePoolPlatform
public MachinePoolPlatform()
No args constructor for use in serialization
-
MachinePoolPlatform
public MachinePoolPlatform(List<String> additionalSecurityGroupIDs, EC2Metadata metadataService, EC2RootVolume rootVolume, SpotMarketOptions spotMarketOptions, List<String> subnets, String type, Map<String,String> userTags, List<String> zones)
-
-
Method Detail
-
getAdditionalSecurityGroupIDs
public List<String> getAdditionalSecurityGroupIDs()
AdditionalSecurityGroupIDs contains IDs of additional security groups for machines, where each ID is presented in the format sg-xxxx.
-
setAdditionalSecurityGroupIDs
public void setAdditionalSecurityGroupIDs(List<String> additionalSecurityGroupIDs)
AdditionalSecurityGroupIDs contains IDs of additional security groups for machines, where each ID is presented in the format sg-xxxx.
-
getMetadataService
public EC2Metadata getMetadataService()
MachinePoolPlatform stores the configuration for a machine pool installed on AWS.
-
setMetadataService
public void setMetadataService(EC2Metadata metadataService)
MachinePoolPlatform stores the configuration for a machine pool installed on AWS.
-
getRootVolume
public EC2RootVolume getRootVolume()
MachinePoolPlatform stores the configuration for a machine pool installed on AWS.
-
setRootVolume
public void setRootVolume(EC2RootVolume rootVolume)
MachinePoolPlatform stores the configuration for a machine pool installed on AWS.
-
getSpotMarketOptions
public SpotMarketOptions getSpotMarketOptions()
MachinePoolPlatform stores the configuration for a machine pool installed on AWS.
-
setSpotMarketOptions
public void setSpotMarketOptions(SpotMarketOptions spotMarketOptions)
MachinePoolPlatform stores the configuration for a machine pool installed on AWS.
-
getSubnets
public List<String> getSubnets()
Subnets is the list of IDs of subnets to which to attach the machines. There must be exactly one subnet for each availability zone used. These subnets may be public or private. As a special case, for consistency with install-config, you may specify exactly one private and one public subnet for each availability zone. In this case, the public subnets will be filtered out and only the private subnets will be used. If empty/omitted, we will look for subnets in each availability zone tagged with Name=<clusterID>-private-<az> (legacy terraform) or <clusterID>-subnet-private-<az> (CAPA).
-
setSubnets
public void setSubnets(List<String> subnets)
Subnets is the list of IDs of subnets to which to attach the machines. There must be exactly one subnet for each availability zone used. These subnets may be public or private. As a special case, for consistency with install-config, you may specify exactly one private and one public subnet for each availability zone. In this case, the public subnets will be filtered out and only the private subnets will be used. If empty/omitted, we will look for subnets in each availability zone tagged with Name=<clusterID>-private-<az> (legacy terraform) or <clusterID>-subnet-private-<az> (CAPA).
-
getType
public String getType()
InstanceType defines the ec2 instance type. eg. m4-large
-
setType
public void setType(String type)
InstanceType defines the ec2 instance type. eg. m4-large
-
getUserTags
public Map<String,String> getUserTags()
UserTags contains the user defined tags to be supplied for the ec2 instance. Note that these will be merged with ClusterDeployment.Spec.Platform.AWS.UserTags, with this field taking precedence when keys collide.
-
setUserTags
public void setUserTags(Map<String,String> userTags)
UserTags contains the user defined tags to be supplied for the ec2 instance. Note that these will be merged with ClusterDeployment.Spec.Platform.AWS.UserTags, with this field taking precedence when keys collide.
-
setZones
public void setZones(List<String> zones)
Zones is list of availability zones that can be used.
-
edit
public MachinePoolPlatformBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<MachinePoolPlatformBuilder>
-
toBuilder
public MachinePoolPlatformBuilder toBuilder()
-
-