Interface Capability.Builder

  • Method Details

    • capabilityName

      Capability.Builder capabilityName(String 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

      Capability.Builder clusterName(String 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, or KRO.

      Parameters:
      type - The type of capability. Valid values are ACK, ARGOCD, or KRO.
      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, or KRO.

      Parameters:
      type - The type of capability. Valid values are ACK, ARGOCD, or KRO.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • roleArn

      Capability.Builder roleArn(String 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

      Capability.Builder status(String 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

      Capability.Builder version(String 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

      The configuration settings for the capability. The structure varies depending on the capability type.

      This is a convenience method that creates an instance of the CapabilityConfigurationResponse.Builder avoiding the need to create one manually via CapabilityConfigurationResponse.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to configuration(CapabilityConfigurationResponse).

      Parameters:
      configuration - a consumer that will call methods on CapabilityConfigurationResponse.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 the CapabilityHealth.Builder avoiding the need to create one manually via CapabilityHealth.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to health(CapabilityHealth).

      Parameters:
      health - a consumer that will call methods on CapabilityHealth.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • createdAt

      Capability.Builder createdAt(Instant 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

      Capability.Builder modifiedAt(Instant 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

      Capability.Builder deletePropagationPolicy(String 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 is RETAIN, 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 is RETAIN, 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: