@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateClusterRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateClusterRequest() |
Modifier and Type | Method and Description |
---|---|
CreateClusterRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateClusterRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateClusterRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
CreateAccessConfigRequest |
getAccessConfig()
The access configuration for the cluster.
|
Boolean |
getBootstrapSelfManagedAddons()
If you set this value to
False when creating a cluster, the default networking add-ons will not be
installed. |
String |
getClientRequestToken()
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
List<EncryptionConfig> |
getEncryptionConfig()
The encryption configuration for the cluster.
|
KubernetesNetworkConfigRequest |
getKubernetesNetworkConfig()
The Kubernetes network configuration for the cluster.
|
Logging |
getLogging()
Enable or disable exporting the Kubernetes control plane logs for your cluster to CloudWatch Logs.
|
String |
getName()
The unique name to give to your cluster.
|
OutpostConfigRequest |
getOutpostConfig()
An object representing the configuration of your local Amazon EKS cluster on an Amazon Web Services Outpost.
|
VpcConfigRequest |
getResourcesVpcConfig()
The VPC configuration that's used by the cluster control plane.
|
String |
getRoleArn()
The Amazon Resource Name (ARN) of the IAM role that provides permissions for the Kubernetes control plane to make
calls to Amazon Web Services API operations on your behalf.
|
Map<String,String> |
getTags()
Metadata that assists with categorization and organization.
|
UpgradePolicyRequest |
getUpgradePolicy()
New clusters, by default, have extended support enabled.
|
String |
getVersion()
The desired Kubernetes version for your cluster.
|
int |
hashCode() |
Boolean |
isBootstrapSelfManagedAddons()
If you set this value to
False when creating a cluster, the default networking add-ons will not be
installed. |
void |
setAccessConfig(CreateAccessConfigRequest accessConfig)
The access configuration for the cluster.
|
void |
setBootstrapSelfManagedAddons(Boolean bootstrapSelfManagedAddons)
If you set this value to
False when creating a cluster, the default networking add-ons will not be
installed. |
void |
setClientRequestToken(String clientRequestToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
void |
setEncryptionConfig(Collection<EncryptionConfig> encryptionConfig)
The encryption configuration for the cluster.
|
void |
setKubernetesNetworkConfig(KubernetesNetworkConfigRequest kubernetesNetworkConfig)
The Kubernetes network configuration for the cluster.
|
void |
setLogging(Logging logging)
Enable or disable exporting the Kubernetes control plane logs for your cluster to CloudWatch Logs.
|
void |
setName(String name)
The unique name to give to your cluster.
|
void |
setOutpostConfig(OutpostConfigRequest outpostConfig)
An object representing the configuration of your local Amazon EKS cluster on an Amazon Web Services Outpost.
|
void |
setResourcesVpcConfig(VpcConfigRequest resourcesVpcConfig)
The VPC configuration that's used by the cluster control plane.
|
void |
setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM role that provides permissions for the Kubernetes control plane to make
calls to Amazon Web Services API operations on your behalf.
|
void |
setTags(Map<String,String> tags)
Metadata that assists with categorization and organization.
|
void |
setUpgradePolicy(UpgradePolicyRequest upgradePolicy)
New clusters, by default, have extended support enabled.
|
void |
setVersion(String version)
The desired Kubernetes version for your cluster.
|
String |
toString()
Returns a string representation of this object.
|
CreateClusterRequest |
withAccessConfig(CreateAccessConfigRequest accessConfig)
The access configuration for the cluster.
|
CreateClusterRequest |
withBootstrapSelfManagedAddons(Boolean bootstrapSelfManagedAddons)
If you set this value to
False when creating a cluster, the default networking add-ons will not be
installed. |
CreateClusterRequest |
withClientRequestToken(String clientRequestToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
CreateClusterRequest |
withEncryptionConfig(Collection<EncryptionConfig> encryptionConfig)
The encryption configuration for the cluster.
|
CreateClusterRequest |
withEncryptionConfig(EncryptionConfig... encryptionConfig)
The encryption configuration for the cluster.
|
CreateClusterRequest |
withKubernetesNetworkConfig(KubernetesNetworkConfigRequest kubernetesNetworkConfig)
The Kubernetes network configuration for the cluster.
|
CreateClusterRequest |
withLogging(Logging logging)
Enable or disable exporting the Kubernetes control plane logs for your cluster to CloudWatch Logs.
|
CreateClusterRequest |
withName(String name)
The unique name to give to your cluster.
|
CreateClusterRequest |
withOutpostConfig(OutpostConfigRequest outpostConfig)
An object representing the configuration of your local Amazon EKS cluster on an Amazon Web Services Outpost.
|
CreateClusterRequest |
withResourcesVpcConfig(VpcConfigRequest resourcesVpcConfig)
The VPC configuration that's used by the cluster control plane.
|
CreateClusterRequest |
withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM role that provides permissions for the Kubernetes control plane to make
calls to Amazon Web Services API operations on your behalf.
|
CreateClusterRequest |
withTags(Map<String,String> tags)
Metadata that assists with categorization and organization.
|
CreateClusterRequest |
withUpgradePolicy(UpgradePolicyRequest upgradePolicy)
New clusters, by default, have extended support enabled.
|
CreateClusterRequest |
withVersion(String version)
The desired Kubernetes version for your cluster.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setName(String name)
The unique name to give to your cluster.
name
- The unique name to give to your cluster.public String getName()
The unique name to give to your cluster.
public CreateClusterRequest withName(String name)
The unique name to give to your cluster.
name
- The unique name to give to your cluster.public void setVersion(String version)
The desired Kubernetes version for your cluster. If you don't specify a value here, the default version available in Amazon EKS is used.
The default version might not be the latest version available.
version
- The desired Kubernetes version for your cluster. If you don't specify a value here, the default version
available in Amazon EKS is used. The default version might not be the latest version available.
public String getVersion()
The desired Kubernetes version for your cluster. If you don't specify a value here, the default version available in Amazon EKS is used.
The default version might not be the latest version available.
The default version might not be the latest version available.
public CreateClusterRequest withVersion(String version)
The desired Kubernetes version for your cluster. If you don't specify a value here, the default version available in Amazon EKS is used.
The default version might not be the latest version available.
version
- The desired Kubernetes version for your cluster. If you don't specify a value here, the default version
available in Amazon EKS is used. The default version might not be the latest version available.
public void setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM role that provides permissions for the Kubernetes control plane to make calls to Amazon Web Services API operations on your behalf. For more information, see Amazon EKS Service IAM Role in the Amazon EKS User Guide .
roleArn
- The Amazon Resource Name (ARN) of the IAM role that provides permissions for the Kubernetes control plane
to make calls to Amazon Web Services API operations on your behalf. For more information, see Amazon EKS Service IAM
Role in the Amazon EKS User Guide .public String getRoleArn()
The Amazon Resource Name (ARN) of the IAM role that provides permissions for the Kubernetes control plane to make calls to Amazon Web Services API operations on your behalf. For more information, see Amazon EKS Service IAM Role in the Amazon EKS User Guide .
public CreateClusterRequest withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM role that provides permissions for the Kubernetes control plane to make calls to Amazon Web Services API operations on your behalf. For more information, see Amazon EKS Service IAM Role in the Amazon EKS User Guide .
roleArn
- The Amazon Resource Name (ARN) of the IAM role that provides permissions for the Kubernetes control plane
to make calls to Amazon Web Services API operations on your behalf. For more information, see Amazon EKS Service IAM
Role in the Amazon EKS User Guide .public void setResourcesVpcConfig(VpcConfigRequest resourcesVpcConfig)
The VPC configuration that's used by the cluster control plane. Amazon EKS VPC resources have specific requirements to work properly with Kubernetes. For more information, see Cluster VPC Considerations and Cluster Security Group Considerations in the Amazon EKS User Guide. You must specify at least two subnets. You can specify up to five security groups. However, we recommend that you use a dedicated security group for your cluster control plane.
resourcesVpcConfig
- The VPC configuration that's used by the cluster control plane. Amazon EKS VPC resources have specific
requirements to work properly with Kubernetes. For more information, see Cluster VPC Considerations
and Cluster Security Group
Considerations in the Amazon EKS User Guide. You must specify at least two subnets. You can
specify up to five security groups. However, we recommend that you use a dedicated security group for your
cluster control plane.public VpcConfigRequest getResourcesVpcConfig()
The VPC configuration that's used by the cluster control plane. Amazon EKS VPC resources have specific requirements to work properly with Kubernetes. For more information, see Cluster VPC Considerations and Cluster Security Group Considerations in the Amazon EKS User Guide. You must specify at least two subnets. You can specify up to five security groups. However, we recommend that you use a dedicated security group for your cluster control plane.
public CreateClusterRequest withResourcesVpcConfig(VpcConfigRequest resourcesVpcConfig)
The VPC configuration that's used by the cluster control plane. Amazon EKS VPC resources have specific requirements to work properly with Kubernetes. For more information, see Cluster VPC Considerations and Cluster Security Group Considerations in the Amazon EKS User Guide. You must specify at least two subnets. You can specify up to five security groups. However, we recommend that you use a dedicated security group for your cluster control plane.
resourcesVpcConfig
- The VPC configuration that's used by the cluster control plane. Amazon EKS VPC resources have specific
requirements to work properly with Kubernetes. For more information, see Cluster VPC Considerations
and Cluster Security Group
Considerations in the Amazon EKS User Guide. You must specify at least two subnets. You can
specify up to five security groups. However, we recommend that you use a dedicated security group for your
cluster control plane.public void setKubernetesNetworkConfig(KubernetesNetworkConfigRequest kubernetesNetworkConfig)
The Kubernetes network configuration for the cluster.
kubernetesNetworkConfig
- The Kubernetes network configuration for the cluster.public KubernetesNetworkConfigRequest getKubernetesNetworkConfig()
The Kubernetes network configuration for the cluster.
public CreateClusterRequest withKubernetesNetworkConfig(KubernetesNetworkConfigRequest kubernetesNetworkConfig)
The Kubernetes network configuration for the cluster.
kubernetesNetworkConfig
- The Kubernetes network configuration for the cluster.public void setLogging(Logging logging)
Enable or disable exporting the Kubernetes control plane logs for your cluster to CloudWatch Logs. By default, cluster control plane logs aren't exported to CloudWatch Logs. For more information, see Amazon EKS Cluster control plane logs in the Amazon EKS User Guide .
CloudWatch Logs ingestion, archive storage, and data scanning rates apply to exported control plane logs. For more information, see CloudWatch Pricing.
logging
- Enable or disable exporting the Kubernetes control plane logs for your cluster to CloudWatch Logs. By
default, cluster control plane logs aren't exported to CloudWatch Logs. For more information, see Amazon EKS Cluster control
plane logs in the Amazon EKS User Guide . CloudWatch Logs ingestion, archive storage, and data scanning rates apply to exported control plane logs. For more information, see CloudWatch Pricing.
public Logging getLogging()
Enable or disable exporting the Kubernetes control plane logs for your cluster to CloudWatch Logs. By default, cluster control plane logs aren't exported to CloudWatch Logs. For more information, see Amazon EKS Cluster control plane logs in the Amazon EKS User Guide .
CloudWatch Logs ingestion, archive storage, and data scanning rates apply to exported control plane logs. For more information, see CloudWatch Pricing.
CloudWatch Logs ingestion, archive storage, and data scanning rates apply to exported control plane logs. For more information, see CloudWatch Pricing.
public CreateClusterRequest withLogging(Logging logging)
Enable or disable exporting the Kubernetes control plane logs for your cluster to CloudWatch Logs. By default, cluster control plane logs aren't exported to CloudWatch Logs. For more information, see Amazon EKS Cluster control plane logs in the Amazon EKS User Guide .
CloudWatch Logs ingestion, archive storage, and data scanning rates apply to exported control plane logs. For more information, see CloudWatch Pricing.
logging
- Enable or disable exporting the Kubernetes control plane logs for your cluster to CloudWatch Logs. By
default, cluster control plane logs aren't exported to CloudWatch Logs. For more information, see Amazon EKS Cluster control
plane logs in the Amazon EKS User Guide . CloudWatch Logs ingestion, archive storage, and data scanning rates apply to exported control plane logs. For more information, see CloudWatch Pricing.
public void setClientRequestToken(String clientRequestToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
clientRequestToken
- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.public String getClientRequestToken()
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
public CreateClusterRequest withClientRequestToken(String clientRequestToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
clientRequestToken
- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.public Map<String,String> getTags()
Metadata that assists with categorization and organization. Each tag consists of a key and an optional value. You define both. Tags don't propagate to any other cluster or Amazon Web Services resources.
public void setTags(Map<String,String> tags)
Metadata that assists with categorization and organization. Each tag consists of a key and an optional value. You define both. Tags don't propagate to any other cluster or Amazon Web Services resources.
tags
- Metadata that assists with categorization and organization. Each tag consists of a key and an optional
value. You define both. Tags don't propagate to any other cluster or Amazon Web Services resources.public CreateClusterRequest withTags(Map<String,String> tags)
Metadata that assists with categorization and organization. Each tag consists of a key and an optional value. You define both. Tags don't propagate to any other cluster or Amazon Web Services resources.
tags
- Metadata that assists with categorization and organization. Each tag consists of a key and an optional
value. You define both. Tags don't propagate to any other cluster or Amazon Web Services resources.public CreateClusterRequest addTagsEntry(String key, String value)
public CreateClusterRequest clearTagsEntries()
public List<EncryptionConfig> getEncryptionConfig()
The encryption configuration for the cluster.
public void setEncryptionConfig(Collection<EncryptionConfig> encryptionConfig)
The encryption configuration for the cluster.
encryptionConfig
- The encryption configuration for the cluster.public CreateClusterRequest withEncryptionConfig(EncryptionConfig... encryptionConfig)
The encryption configuration for the cluster.
NOTE: This method appends the values to the existing list (if any). Use
setEncryptionConfig(java.util.Collection)
or withEncryptionConfig(java.util.Collection)
if you
want to override the existing values.
encryptionConfig
- The encryption configuration for the cluster.public CreateClusterRequest withEncryptionConfig(Collection<EncryptionConfig> encryptionConfig)
The encryption configuration for the cluster.
encryptionConfig
- The encryption configuration for the cluster.public void setOutpostConfig(OutpostConfigRequest outpostConfig)
An object representing the configuration of your local Amazon EKS cluster on an Amazon Web Services Outpost. Before creating a local cluster on an Outpost, review Local clusters for Amazon EKS on Amazon Web Services Outposts in the Amazon EKS User Guide. This object isn't available for creating Amazon EKS clusters on the Amazon Web Services cloud.
outpostConfig
- An object representing the configuration of your local Amazon EKS cluster on an Amazon Web Services
Outpost. Before creating a local cluster on an Outpost, review Local
clusters for Amazon EKS on Amazon Web Services Outposts in the Amazon EKS User Guide. This
object isn't available for creating Amazon EKS clusters on the Amazon Web Services cloud.public OutpostConfigRequest getOutpostConfig()
An object representing the configuration of your local Amazon EKS cluster on an Amazon Web Services Outpost. Before creating a local cluster on an Outpost, review Local clusters for Amazon EKS on Amazon Web Services Outposts in the Amazon EKS User Guide. This object isn't available for creating Amazon EKS clusters on the Amazon Web Services cloud.
public CreateClusterRequest withOutpostConfig(OutpostConfigRequest outpostConfig)
An object representing the configuration of your local Amazon EKS cluster on an Amazon Web Services Outpost. Before creating a local cluster on an Outpost, review Local clusters for Amazon EKS on Amazon Web Services Outposts in the Amazon EKS User Guide. This object isn't available for creating Amazon EKS clusters on the Amazon Web Services cloud.
outpostConfig
- An object representing the configuration of your local Amazon EKS cluster on an Amazon Web Services
Outpost. Before creating a local cluster on an Outpost, review Local
clusters for Amazon EKS on Amazon Web Services Outposts in the Amazon EKS User Guide. This
object isn't available for creating Amazon EKS clusters on the Amazon Web Services cloud.public void setAccessConfig(CreateAccessConfigRequest accessConfig)
The access configuration for the cluster.
accessConfig
- The access configuration for the cluster.public CreateAccessConfigRequest getAccessConfig()
The access configuration for the cluster.
public CreateClusterRequest withAccessConfig(CreateAccessConfigRequest accessConfig)
The access configuration for the cluster.
accessConfig
- The access configuration for the cluster.public void setBootstrapSelfManagedAddons(Boolean bootstrapSelfManagedAddons)
If you set this value to False
when creating a cluster, the default networking add-ons will not be
installed.
The default networking addons include vpc-cni, coredns, and kube-proxy.
Use this option when you plan to install third-party alternative add-ons or self-manage the default networking add-ons.
bootstrapSelfManagedAddons
- If you set this value to False
when creating a cluster, the default networking add-ons will
not be installed.
The default networking addons include vpc-cni, coredns, and kube-proxy.
Use this option when you plan to install third-party alternative add-ons or self-manage the default networking add-ons.
public Boolean getBootstrapSelfManagedAddons()
If you set this value to False
when creating a cluster, the default networking add-ons will not be
installed.
The default networking addons include vpc-cni, coredns, and kube-proxy.
Use this option when you plan to install third-party alternative add-ons or self-manage the default networking add-ons.
False
when creating a cluster, the default networking add-ons will
not be installed.
The default networking addons include vpc-cni, coredns, and kube-proxy.
Use this option when you plan to install third-party alternative add-ons or self-manage the default networking add-ons.
public CreateClusterRequest withBootstrapSelfManagedAddons(Boolean bootstrapSelfManagedAddons)
If you set this value to False
when creating a cluster, the default networking add-ons will not be
installed.
The default networking addons include vpc-cni, coredns, and kube-proxy.
Use this option when you plan to install third-party alternative add-ons or self-manage the default networking add-ons.
bootstrapSelfManagedAddons
- If you set this value to False
when creating a cluster, the default networking add-ons will
not be installed.
The default networking addons include vpc-cni, coredns, and kube-proxy.
Use this option when you plan to install third-party alternative add-ons or self-manage the default networking add-ons.
public Boolean isBootstrapSelfManagedAddons()
If you set this value to False
when creating a cluster, the default networking add-ons will not be
installed.
The default networking addons include vpc-cni, coredns, and kube-proxy.
Use this option when you plan to install third-party alternative add-ons or self-manage the default networking add-ons.
False
when creating a cluster, the default networking add-ons will
not be installed.
The default networking addons include vpc-cni, coredns, and kube-proxy.
Use this option when you plan to install third-party alternative add-ons or self-manage the default networking add-ons.
public void setUpgradePolicy(UpgradePolicyRequest upgradePolicy)
New clusters, by default, have extended support enabled. You can disable extended support when creating a cluster
by setting this value to STANDARD
.
upgradePolicy
- New clusters, by default, have extended support enabled. You can disable extended support when creating a
cluster by setting this value to STANDARD
.public UpgradePolicyRequest getUpgradePolicy()
New clusters, by default, have extended support enabled. You can disable extended support when creating a cluster
by setting this value to STANDARD
.
STANDARD
.public CreateClusterRequest withUpgradePolicy(UpgradePolicyRequest upgradePolicy)
New clusters, by default, have extended support enabled. You can disable extended support when creating a cluster
by setting this value to STANDARD
.
upgradePolicy
- New clusters, by default, have extended support enabled. You can disable extended support when creating a
cluster by setting this value to STANDARD
.public String toString()
toString
in class Object
Object.toString()
public CreateClusterRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()