Class MachinePool
- java.lang.Object
-
- io.fabric8.openshift.api.model.installer.aws.v1.MachinePool
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<MachinePoolBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class MachinePool extends Object implements io.fabric8.kubernetes.api.builder.Editable<MachinePoolBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
MachinePool stores the configuration for a machine pool installed on AWS.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MachinePool()No args constructor for use in serializationMachinePool(List<String> additionalSecurityGroupIDs, String amiID, String iamProfile, String iamRole, EC2Metadata metadataService, EC2RootVolume rootVolume, String type, List<String> zones)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MachinePoolBuilderedit()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.StringgetAmiID()AMIID is the AMI that should be used to boot the ec2 instance.StringgetIamProfile()IAMProfile is the name of the IAM instance profile to use for the machine.StringgetIamRole()IAMRole is the name of the IAM Role to use for the instance profile of the machine.EC2MetadatagetMetadataService()MachinePool stores the configuration for a machine pool installed on AWS.EC2RootVolumegetRootVolume()MachinePool stores the configuration for a machine pool installed on AWS.StringgetType()InstanceType defines the ec2 instance type. eg. m4-largeList<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.voidsetAmiID(String amiID)AMIID is the AMI that should be used to boot the ec2 instance.voidsetIamProfile(String iamProfile)IAMProfile is the name of the IAM instance profile to use for the machine.voidsetIamRole(String iamRole)IAMRole is the name of the IAM Role to use for the instance profile of the machine.voidsetMetadataService(EC2Metadata metadataService)MachinePool stores the configuration for a machine pool installed on AWS.voidsetRootVolume(EC2RootVolume rootVolume)MachinePool stores the configuration for a machine pool installed on AWS.voidsetType(String type)InstanceType defines the ec2 instance type. eg. m4-largevoidsetZones(List<String> zones)Zones is list of availability zones that can be used.MachinePoolBuildertoBuilder()
-
-
-
Constructor Detail
-
MachinePool
public MachinePool()
No args constructor for use in serialization
-
MachinePool
public MachinePool(List<String> additionalSecurityGroupIDs, String amiID, String iamProfile, String iamRole, EC2Metadata metadataService, EC2RootVolume rootVolume, String type, 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.
-
getAmiID
public String getAmiID()
AMIID is the AMI that should be used to boot the ec2 instance. If set, the AMI should belong to the same region as the cluster.
-
setAmiID
public void setAmiID(String amiID)
AMIID is the AMI that should be used to boot the ec2 instance. If set, the AMI should belong to the same region as the cluster.
-
getIamProfile
public String getIamProfile()
IAMProfile is the name of the IAM instance profile to use for the machine. Leave unset to have the installer create the IAM Profile on your behalf. Cannot be specified together with iamRole.
-
setIamProfile
public void setIamProfile(String iamProfile)
IAMProfile is the name of the IAM instance profile to use for the machine. Leave unset to have the installer create the IAM Profile on your behalf. Cannot be specified together with iamRole.
-
getIamRole
public String getIamRole()
IAMRole is the name of the IAM Role to use for the instance profile of the machine. Leave unset to have the installer create the IAM Role on your behalf. Cannot be specified together with iamProfile.
-
setIamRole
public void setIamRole(String iamRole)
IAMRole is the name of the IAM Role to use for the instance profile of the machine. Leave unset to have the installer create the IAM Role on your behalf. Cannot be specified together with iamProfile.
-
getMetadataService
public EC2Metadata getMetadataService()
MachinePool stores the configuration for a machine pool installed on AWS.
-
setMetadataService
public void setMetadataService(EC2Metadata metadataService)
MachinePool stores the configuration for a machine pool installed on AWS.
-
getRootVolume
public EC2RootVolume getRootVolume()
MachinePool stores the configuration for a machine pool installed on AWS.
-
setRootVolume
public void setRootVolume(EC2RootVolume rootVolume)
MachinePool stores the configuration for a machine pool installed on AWS.
-
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
-
setZones
public void setZones(List<String> zones)
Zones is list of availability zones that can be used.
-
edit
public MachinePoolBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<MachinePoolBuilder>
-
toBuilder
public MachinePoolBuilder toBuilder()
-
-