@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.
|
ConnectorConfigResponse |
connectorConfig()
The configuration used to connect to a cluster for registration.
|
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()
For responses, this returns true if the service returned a value for the EncryptionConfig property.
|
int |
hashCode() |
boolean |
hasTags()
For responses, this returns true if the service returned a value for the Tags property.
|
ClusterHealth |
health()
An object representing the health of your local Amazon EKS cluster on an Amazon Web Services Outpost.
|
String |
id()
The ID of your local Amazon EKS cluster on an Amazon Web Services Outpost.
|
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.
|
OutpostConfigResponse |
outpostConfig()
An object representing the configuration of your local Amazon EKS cluster on an Amazon Web Services Outpost.
|
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()
isEmpty() method on the property). This is useful
because the SDK will never return a null collection or map, but you may need to differentiate between the service
returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true
if a value for the property was specified in the request builder, and false if a value was not specified.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. You define both. 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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasTags() method.
public final boolean hasEncryptionConfig()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasEncryptionConfig() method.
public final ConnectorConfigResponse connectorConfig()
The configuration used to connect to a cluster for registration.
public final String id()
The ID of your local Amazon EKS cluster on an Amazon Web Services Outpost. This property isn't available for an Amazon EKS cluster on the Amazon Web Services cloud.
public final ClusterHealth health()
An object representing the health of your local Amazon EKS cluster on an Amazon Web Services Outpost. This object isn't available for clusters on the Amazon Web Services cloud.
public final OutpostConfigResponse outpostConfig()
An object representing the configuration of your local Amazon EKS cluster on an Amazon Web Services Outpost. This object isn't available for clusters on the Amazon Web Services cloud.
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 © 2023. All rights reserved.