@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Cluster extends Object implements Serializable, Cloneable, StructuredPojo
An object representing an Amazon EKS cluster.
Constructor and Description |
---|
Cluster() |
Modifier and Type | Method and Description |
---|---|
Cluster |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
Cluster |
clearTagsEntries()
Removes all the entries added into Tags.
|
Cluster |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the cluster.
|
Certificate |
getCertificateAuthority()
The
certificate-authority-data for your cluster. |
String |
getClientRequestToken()
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
ConnectorConfigResponse |
getConnectorConfig()
The configuration used to connect to a cluster for registration.
|
Date |
getCreatedAt()
The Unix epoch timestamp in seconds for when the cluster was created.
|
List<EncryptionConfig> |
getEncryptionConfig()
The encryption configuration for the cluster.
|
String |
getEndpoint()
The endpoint for your Kubernetes API server.
|
Identity |
getIdentity()
The identity provider information for the cluster.
|
KubernetesNetworkConfigResponse |
getKubernetesNetworkConfig()
The Kubernetes network configuration for the cluster.
|
Logging |
getLogging()
The logging configuration for your cluster.
|
String |
getName()
The name of the cluster.
|
String |
getPlatformVersion()
The platform version of your Amazon EKS cluster.
|
VpcConfigResponse |
getResourcesVpcConfig()
The VPC configuration used by the cluster control plane.
|
String |
getRoleArn()
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.
|
String |
getStatus()
The current status of the cluster.
|
Map<String,String> |
getTags()
The metadata that you apply to the cluster to assist with categorization and organization.
|
String |
getVersion()
The Kubernetes server version for the cluster.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the cluster.
|
void |
setCertificateAuthority(Certificate certificateAuthority)
The
certificate-authority-data for your cluster. |
void |
setClientRequestToken(String clientRequestToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
void |
setConnectorConfig(ConnectorConfigResponse connectorConfig)
The configuration used to connect to a cluster for registration.
|
void |
setCreatedAt(Date createdAt)
The Unix epoch timestamp in seconds for when the cluster was created.
|
void |
setEncryptionConfig(Collection<EncryptionConfig> encryptionConfig)
The encryption configuration for the cluster.
|
void |
setEndpoint(String endpoint)
The endpoint for your Kubernetes API server.
|
void |
setIdentity(Identity identity)
The identity provider information for the cluster.
|
void |
setKubernetesNetworkConfig(KubernetesNetworkConfigResponse kubernetesNetworkConfig)
The Kubernetes network configuration for the cluster.
|
void |
setLogging(Logging logging)
The logging configuration for your cluster.
|
void |
setName(String name)
The name of the cluster.
|
void |
setPlatformVersion(String platformVersion)
The platform version of your Amazon EKS cluster.
|
void |
setResourcesVpcConfig(VpcConfigResponse resourcesVpcConfig)
The VPC configuration used by the cluster control plane.
|
void |
setRoleArn(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.
|
void |
setStatus(String status)
The current status of the cluster.
|
void |
setTags(Map<String,String> tags)
The metadata that you apply to the cluster to assist with categorization and organization.
|
void |
setVersion(String version)
The Kubernetes server version for the cluster.
|
String |
toString()
Returns a string representation of this object.
|
Cluster |
withArn(String arn)
The Amazon Resource Name (ARN) of the cluster.
|
Cluster |
withCertificateAuthority(Certificate certificateAuthority)
The
certificate-authority-data for your cluster. |
Cluster |
withClientRequestToken(String clientRequestToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
Cluster |
withConnectorConfig(ConnectorConfigResponse connectorConfig)
The configuration used to connect to a cluster for registration.
|
Cluster |
withCreatedAt(Date createdAt)
The Unix epoch timestamp in seconds for when the cluster was created.
|
Cluster |
withEncryptionConfig(Collection<EncryptionConfig> encryptionConfig)
The encryption configuration for the cluster.
|
Cluster |
withEncryptionConfig(EncryptionConfig... encryptionConfig)
The encryption configuration for the cluster.
|
Cluster |
withEndpoint(String endpoint)
The endpoint for your Kubernetes API server.
|
Cluster |
withIdentity(Identity identity)
The identity provider information for the cluster.
|
Cluster |
withKubernetesNetworkConfig(KubernetesNetworkConfigResponse kubernetesNetworkConfig)
The Kubernetes network configuration for the cluster.
|
Cluster |
withLogging(Logging logging)
The logging configuration for your cluster.
|
Cluster |
withName(String name)
The name of the cluster.
|
Cluster |
withPlatformVersion(String platformVersion)
The platform version of your Amazon EKS cluster.
|
Cluster |
withResourcesVpcConfig(VpcConfigResponse resourcesVpcConfig)
The VPC configuration used by the cluster control plane.
|
Cluster |
withRoleArn(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.
|
Cluster |
withStatus(ClusterStatus status)
The current status of the cluster.
|
Cluster |
withStatus(String status)
The current status of the cluster.
|
Cluster |
withTags(Map<String,String> tags)
The metadata that you apply to the cluster to assist with categorization and organization.
|
Cluster |
withVersion(String version)
The Kubernetes server version for the cluster.
|
public void setName(String name)
The name of the cluster.
name
- The name of the cluster.public String getName()
The name of the cluster.
public Cluster withName(String name)
The name of the cluster.
name
- The name of the cluster.public void setArn(String arn)
The Amazon Resource Name (ARN) of the cluster.
arn
- The Amazon Resource Name (ARN) of the cluster.public String getArn()
The Amazon Resource Name (ARN) of the cluster.
public Cluster withArn(String arn)
The Amazon Resource Name (ARN) of the cluster.
arn
- The Amazon Resource Name (ARN) of the cluster.public void setCreatedAt(Date createdAt)
The Unix epoch timestamp in seconds for when the cluster was created.
createdAt
- The Unix epoch timestamp in seconds for when the cluster was created.public Date getCreatedAt()
The Unix epoch timestamp in seconds for when the cluster was created.
public Cluster withCreatedAt(Date createdAt)
The Unix epoch timestamp in seconds for when the cluster was created.
createdAt
- The Unix epoch timestamp in seconds for when the cluster was created.public void setVersion(String version)
The Kubernetes server version for the cluster.
version
- The Kubernetes server version for the cluster.public String getVersion()
The Kubernetes server version for the cluster.
public Cluster withVersion(String version)
The Kubernetes server version for the cluster.
version
- The Kubernetes server version for the cluster.public void setEndpoint(String endpoint)
The endpoint for your Kubernetes API server.
endpoint
- The endpoint for your Kubernetes API server.public String getEndpoint()
The endpoint for your Kubernetes API server.
public Cluster withEndpoint(String endpoint)
The endpoint for your Kubernetes API server.
endpoint
- The endpoint for your Kubernetes API server.public void setRoleArn(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.
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 String getRoleArn()
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 Cluster withRoleArn(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.
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 void setResourcesVpcConfig(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.
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 VpcConfigResponse getResourcesVpcConfig()
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 Cluster withResourcesVpcConfig(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.
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 void setKubernetesNetworkConfig(KubernetesNetworkConfigResponse kubernetesNetworkConfig)
The Kubernetes network configuration for the cluster.
kubernetesNetworkConfig
- The Kubernetes network configuration for the cluster.public KubernetesNetworkConfigResponse getKubernetesNetworkConfig()
The Kubernetes network configuration for the cluster.
public Cluster withKubernetesNetworkConfig(KubernetesNetworkConfigResponse kubernetesNetworkConfig)
The Kubernetes network configuration for the cluster.
kubernetesNetworkConfig
- The Kubernetes network configuration for the cluster.public void setLogging(Logging logging)
The logging configuration for your cluster.
logging
- The logging configuration for your cluster.public Logging getLogging()
The logging configuration for your cluster.
public Cluster withLogging(Logging logging)
The logging configuration for your cluster.
logging
- The logging configuration for your cluster.public void setIdentity(Identity identity)
The identity provider information for the cluster.
identity
- The identity provider information for the cluster.public Identity getIdentity()
The identity provider information for the cluster.
public Cluster withIdentity(Identity identity)
The identity provider information for the cluster.
identity
- The identity provider information for the cluster.public void setStatus(String status)
The current status of the cluster.
status
- The current status of the cluster.ClusterStatus
public String getStatus()
The current status of the cluster.
ClusterStatus
public Cluster withStatus(String status)
The current status of the cluster.
status
- The current status of the cluster.ClusterStatus
public Cluster withStatus(ClusterStatus status)
The current status of the cluster.
status
- The current status of the cluster.ClusterStatus
public void setCertificateAuthority(Certificate certificateAuthority)
The certificate-authority-data
for your cluster.
certificateAuthority
- The certificate-authority-data
for your cluster.public Certificate getCertificateAuthority()
The certificate-authority-data
for your cluster.
certificate-authority-data
for your cluster.public Cluster withCertificateAuthority(Certificate certificateAuthority)
The certificate-authority-data
for your cluster.
certificateAuthority
- The certificate-authority-data
for your cluster.public void setClientRequestToken(String clientRequestToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
clientRequestToken
- Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.public String getClientRequestToken()
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
public Cluster withClientRequestToken(String clientRequestToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
clientRequestToken
- Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.public void setPlatformVersion(String platformVersion)
The platform version of your Amazon EKS cluster. For more information, see Platform Versions in the Amazon EKS User Guide .
platformVersion
- The platform version of your Amazon EKS cluster. For more information, see Platform Versions in
the Amazon EKS User Guide .public String getPlatformVersion()
The platform version of your Amazon EKS cluster. For more information, see Platform Versions in the Amazon EKS User Guide .
public Cluster withPlatformVersion(String platformVersion)
The platform version of your Amazon EKS cluster. For more information, see Platform Versions in the Amazon EKS User Guide .
platformVersion
- The platform version of your Amazon EKS cluster. For more information, see Platform Versions in
the Amazon EKS User Guide .public Map<String,String> getTags()
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.
public void setTags(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.
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.public Cluster withTags(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.
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.public Cluster clearTagsEntries()
public List<EncryptionConfig> getEncryptionConfig()
The encryption configuration for the cluster.
public void setEncryptionConfig(Collection<EncryptionConfig> encryptionConfig)
The encryption configuration for the cluster.
encryptionConfig
- The encryption configuration for the cluster.public Cluster withEncryptionConfig(EncryptionConfig... encryptionConfig)
The encryption configuration for the cluster.
NOTE: This method appends the values to the existing list (if any). Use
setEncryptionConfig(java.util.Collection)
or withEncryptionConfig(java.util.Collection)
if you
want to override the existing values.
encryptionConfig
- The encryption configuration for the cluster.public Cluster withEncryptionConfig(Collection<EncryptionConfig> encryptionConfig)
The encryption configuration for the cluster.
encryptionConfig
- The encryption configuration for the cluster.public void setConnectorConfig(ConnectorConfigResponse connectorConfig)
The configuration used to connect to a cluster for registration.
connectorConfig
- The configuration used to connect to a cluster for registration.public ConnectorConfigResponse getConnectorConfig()
The configuration used to connect to a cluster for registration.
public Cluster withConnectorConfig(ConnectorConfigResponse connectorConfig)
The configuration used to connect to a cluster for registration.
connectorConfig
- The configuration used to connect to a cluster for registration.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.