Class Capability
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Capability.Builder,Capability>
An object representing a managed capability in an Amazon EKS cluster. This includes all configuration, status, and health information for the capability.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal Stringarn()The Amazon Resource Name (ARN) of the capability.static Capability.Builderbuilder()final StringThe unique name of the capability within the cluster.final StringThe name of the Amazon EKS cluster that contains this capability.The configuration settings for the capability.final InstantThe Unix epoch timestamp in seconds for when the capability was created.The delete propagation policy for the capability.final StringThe delete propagation policy for the capability.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final booleanhasTags()For responses, this returns true if the service returned a value for the Tags property.final CapabilityHealthhealth()Health information for the capability, including any issues that may be affecting its operation.final InstantThe Unix epoch timestamp in seconds for when the capability was last modified.final StringroleArn()The Amazon Resource Name (ARN) of the IAM role that the capability uses to interact with Amazon Web Services services.static Class<? extends Capability.Builder> final CapabilityStatusstatus()The current status of the capability.final StringThe current status of the capability.tags()Returns the value of the Tags property for this object.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final CapabilityTypetype()The type of capability.final StringThe type of capability.final Stringversion()The version of the capability software that is currently running.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
capabilityName
The unique name of the capability within the cluster.
- Returns:
- The unique name of the capability within the cluster.
-
arn
The Amazon Resource Name (ARN) of the capability.
- Returns:
- The Amazon Resource Name (ARN) of the capability.
-
clusterName
The name of the Amazon EKS cluster that contains this capability.
- Returns:
- The name of the Amazon EKS cluster that contains this capability.
-
type
The type of capability. Valid values are
ACK,ARGOCD, orKRO.If the service returns an enum value that is not available in the current SDK version,
typewill returnCapabilityType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of capability. Valid values are
ACK,ARGOCD, orKRO. - See Also:
-
typeAsString
The type of capability. Valid values are
ACK,ARGOCD, orKRO.If the service returns an enum value that is not available in the current SDK version,
typewill returnCapabilityType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of capability. Valid values are
ACK,ARGOCD, orKRO. - See Also:
-
roleArn
The Amazon Resource Name (ARN) of the IAM role that the capability uses to interact with Amazon Web Services services.
- Returns:
- The Amazon Resource Name (ARN) of the IAM role that the capability uses to interact with Amazon Web Services services.
-
status
The current status of the capability. Valid values include:
-
CREATING– The capability is being created. -
ACTIVE– The capability is running and available. -
UPDATING– The capability is being updated. -
DELETING– The capability is being deleted. -
CREATE_FAILED– The capability creation failed. -
UPDATE_FAILED– The capability update failed. -
DELETE_FAILED– The capability deletion failed.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnCapabilityStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The current status of the capability. Valid values include:
-
CREATING– The capability is being created. -
ACTIVE– The capability is running and available. -
UPDATING– The capability is being updated. -
DELETING– The capability is being deleted. -
CREATE_FAILED– The capability creation failed. -
UPDATE_FAILED– The capability update failed. -
DELETE_FAILED– The capability deletion failed.
-
- See Also:
-
-
statusAsString
The current status of the capability. Valid values include:
-
CREATING– The capability is being created. -
ACTIVE– The capability is running and available. -
UPDATING– The capability is being updated. -
DELETING– The capability is being deleted. -
CREATE_FAILED– The capability creation failed. -
UPDATE_FAILED– The capability update failed. -
DELETE_FAILED– The capability deletion failed.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnCapabilityStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The current status of the capability. Valid values include:
-
CREATING– The capability is being created. -
ACTIVE– The capability is running and available. -
UPDATING– The capability is being updated. -
DELETING– The capability is being deleted. -
CREATE_FAILED– The capability creation failed. -
UPDATE_FAILED– The capability update failed. -
DELETE_FAILED– The capability deletion failed.
-
- See Also:
-
-
version
The version of the capability software that is currently running.
- Returns:
- The version of the capability software that is currently running.
-
configuration
The configuration settings for the capability. The structure varies depending on the capability type.
- Returns:
- The configuration settings for the capability. The structure varies depending on the capability type.
-
hasTags
public final boolean hasTags()For responses, this returns true if the service returned a value for the Tags property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()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. -
tags
Returns the value of the Tags property for this object.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.- Returns:
- The value of the Tags property for this object.
-
health
Health information for the capability, including any issues that may be affecting its operation.
- Returns:
- Health information for the capability, including any issues that may be affecting its operation.
-
createdAt
The Unix epoch timestamp in seconds for when the capability was created.
- Returns:
- The Unix epoch timestamp in seconds for when the capability was created.
-
modifiedAt
The Unix epoch timestamp in seconds for when the capability was last modified.
- Returns:
- The Unix epoch timestamp in seconds for when the capability was last modified.
-
deletePropagationPolicy
The delete propagation policy for the capability. Currently, the only supported value is
RETAIN, which keeps all resources managed by the capability when the capability is deleted.If the service returns an enum value that is not available in the current SDK version,
deletePropagationPolicywill returnCapabilityDeletePropagationPolicy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdeletePropagationPolicyAsString().- Returns:
- The delete propagation policy for the capability. Currently, the only supported value is
RETAIN, which keeps all resources managed by the capability when the capability is deleted. - See Also:
-
deletePropagationPolicyAsString
The delete propagation policy for the capability. Currently, the only supported value is
RETAIN, which keeps all resources managed by the capability when the capability is deleted.If the service returns an enum value that is not available in the current SDK version,
deletePropagationPolicywill returnCapabilityDeletePropagationPolicy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdeletePropagationPolicyAsString().- Returns:
- The delete propagation policy for the capability. Currently, the only supported value is
RETAIN, which keeps all resources managed by the capability when the capability is deleted. - See Also:
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<Capability.Builder,Capability> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-