@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 that you provide to ensure the idempotency of the request.
|
Instant |
createdAt()
The Unix epoch timestamp in seconds for when the cluster was created.
|
String |
endpoint()
The endpoint for your Kubernetes API server.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Logging |
logging()
The logging configuration for your cluster.
|
String |
name()
The name of the cluster.
|
String |
platformVersion()
The platform version of your Amazon EKS cluster.
|
VpcConfigResponse |
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 Cluster.Builder> |
serializableBuilderClass() |
ClusterStatus |
status()
The current status of the cluster.
|
String |
statusAsString()
The current status of the cluster.
|
Cluster.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
version()
The Kubernetes server version for the cluster.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String name()
The name of the cluster.
public String arn()
The Amazon Resource Name (ARN) of the cluster.
public Instant createdAt()
The Unix epoch timestamp 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 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.
public Logging logging()
The logging configuration for your cluster.
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().
ClusterStatuspublic 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().
ClusterStatuspublic Certificate certificateAuthority()
The certificate-authority-data for your cluster.
certificate-authority-data for your cluster.public String clientRequestToken()
Unique, case-sensitive identifier that 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()
toBuilder in interface ToCopyableBuilder<Cluster.Builder,Cluster>public static Cluster.Builder builder()
public static Class<? extends Cluster.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2019. All rights reserved.