Interface CreateRunCacheRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateRunCacheRequest.Builder,CreateRunCacheRequest>,OmicsRequest.Builder,SdkBuilder<CreateRunCacheRequest.Builder,CreateRunCacheRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateRunCacheRequest
public static interface CreateRunCacheRequest.Builder extends OmicsRequest.Builder, SdkPojo, CopyableBuilder<CreateRunCacheRequest.Builder,CreateRunCacheRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateRunCacheRequest.BuildercacheBehavior(String cacheBehavior)Default cache behavior for runs that use this cache.CreateRunCacheRequest.BuildercacheBehavior(CacheBehavior cacheBehavior)Default cache behavior for runs that use this cache.CreateRunCacheRequest.BuildercacheBucketOwnerId(String cacheBucketOwnerId)The AWS account ID of the expected owner of the S3 bucket for the run cache.CreateRunCacheRequest.BuildercacheS3Location(String cacheS3Location)Specify the S3 location for storing the cached task outputs.CreateRunCacheRequest.Builderdescription(String description)Enter a description of the run cache.CreateRunCacheRequest.Buildername(String name)Enter a user-friendly name for the run cache.CreateRunCacheRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateRunCacheRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateRunCacheRequest.BuilderrequestId(String requestIdValue)A unique request token, to ensure idempotency.CreateRunCacheRequest.Buildertags(Map<String,String> tags)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 Detail
-
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 AWS 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 AWS HealthOmics User Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CacheBehavior,CacheBehavior
-
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 AWS 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 AWS HealthOmics User Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CacheBehavior,CacheBehavior
-
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
CreateRunCacheRequest.Builder name(String 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, 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, 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
CreateRunCacheRequest.Builder tags(Map<String,String> 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 AWS 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 AWS 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateRunCacheRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-