@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Addon extends Object implements Serializable, Cloneable, StructuredPojo
An Amazon EKS add-on. For more information, see Amazon EKS add-ons in the Amazon EKS User Guide.
Constructor and Description |
---|
Addon() |
Modifier and Type | Method and Description |
---|---|
Addon |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
Addon |
clearTagsEntries()
Removes all the entries added into Tags.
|
Addon |
clone() |
boolean |
equals(Object obj) |
String |
getAddonArn()
The Amazon Resource Name (ARN) of the add-on.
|
String |
getAddonName()
The name of the add-on.
|
String |
getAddonVersion()
The version of the add-on.
|
String |
getClusterName()
The name of the cluster.
|
Date |
getCreatedAt()
The date and time that the add-on was created.
|
AddonHealth |
getHealth()
An object that represents the health of the add-on.
|
Date |
getModifiedAt()
The date and time that the add-on was last modified.
|
String |
getServiceAccountRoleArn()
The Amazon Resource Name (ARN) of the IAM role that is bound to the Kubernetes service account used by the
add-on.
|
String |
getStatus()
The status of the add-on.
|
Map<String,String> |
getTags()
The metadata that you apply to the add-on to assist with categorization and organization.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAddonArn(String addonArn)
The Amazon Resource Name (ARN) of the add-on.
|
void |
setAddonName(String addonName)
The name of the add-on.
|
void |
setAddonVersion(String addonVersion)
The version of the add-on.
|
void |
setClusterName(String clusterName)
The name of the cluster.
|
void |
setCreatedAt(Date createdAt)
The date and time that the add-on was created.
|
void |
setHealth(AddonHealth health)
An object that represents the health of the add-on.
|
void |
setModifiedAt(Date modifiedAt)
The date and time that the add-on was last modified.
|
void |
setServiceAccountRoleArn(String serviceAccountRoleArn)
The Amazon Resource Name (ARN) of the IAM role that is bound to the Kubernetes service account used by the
add-on.
|
void |
setStatus(String status)
The status of the add-on.
|
void |
setTags(Map<String,String> tags)
The metadata that you apply to the add-on to assist with categorization and organization.
|
String |
toString()
Returns a string representation of this object.
|
Addon |
withAddonArn(String addonArn)
The Amazon Resource Name (ARN) of the add-on.
|
Addon |
withAddonName(String addonName)
The name of the add-on.
|
Addon |
withAddonVersion(String addonVersion)
The version of the add-on.
|
Addon |
withClusterName(String clusterName)
The name of the cluster.
|
Addon |
withCreatedAt(Date createdAt)
The date and time that the add-on was created.
|
Addon |
withHealth(AddonHealth health)
An object that represents the health of the add-on.
|
Addon |
withModifiedAt(Date modifiedAt)
The date and time that the add-on was last modified.
|
Addon |
withServiceAccountRoleArn(String serviceAccountRoleArn)
The Amazon Resource Name (ARN) of the IAM role that is bound to the Kubernetes service account used by the
add-on.
|
Addon |
withStatus(AddonStatus status)
The status of the add-on.
|
Addon |
withStatus(String status)
The status of the add-on.
|
Addon |
withTags(Map<String,String> tags)
The metadata that you apply to the add-on to assist with categorization and organization.
|
public void setAddonName(String addonName)
The name of the add-on.
addonName
- The name of the add-on.public String getAddonName()
The name of the add-on.
public Addon withAddonName(String addonName)
The name of the add-on.
addonName
- The name of the add-on.public void setClusterName(String clusterName)
The name of the cluster.
clusterName
- The name of the cluster.public String getClusterName()
The name of the cluster.
public Addon withClusterName(String clusterName)
The name of the cluster.
clusterName
- The name of the cluster.public void setStatus(String status)
The status of the add-on.
status
- The status of the add-on.AddonStatus
public String getStatus()
The status of the add-on.
AddonStatus
public Addon withStatus(String status)
The status of the add-on.
status
- The status of the add-on.AddonStatus
public Addon withStatus(AddonStatus status)
The status of the add-on.
status
- The status of the add-on.AddonStatus
public void setAddonVersion(String addonVersion)
The version of the add-on.
addonVersion
- The version of the add-on.public String getAddonVersion()
The version of the add-on.
public Addon withAddonVersion(String addonVersion)
The version of the add-on.
addonVersion
- The version of the add-on.public void setHealth(AddonHealth health)
An object that represents the health of the add-on.
health
- An object that represents the health of the add-on.public AddonHealth getHealth()
An object that represents the health of the add-on.
public Addon withHealth(AddonHealth health)
An object that represents the health of the add-on.
health
- An object that represents the health of the add-on.public void setAddonArn(String addonArn)
The Amazon Resource Name (ARN) of the add-on.
addonArn
- The Amazon Resource Name (ARN) of the add-on.public String getAddonArn()
The Amazon Resource Name (ARN) of the add-on.
public Addon withAddonArn(String addonArn)
The Amazon Resource Name (ARN) of the add-on.
addonArn
- The Amazon Resource Name (ARN) of the add-on.public void setCreatedAt(Date createdAt)
The date and time that the add-on was created.
createdAt
- The date and time that the add-on was created.public Date getCreatedAt()
The date and time that the add-on was created.
public Addon withCreatedAt(Date createdAt)
The date and time that the add-on was created.
createdAt
- The date and time that the add-on was created.public void setModifiedAt(Date modifiedAt)
The date and time that the add-on was last modified.
modifiedAt
- The date and time that the add-on was last modified.public Date getModifiedAt()
The date and time that the add-on was last modified.
public Addon withModifiedAt(Date modifiedAt)
The date and time that the add-on was last modified.
modifiedAt
- The date and time that the add-on was last modified.public void setServiceAccountRoleArn(String serviceAccountRoleArn)
The Amazon Resource Name (ARN) of the IAM role that is bound to the Kubernetes service account used by the add-on.
serviceAccountRoleArn
- The Amazon Resource Name (ARN) of the IAM role that is bound to the Kubernetes service account used by the
add-on.public String getServiceAccountRoleArn()
The Amazon Resource Name (ARN) of the IAM role that is bound to the Kubernetes service account used by the add-on.
public Addon withServiceAccountRoleArn(String serviceAccountRoleArn)
The Amazon Resource Name (ARN) of the IAM role that is bound to the Kubernetes service account used by the add-on.
serviceAccountRoleArn
- The Amazon Resource Name (ARN) of the IAM role that is bound to the Kubernetes service account used by the
add-on.public Map<String,String> getTags()
The metadata that you apply to the add-on to assist with categorization and organization. Each tag consists of a key and an optional value. You define both. Add-on 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 add-on to assist with categorization and organization. Each tag consists of a key and an optional value. You define both. Add-on tags do not propagate to any other resources associated with the cluster.
tags
- The metadata that you apply to the add-on to assist with categorization and organization. Each tag
consists of a key and an optional value. You define both. Add-on tags do not propagate to any other
resources associated with the cluster.public Addon withTags(Map<String,String> tags)
The metadata that you apply to the add-on to assist with categorization and organization. Each tag consists of a key and an optional value. You define both. Add-on tags do not propagate to any other resources associated with the cluster.
tags
- The metadata that you apply to the add-on to assist with categorization and organization. Each tag
consists of a key and an optional value. You define both. Add-on tags do not propagate to any other
resources associated with the cluster.public Addon clearTagsEntries()
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.