Interface Capability.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Capability.Builder,,Capability> SdkBuilder<Capability.Builder,,Capability> SdkPojo
- Enclosing class:
Capability
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the capability.capabilityName(String capabilityName) The unique name of the capability within the cluster.clusterName(String clusterName) The name of the Amazon EKS cluster that contains this capability.default Capability.Builderconfiguration(Consumer<CapabilityConfigurationResponse.Builder> configuration) The configuration settings for the capability.configuration(CapabilityConfigurationResponse configuration) The configuration settings for the capability.The Unix epoch timestamp in seconds for when the capability was created.deletePropagationPolicy(String deletePropagationPolicy) The delete propagation policy for the capability.deletePropagationPolicy(CapabilityDeletePropagationPolicy deletePropagationPolicy) The delete propagation policy for the capability.default Capability.Builderhealth(Consumer<CapabilityHealth.Builder> health) Health information for the capability, including any issues that may be affecting its operation.health(CapabilityHealth health) Health information for the capability, including any issues that may be affecting its operation.modifiedAt(Instant modifiedAt) The Unix epoch timestamp in seconds for when the capability was last modified.The Amazon Resource Name (ARN) of the IAM role that the capability uses to interact with Amazon Web Services services.The current status of the capability.status(CapabilityStatus status) The current status of the capability.Sets the value of the Tags property for this object.The type of capability.type(CapabilityType type) The type of capability.The version of the capability software that is currently running.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
capabilityName
The unique name of the capability within the cluster.
- Parameters:
capabilityName- The unique name of the capability within the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
The Amazon Resource Name (ARN) of the capability.
- Parameters:
arn- The Amazon Resource Name (ARN) of the capability.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clusterName
The name of the Amazon EKS cluster that contains this capability.
- Parameters:
clusterName- The name of the Amazon EKS cluster that contains this capability.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The type of capability. Valid values are
ACK,ARGOCD, orKRO.- Parameters:
type- The type of capability. Valid values areACK,ARGOCD, orKRO.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of capability. Valid values are
ACK,ARGOCD, orKRO.- Parameters:
type- The type of capability. Valid values areACK,ARGOCD, orKRO.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
roleArn
The Amazon Resource Name (ARN) of the IAM role that the capability uses to interact with Amazon Web Services services.
- Parameters:
roleArn- The Amazon Resource Name (ARN) of the IAM role that the capability uses to interact with Amazon Web Services services.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
version
The version of the capability software that is currently running.
- Parameters:
version- The version of the capability software that is currently running.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
The configuration settings for the capability. The structure varies depending on the capability type.
- Parameters:
configuration- The configuration settings for the capability. The structure varies depending on the capability type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
default Capability.Builder configuration(Consumer<CapabilityConfigurationResponse.Builder> configuration) The configuration settings for the capability. The structure varies depending on the capability type.
This is a convenience method that creates an instance of theCapabilityConfigurationResponse.Builderavoiding the need to create one manually viaCapabilityConfigurationResponse.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconfiguration(CapabilityConfigurationResponse).- Parameters:
configuration- a consumer that will call methods onCapabilityConfigurationResponse.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
Sets the value of the Tags property for this object.- Parameters:
tags- The new value for the Tags property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
health
Health information for the capability, including any issues that may be affecting its operation.
- Parameters:
health- Health information for the capability, including any issues that may be affecting its operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
health
Health information for the capability, including any issues that may be affecting its operation.
This is a convenience method that creates an instance of theCapabilityHealth.Builderavoiding the need to create one manually viaCapabilityHealth.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tohealth(CapabilityHealth).- Parameters:
health- a consumer that will call methods onCapabilityHealth.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdAt
The Unix epoch timestamp in seconds for when the capability was created.
- Parameters:
createdAt- The Unix epoch timestamp in seconds for when the capability was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modifiedAt
The Unix epoch timestamp in seconds for when the capability was last modified.
- Parameters:
modifiedAt- The Unix epoch timestamp in seconds for when the capability was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.- Parameters:
deletePropagationPolicy- The delete propagation policy for the capability. Currently, the only supported value isRETAIN, which keeps all resources managed by the capability when the capability is deleted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
deletePropagationPolicy
Capability.Builder deletePropagationPolicy(CapabilityDeletePropagationPolicy 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.- Parameters:
deletePropagationPolicy- The delete propagation policy for the capability. Currently, the only supported value isRETAIN, which keeps all resources managed by the capability when the capability is deleted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-