Interface CreateRunCacheRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateRunCacheRequest.Builder,
,CreateRunCacheRequest> OmicsRequest.Builder
,SdkBuilder<CreateRunCacheRequest.Builder,
,CreateRunCacheRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateRunCacheRequest
-
Method Summary
Modifier and TypeMethodDescriptioncacheBehavior
(String cacheBehavior) Default cache behavior for runs that use this cache.cacheBehavior
(CacheBehavior cacheBehavior) Default cache behavior for runs that use this cache.cacheBucketOwnerId
(String cacheBucketOwnerId) The Amazon Web Services account ID of the expected owner of the S3 bucket for the run cache.cacheS3Location
(String cacheS3Location) Specify the S3 location for storing the cached task outputs.description
(String description) Enter a description of the run cache.Enter a user-friendly name for the run cache.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.A unique request token, to ensure idempotency.Specify one or more tags to associate with this run cache.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.omics.model.OmicsRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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
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
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
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
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 interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateRunCacheRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-