@Generated(value="software.amazon.awssdk:codegen") public final class Addon extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Addon.Builder,Addon>
An Amazon EKS add-on. For more information, see Amazon EKS add-ons in the Amazon EKS User Guide.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Addon.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
addonArn()
The Amazon Resource Name (ARN) of the add-on.
|
String |
addonName()
The name of the add-on.
|
String |
addonVersion()
The version of the add-on.
|
static Addon.Builder |
builder() |
String |
clusterName()
The name of the cluster.
|
Instant |
createdAt()
The date and time that the add-on was created.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasTags()
For responses, this returns true if the service returned a value for the Tags property.
|
AddonHealth |
health()
An object that represents the health of the add-on.
|
Instant |
modifiedAt()
The date and time that the add-on was last modified.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Addon.Builder> |
serializableBuilderClass() |
String |
serviceAccountRoleArn()
The Amazon Resource Name (ARN) of the IAM role that is bound to the Kubernetes service account used by the
add-on.
|
AddonStatus |
status()
The status of the add-on.
|
String |
statusAsString()
The status of the add-on.
|
Map<String,String> |
tags()
The metadata that you apply to the add-on to assist with categorization and organization.
|
Addon.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String addonName()
The name of the add-on.
public final String clusterName()
The name of the cluster.
public final AddonStatus status()
The status of the add-on.
If the service returns an enum value that is not available in the current SDK version, status will
return AddonStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
AddonStatuspublic final String statusAsString()
The status of the add-on.
If the service returns an enum value that is not available in the current SDK version, status will
return AddonStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
AddonStatuspublic final String addonVersion()
The version of the add-on.
public final AddonHealth health()
An object that represents the health of the add-on.
public final String addonArn()
The Amazon Resource Name (ARN) of the add-on.
public final Instant createdAt()
The date and time that the add-on was created.
public final Instant modifiedAt()
The date and time that the add-on was last modified.
public final String serviceAccountRoleArn()
The Amazon Resource Name (ARN) of the IAM role that is bound to the Kubernetes service account used by the add-on.
public final boolean hasTags()
isEmpty() method on the property). This is useful
because the SDK will never return a null collection or map, but you may need to differentiate between the service
returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true
if a value for the property was specified in the request builder, and false if a value was not specified.public final 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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasTags() method.
public Addon.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Addon.Builder,Addon>public static Addon.Builder builder()
public static Class<? extends Addon.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.