@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 you provide to ensure the idempotency of the request.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
String |
name()
The unique name to give to your cluster.
|
VpcConfigRequest |
resourcesVpcConfig()
The VPC subnets and security groups used by the cluster control plane.
|
String |
roleArn()
The Amazon Resource Name (ARN) of the IAM role that provides permissions for Amazon EKS to make calls to other
AWS API operations on your behalf.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateClusterRequest.Builder> |
serializableBuilderClass() |
CreateClusterRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
version()
The desired Kubernetes version for your cluster.
|
overrideConfiguration
copy
public String name()
The unique name to give to your cluster.
public String version()
The desired Kubernetes version for your cluster. If you do not 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 Amazon EKS to make calls to other 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 subnets and security groups 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 may specify up to 5 security groups, but we recommend that you use a dedicated security group for your cluster control plane.
public String clientRequestToken()
Unique, case-sensitive identifier you provide to ensure the idempotency of the request.
public CreateClusterRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CreateClusterRequest.Builder,CreateClusterRequest>
toBuilder
in class EksRequest
public static CreateClusterRequest.Builder builder()
public static Class<? extends CreateClusterRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.