Interface CreateRunCacheRequest.Builder

  • Method Details

    • cacheBehavior

      CreateRunCacheRequest.Builder cacheBehavior(String cacheBehavior)

      Default cache behavior for runs that use this cache. Supported values are:

      CACHE_ON_FAILURE: Caches task outputs from completed tasks for runs that fail. This setting is useful if you're debugging a workflow that fails after several tasks completed successfully. The subsequent run uses the cache outputs for previously-completed tasks if the task definition, inputs, and container in ECR are identical to the prior run.

      CACHE_ALWAYS: Caches task outputs from completed tasks for all runs. This setting is useful in development mode, but do not use it in a production setting.

      If you don't specify a value, the default behavior is CACHE_ON_FAILURE. When you start a run that uses this cache, you can override the default cache behavior.

      For more information, see Run cache behavior in the Amazon Web Services HealthOmics User Guide.

      Parameters:
      cacheBehavior - Default cache behavior for runs that use this cache. Supported values are:

      CACHE_ON_FAILURE: Caches task outputs from completed tasks for runs that fail. This setting is useful if you're debugging a workflow that fails after several tasks completed successfully. The subsequent run uses the cache outputs for previously-completed tasks if the task definition, inputs, and container in ECR are identical to the prior run.

      CACHE_ALWAYS: Caches task outputs from completed tasks for all runs. This setting is useful in development mode, but do not use it in a production setting.

      If you don't specify a value, the default behavior is CACHE_ON_FAILURE. When you start a run that uses this cache, you can override the default cache behavior.

      For more information, see Run cache behavior in the Amazon Web Services HealthOmics User Guide.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • cacheBehavior

      CreateRunCacheRequest.Builder cacheBehavior(CacheBehavior cacheBehavior)

      Default cache behavior for runs that use this cache. Supported values are:

      CACHE_ON_FAILURE: Caches task outputs from completed tasks for runs that fail. This setting is useful if you're debugging a workflow that fails after several tasks completed successfully. The subsequent run uses the cache outputs for previously-completed tasks if the task definition, inputs, and container in ECR are identical to the prior run.

      CACHE_ALWAYS: Caches task outputs from completed tasks for all runs. This setting is useful in development mode, but do not use it in a production setting.

      If you don't specify a value, the default behavior is CACHE_ON_FAILURE. When you start a run that uses this cache, you can override the default cache behavior.

      For more information, see Run cache behavior in the Amazon Web Services HealthOmics User Guide.

      Parameters:
      cacheBehavior - Default cache behavior for runs that use this cache. Supported values are:

      CACHE_ON_FAILURE: Caches task outputs from completed tasks for runs that fail. This setting is useful if you're debugging a workflow that fails after several tasks completed successfully. The subsequent run uses the cache outputs for previously-completed tasks if the task definition, inputs, and container in ECR are identical to the prior run.

      CACHE_ALWAYS: Caches task outputs from completed tasks for all runs. This setting is useful in development mode, but do not use it in a production setting.

      If you don't specify a value, the default behavior is CACHE_ON_FAILURE. When you start a run that uses this cache, you can override the default cache behavior.

      For more information, see Run cache behavior in the Amazon Web Services HealthOmics User Guide.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • cacheS3Location

      CreateRunCacheRequest.Builder cacheS3Location(String cacheS3Location)

      Specify the S3 location for storing the cached task outputs. This data must be immediately accessible (not in an archived state).

      Parameters:
      cacheS3Location - Specify the S3 location for storing the cached task outputs. This data must be immediately accessible (not in an archived state).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      CreateRunCacheRequest.Builder description(String description)

      Enter a description of the run cache.

      Parameters:
      description - Enter a description of the run cache.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      Enter a user-friendly name for the run cache.

      Parameters:
      name - Enter a user-friendly name for the run cache.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • requestId

      CreateRunCacheRequest.Builder requestId(String requestIdValue)

      A unique request token, to ensure idempotency. If you don't specify a token, Amazon Web Services HealthOmics automatically generates a universally unique identifier (UUID) for the request.

      Parameters:
      requestIdValue - A unique request token, to ensure idempotency. If you don't specify a token, Amazon Web Services HealthOmics automatically generates a universally unique identifier (UUID) for the request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      Specify one or more tags to associate with this run cache.

      Parameters:
      tags - Specify one or more tags to associate with this run cache.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • cacheBucketOwnerId

      CreateRunCacheRequest.Builder cacheBucketOwnerId(String cacheBucketOwnerId)

      The Amazon Web Services account ID of the expected owner of the S3 bucket for the run cache. If not provided, your account ID is set as the owner of the bucket.

      Parameters:
      cacheBucketOwnerId - The Amazon Web Services account ID of the expected owner of the S3 bucket for the run cache. If not provided, your account ID is set as the owner of the bucket.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      CreateRunCacheRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.