@Generated(value="software.amazon.awssdk:codegen") public final class CreateClusterRequest extends EksRequest implements ToCopyableBuilder<CreateClusterRequest.Builder,CreateClusterRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateClusterRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CreateClusterRequest.Builder |
builder() |
String |
clientRequestToken()
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
List<EncryptionConfig> |
encryptionConfig()
The encryption configuration for the cluster.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasEncryptionConfig()
Returns true if the EncryptionConfig property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
int |
hashCode() |
boolean |
hasTags()
Returns true if the Tags property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
KubernetesNetworkConfigRequest |
kubernetesNetworkConfig()
The Kubernetes network configuration for the cluster.
|
Logging |
logging()
Enable or disable exporting the Kubernetes control plane logs for your cluster to CloudWatch Logs.
|
String |
name()
The unique name to give to your cluster.
|
VpcConfigRequest |
resourcesVpcConfig()
The VPC configuration used by the cluster control plane.
|
String |
roleArn()
The Amazon Resource Name (ARN) of the IAM role that provides permissions for the Kubernetes control plane to make
calls to AWS API operations on your behalf.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateClusterRequest.Builder> |
serializableBuilderClass() |
Map<String,String> |
tags()
The metadata to apply to the cluster to assist with categorization and organization.
|
CreateClusterRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
version()
The desired Kubernetes version for your cluster.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String name()
The unique name to give to your cluster.
public 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.
public String roleArn()
The Amazon Resource Name (ARN) of the IAM role that provides permissions for the Kubernetes control plane to make calls to AWS API operations on your behalf. For more information, see Amazon EKS Service IAM Role in the Amazon EKS User Guide .
public 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.
public KubernetesNetworkConfigRequest kubernetesNetworkConfig()
The Kubernetes network configuration for the cluster.
public 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 Amazon CloudWatch Pricing.
CloudWatch Logs ingestion, archive storage, and data scanning rates apply to exported control plane logs. For more information, see Amazon CloudWatch Pricing.
public String clientRequestToken()
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
public boolean hasTags()
public 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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasTags() to see if a value was sent in this field.
public boolean hasEncryptionConfig()
public List<EncryptionConfig> encryptionConfig()
The encryption configuration for the cluster.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasEncryptionConfig() to see if a value was sent in this field.
public CreateClusterRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateClusterRequest.Builder,CreateClusterRequest>toBuilder in class EksRequestpublic static CreateClusterRequest.Builder builder()
public static Class<? extends CreateClusterRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2020. All rights reserved.