@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) |
AccessConfigResponse |
getAccessConfig()
The access configuration for the cluster.
|
String |
getArn()
The Amazon Resource Name (ARN) of the cluster.
|
Certificate |
getCertificateAuthority()
The
certificate-authority-data for your cluster. |
String |
getClientRequestToken()
A 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 at object creation.
|
List<EncryptionConfig> |
getEncryptionConfig()
The encryption configuration for the cluster.
|
String |
getEndpoint()
The endpoint for your Kubernetes API server.
|
ClusterHealth |
getHealth()
An object representing the health of your Amazon EKS cluster.
|
String |
getId()
The ID of your local Amazon EKS cluster on an Amazon Web Services Outpost.
|
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 your cluster.
|
OutpostConfigResponse |
getOutpostConfig()
An object representing the configuration of your local Amazon EKS cluster on an Amazon Web Services Outpost.
|
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()
Metadata that assists with categorization and organization.
|
UpgradePolicyResponse |
getUpgradePolicy()
This value indicates if extended support is enabled or disabled for the cluster.
|
String |
getVersion()
The Kubernetes server version for the cluster.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAccessConfig(AccessConfigResponse accessConfig)
The access configuration for the cluster.
|
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)
A 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 at object creation.
|
void |
setEncryptionConfig(Collection<EncryptionConfig> encryptionConfig)
The encryption configuration for the cluster.
|
void |
setEndpoint(String endpoint)
The endpoint for your Kubernetes API server.
|
void |
setHealth(ClusterHealth health)
An object representing the health of your Amazon EKS cluster.
|
void |
setId(String id)
The ID of your local Amazon EKS cluster on an Amazon Web Services Outpost.
|
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 your cluster.
|
void |
setOutpostConfig(OutpostConfigResponse outpostConfig)
An object representing the configuration of your local Amazon EKS cluster on an Amazon Web Services Outpost.
|
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)
Metadata that assists with categorization and organization.
|
void |
setUpgradePolicy(UpgradePolicyResponse upgradePolicy)
This value indicates if extended support is enabled or disabled for the cluster.
|
void |
setVersion(String version)
The Kubernetes server version for the cluster.
|
String |
toString()
Returns a string representation of this object.
|
Cluster |
withAccessConfig(AccessConfigResponse accessConfig)
The access configuration for the cluster.
|
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)
A 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 at object creation.
|
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 |
withHealth(ClusterHealth health)
An object representing the health of your Amazon EKS cluster.
|
Cluster |
withId(String id)
The ID of your local Amazon EKS cluster on an Amazon Web Services Outpost.
|
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 your cluster.
|
Cluster |
withOutpostConfig(OutpostConfigResponse outpostConfig)
An object representing the configuration of your local Amazon EKS cluster on an Amazon Web Services Outpost.
|
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)
Metadata that assists with categorization and organization.
|
Cluster |
withUpgradePolicy(UpgradePolicyResponse upgradePolicy)
This value indicates if extended support is enabled or disabled for the cluster.
|
Cluster |
withVersion(String version)
The Kubernetes server version for the cluster.
|
public void setName(String name)
The name of your cluster.
name
- The name of your cluster.public String getName()
The name of your cluster.
public Cluster withName(String name)
The name of your cluster.
name
- The name of your 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 at object creation.
createdAt
- The Unix epoch timestamp at object creation.public Date getCreatedAt()
The Unix epoch timestamp at object creation.
public Cluster withCreatedAt(Date createdAt)
The Unix epoch timestamp at object creation.
createdAt
- The Unix epoch timestamp at object creation.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)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
clientRequestToken
- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.public String getClientRequestToken()
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
public Cluster withClientRequestToken(String clientRequestToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
clientRequestToken
- A 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 about clusters deployed on the Amazon Web Services Cloud, see Platform versions in the Amazon EKS User Guide . For more information about local clusters deployed on an Outpost, see Amazon EKS local cluster platform versions in the Amazon EKS User Guide .
platformVersion
- The platform version of your Amazon EKS cluster. For more information about clusters deployed on the
Amazon Web Services Cloud, see Platform versions in
the Amazon EKS User Guide . For more information about local clusters deployed on an
Outpost, see Amazon EKS
local cluster platform versions in the Amazon EKS User Guide .public String getPlatformVersion()
The platform version of your Amazon EKS cluster. For more information about clusters deployed on the Amazon Web Services Cloud, see Platform versions in the Amazon EKS User Guide . For more information about local clusters deployed on an Outpost, see Amazon EKS local cluster platform versions in the Amazon EKS User Guide .
public Cluster withPlatformVersion(String platformVersion)
The platform version of your Amazon EKS cluster. For more information about clusters deployed on the Amazon Web Services Cloud, see Platform versions in the Amazon EKS User Guide . For more information about local clusters deployed on an Outpost, see Amazon EKS local cluster platform versions in the Amazon EKS User Guide .
platformVersion
- The platform version of your Amazon EKS cluster. For more information about clusters deployed on the
Amazon Web Services Cloud, see Platform versions in
the Amazon EKS User Guide . For more information about local clusters deployed on an
Outpost, see Amazon EKS
local cluster platform versions in the Amazon EKS User Guide .public Map<String,String> getTags()
Metadata that assists with categorization and organization. Each tag consists of a key and an optional value. You define both. Tags don't propagate to any other cluster or Amazon Web Services resources.
public void setTags(Map<String,String> tags)
Metadata that assists with categorization and organization. Each tag consists of a key and an optional value. You define both. Tags don't propagate to any other cluster or Amazon Web Services resources.
tags
- Metadata that assists with categorization and organization. Each tag consists of a key and an optional
value. You define both. Tags don't propagate to any other cluster or Amazon Web Services resources.public Cluster withTags(Map<String,String> tags)
Metadata that assists with categorization and organization. Each tag consists of a key and an optional value. You define both. Tags don't propagate to any other cluster or Amazon Web Services resources.
tags
- Metadata that assists with categorization and organization. Each tag consists of a key and an optional
value. You define both. Tags don't propagate to any other cluster or Amazon Web Services resources.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 void setId(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.
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 String getId()
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 Cluster withId(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.
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 void setHealth(ClusterHealth health)
An object representing the health of your Amazon EKS cluster.
health
- An object representing the health of your Amazon EKS cluster.public ClusterHealth getHealth()
An object representing the health of your Amazon EKS cluster.
public Cluster withHealth(ClusterHealth health)
An object representing the health of your Amazon EKS cluster.
health
- An object representing the health of your Amazon EKS cluster.public void setOutpostConfig(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.
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 OutpostConfigResponse getOutpostConfig()
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 withOutpostConfig(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.
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 void setAccessConfig(AccessConfigResponse accessConfig)
The access configuration for the cluster.
accessConfig
- The access configuration for the cluster.public AccessConfigResponse getAccessConfig()
The access configuration for the cluster.
public Cluster withAccessConfig(AccessConfigResponse accessConfig)
The access configuration for the cluster.
accessConfig
- The access configuration for the cluster.public void setUpgradePolicy(UpgradePolicyResponse upgradePolicy)
This value indicates if extended support is enabled or disabled for the cluster.
Learn more about EKS Extended Support in the EKS User Guide.
upgradePolicy
- This value indicates if extended support is enabled or disabled for the cluster.
Learn more about EKS Extended Support in the EKS User Guide.
public UpgradePolicyResponse getUpgradePolicy()
This value indicates if extended support is enabled or disabled for the cluster.
Learn more about EKS Extended Support in the EKS User Guide.
Learn more about EKS Extended Support in the EKS User Guide.
public Cluster withUpgradePolicy(UpgradePolicyResponse upgradePolicy)
This value indicates if extended support is enabled or disabled for the cluster.
Learn more about EKS Extended Support in the EKS User Guide.
upgradePolicy
- This value indicates if extended support is enabled or disabled for the cluster.
Learn more about EKS Extended Support in the EKS User Guide.
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.