@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.
|
List<EncryptionConfig> |
encryptionConfig()
The encryption configuration for the cluster.
|
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) |
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).
|
Identity |
identity()
The identity provider information for the cluster.
|
KubernetesNetworkConfigResponse |
kubernetesNetworkConfig()
The Kubernetes network configuration for the cluster.
|
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 Amazon Web Services 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.
|
Map<String,String> |
tags()
The metadata that you apply to the cluster to assist with categorization and organization.
|
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 final String name()
The name of the cluster.
public final String arn()
The Amazon Resource Name (ARN) of the cluster.
public final Instant createdAt()
The Unix epoch timestamp in seconds for when the cluster was created.
public final String version()
The Kubernetes server version for the cluster.
public final String endpoint()
The endpoint for your Kubernetes API server.
public final 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.
public final 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 final KubernetesNetworkConfigResponse kubernetesNetworkConfig()
The Kubernetes network configuration for the cluster.
public final Logging logging()
The logging configuration for your cluster.
public final Identity identity()
The identity provider information for the cluster.
public final 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 final 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 final Certificate certificateAuthority()
The certificate-authority-data for your cluster.
certificate-authority-data for your cluster.public final String clientRequestToken()
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
public final String platformVersion()
The platform version of your Amazon EKS cluster. For more information, see Platform Versions in the Amazon EKS User Guide .
public final boolean hasTags()
public final Map<String,String> tags()
The metadata that you 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. Cluster tags do not propagate to any other resources associated with the cluster.
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 final boolean hasEncryptionConfig()
public final 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 Cluster.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Cluster.Builder,Cluster>public static Cluster.Builder builder()
public static Class<? extends Cluster.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.