@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 |
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 you provide to ensure the idempotency of the request.
|
Date |
getCreatedAt()
The Unix epoch time stamp in seconds for when the cluster was created.
|
String |
getEndpoint()
The endpoint for your Kubernetes API server.
|
String |
getName()
The name of the cluster.
|
String |
getPlatformVersion()
The platform version of your Amazon EKS cluster.
|
VpcConfigResponse |
getResourcesVpcConfig()
The VPC subnets and security groups 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 AWS API operations on your behalf.
|
String |
getStatus()
The current status of 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 |
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 you provide to ensure the idempotency of the request.
|
void |
setCreatedAt(Date createdAt)
The Unix epoch time stamp in seconds for when the cluster was created.
|
void |
setEndpoint(String endpoint)
The endpoint for your Kubernetes API server.
|
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 subnets and security groups 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 AWS API operations on your behalf.
|
void |
setStatus(String status)
The current status of the cluster.
|
void |
setVersion(String version)
The Kubernetes server version for the cluster.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
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 you provide to ensure the idempotency of the request.
|
Cluster |
withCreatedAt(Date createdAt)
The Unix epoch time stamp in seconds for when the cluster was created.
|
Cluster |
withEndpoint(String endpoint)
The endpoint for your Kubernetes API server.
|
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 subnets and security groups 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 AWS 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 |
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 time stamp in seconds for when the cluster was created.
createdAt
- The Unix epoch time stamp in seconds for when the cluster was created.public Date getCreatedAt()
The Unix epoch time stamp in seconds for when the cluster was created.
public Cluster withCreatedAt(Date createdAt)
The Unix epoch time stamp in seconds for when the cluster was created.
createdAt
- The Unix epoch time stamp 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 AWS 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 AWS 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 AWS 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 AWS 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 AWS API operations on your behalf.public void setResourcesVpcConfig(VpcConfigResponse resourcesVpcConfig)
The VPC subnets and security groups 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 subnets and security groups 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 subnets and security groups 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 subnets and security groups 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 subnets and security groups 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 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 you provide to ensure the idempotency of the request.
clientRequestToken
- Unique, case-sensitive identifier you provide to ensure the idempotency of the request.public String getClientRequestToken()
Unique, case-sensitive identifier you provide to ensure the idempotency of the request.
public Cluster withClientRequestToken(String clientRequestToken)
Unique, case-sensitive identifier you provide to ensure the idempotency of the request.
clientRequestToken
- Unique, case-sensitive identifier 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 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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.