@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) |
String |
getClientRequestToken()
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.
|
VpcConfigRequest |
getResourcesVpcConfig()
The VPC configuration 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()
The metadata to apply to the cluster to assist with categorization and organization.
|
String |
getVersion()
The desired Kubernetes version for your cluster.
|
int |
hashCode() |
void |
setClientRequestToken(String clientRequestToken)
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 |
setResourcesVpcConfig(VpcConfigRequest resourcesVpcConfig)
The VPC configuration 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)
The metadata to apply to the cluster to assist with categorization and organization.
|
void |
setVersion(String version)
The desired Kubernetes version for your cluster.
|
String |
toString()
Returns a string representation of this object.
|
CreateClusterRequest |
withClientRequestToken(String clientRequestToken)
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 |
withResourcesVpcConfig(VpcConfigRequest resourcesVpcConfig)
The VPC configuration 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)
The metadata to apply to the cluster to assist with categorization and organization.
|
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 latest version available in Amazon EKS is used.
version
- The desired Kubernetes version for your cluster. If you don't specify a value here, the latest version
available in Amazon EKS is used.public String getVersion()
The desired Kubernetes version for your cluster. If you don't specify a value here, the latest version available in Amazon EKS is used.
public CreateClusterRequest withVersion(String version)
The desired Kubernetes version for your cluster. If you don't specify a value here, the latest version available in Amazon EKS is used.
version
- The desired Kubernetes version for your cluster. If you don't specify a value here, the latest version
available in Amazon EKS is used.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 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, but we recommend that you use a dedicated security group for your cluster control plane.
resourcesVpcConfig
- The VPC configuration 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, but we recommend that you use a dedicated security group for your
cluster control plane.public VpcConfigRequest getResourcesVpcConfig()
The VPC configuration 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, but we recommend that you use a dedicated security group for your cluster control plane.
public CreateClusterRequest withResourcesVpcConfig(VpcConfigRequest resourcesVpcConfig)
The VPC configuration 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, but we recommend that you use a dedicated security group for your cluster control plane.
resourcesVpcConfig
- The VPC configuration 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, but 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)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
clientRequestToken
- Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.public String getClientRequestToken()
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
public CreateClusterRequest withClientRequestToken(String clientRequestToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
clientRequestToken
- Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.public Map<String,String> getTags()
The metadata to apply to the cluster to assist with categorization and organization. Each tag consists of a key and an optional value, both of which you define.
public void setTags(Map<String,String> tags)
The metadata to apply to the cluster to assist with categorization and organization. Each tag consists of a key and an optional value, both of which you define.
tags
- The metadata to apply to the cluster to assist with categorization and organization. Each tag consists of
a key and an optional value, both of which you define.public CreateClusterRequest withTags(Map<String,String> tags)
The metadata to apply to the cluster to assist with categorization and organization. Each tag consists of a key and an optional value, both of which you define.
tags
- The metadata to apply to the cluster to assist with categorization and organization. Each tag consists of
a key and an optional value, both of which you define.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 String toString()
toString
in class Object
Object.toString()
public CreateClusterRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()