@Generated(value="software.amazon.awssdk:codegen") public final class Cluster extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Cluster.Builder,Cluster>
An object representing an Amazon EKS cluster.
Modifier and Type | Class and Description |
---|---|
static interface |
Cluster.Builder |
Modifier and Type | Method and Description |
---|---|
String |
arn()
The Amazon Resource Name (ARN) of the cluster.
|
static Cluster.Builder |
builder() |
Certificate |
certificateAuthority()
The
certificate-authority-data for your cluster. |
String |
clientRequestToken()
Unique, case-sensitive identifier you provide to ensure the idempotency of the request.
|
Instant |
createdAt()
The Unix epoch time stamp in seconds for when the cluster was created.
|
String |
endpoint()
The endpoint for your Kubernetes API server.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
The name of the cluster.
|
String |
platformVersion()
The platform version of your Amazon EKS cluster.
|
VpcConfigResponse |
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 the Kubernetes control plane to make
calls to AWS API operations on your behalf.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Cluster.Builder> |
serializableBuilderClass() |
ClusterStatus |
status()
The current status of the cluster.
|
String |
statusAsString()
The current status of the cluster.
|
Cluster.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 Kubernetes server version for the cluster.
|
copy
public String name()
The name of the cluster.
public String arn()
The Amazon Resource Name (ARN) of the cluster.
public Instant createdAt()
The Unix epoch time stamp in seconds for when the cluster was created.
public String version()
The Kubernetes server version for the cluster.
public String endpoint()
The endpoint for your Kubernetes API server.
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.
public VpcConfigResponse 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.
public ClusterStatus status()
The current status of the cluster.
If the service returns an enum value that is not available in the current SDK version, status
will
return ClusterStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
statusAsString()
.
ClusterStatus
public String statusAsString()
The current status of the cluster.
If the service returns an enum value that is not available in the current SDK version, status
will
return ClusterStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
statusAsString()
.
ClusterStatus
public Certificate certificateAuthority()
The certificate-authority-data
for your cluster.
certificate-authority-data
for your cluster.public String clientRequestToken()
Unique, case-sensitive identifier you provide to ensure the idempotency of the request.
public String platformVersion()
The platform version of your Amazon EKS cluster. For more information, see Platform Versions in the Amazon EKS User Guide .
public Cluster.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Cluster.Builder,Cluster>
public static Cluster.Builder builder()
public static Class<? extends Cluster.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.