@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EksClusterDetails extends Object implements Serializable, Cloneable, StructuredPojo
Details about the EKS cluster involved in a Kubernetes finding.
Constructor and Description |
---|
EksClusterDetails() |
Modifier and Type | Method and Description |
---|---|
EksClusterDetails |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
EKS cluster ARN.
|
Date |
getCreatedAt()
The timestamp when the EKS cluster was created.
|
String |
getName()
EKS cluster name.
|
String |
getStatus()
The EKS cluster status.
|
List<Tag> |
getTags()
The EKS cluster tags.
|
String |
getVpcId()
The VPC ID to which the EKS cluster is attached.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
EKS cluster ARN.
|
void |
setCreatedAt(Date createdAt)
The timestamp when the EKS cluster was created.
|
void |
setName(String name)
EKS cluster name.
|
void |
setStatus(String status)
The EKS cluster status.
|
void |
setTags(Collection<Tag> tags)
The EKS cluster tags.
|
void |
setVpcId(String vpcId)
The VPC ID to which the EKS cluster is attached.
|
String |
toString()
Returns a string representation of this object.
|
EksClusterDetails |
withArn(String arn)
EKS cluster ARN.
|
EksClusterDetails |
withCreatedAt(Date createdAt)
The timestamp when the EKS cluster was created.
|
EksClusterDetails |
withName(String name)
EKS cluster name.
|
EksClusterDetails |
withStatus(String status)
The EKS cluster status.
|
EksClusterDetails |
withTags(Collection<Tag> tags)
The EKS cluster tags.
|
EksClusterDetails |
withTags(Tag... tags)
The EKS cluster tags.
|
EksClusterDetails |
withVpcId(String vpcId)
The VPC ID to which the EKS cluster is attached.
|
public void setName(String name)
EKS cluster name.
name
- EKS cluster name.public String getName()
EKS cluster name.
public EksClusterDetails withName(String name)
EKS cluster name.
name
- EKS cluster name.public void setArn(String arn)
EKS cluster ARN.
arn
- EKS cluster ARN.public String getArn()
EKS cluster ARN.
public EksClusterDetails withArn(String arn)
EKS cluster ARN.
arn
- EKS cluster ARN.public void setVpcId(String vpcId)
The VPC ID to which the EKS cluster is attached.
vpcId
- The VPC ID to which the EKS cluster is attached.public String getVpcId()
The VPC ID to which the EKS cluster is attached.
public EksClusterDetails withVpcId(String vpcId)
The VPC ID to which the EKS cluster is attached.
vpcId
- The VPC ID to which the EKS cluster is attached.public void setStatus(String status)
The EKS cluster status.
status
- The EKS cluster status.public String getStatus()
The EKS cluster status.
public EksClusterDetails withStatus(String status)
The EKS cluster status.
status
- The EKS cluster status.public void setTags(Collection<Tag> tags)
The EKS cluster tags.
tags
- The EKS cluster tags.public EksClusterDetails withTags(Tag... tags)
The EKS cluster tags.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- The EKS cluster tags.public EksClusterDetails withTags(Collection<Tag> tags)
The EKS cluster tags.
tags
- The EKS cluster tags.public void setCreatedAt(Date createdAt)
The timestamp when the EKS cluster was created.
createdAt
- The timestamp when the EKS cluster was created.public Date getCreatedAt()
The timestamp when the EKS cluster was created.
public EksClusterDetails withCreatedAt(Date createdAt)
The timestamp when the EKS cluster was created.
createdAt
- The timestamp when the EKS cluster was created.public String toString()
toString
in class Object
Object.toString()
public EksClusterDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.