Class CfnRunCacheProps.Builder
java.lang.Object
software.amazon.awscdk.services.omics.CfnRunCacheProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRunCacheProps>
- Enclosing interface:
CfnRunCacheProps
@Stability(Stable)
public static final class CfnRunCacheProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRunCacheProps>
A builder for
CfnRunCacheProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.cacheBehavior(String cacheBehavior) Sets the value ofCfnRunCacheProps.getCacheBehavior()cacheBucketOwnerId(String cacheBucketOwnerId) Sets the value ofCfnRunCacheProps.getCacheBucketOwnerId()cacheS3Location(String cacheS3Location) Sets the value ofCfnRunCacheProps.getCacheS3Location()description(String description) Sets the value ofCfnRunCacheProps.getDescription()Sets the value ofCfnRunCacheProps.getName()Sets the value ofCfnRunCacheProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cacheBehavior
Sets the value ofCfnRunCacheProps.getCacheBehavior()- Parameters:
cacheBehavior- The default cache behavior for runs using this cache.- Returns:
this
-
cacheBucketOwnerId
Sets the value ofCfnRunCacheProps.getCacheBucketOwnerId()- Parameters:
cacheBucketOwnerId- The AWS account ID of the expected owner of the S3 bucket for the run cache.- Returns:
this
-
cacheS3Location
Sets the value ofCfnRunCacheProps.getCacheS3Location()- Parameters:
cacheS3Location- The S3 location for storing the cached task outputs.- Returns:
this
-
description
Sets the value ofCfnRunCacheProps.getDescription()- Parameters:
description- A description of the run cache.- Returns:
this
-
name
Sets the value ofCfnRunCacheProps.getName()- Parameters:
name- A name for the run cache.- Returns:
this
-
tags
Sets the value ofCfnRunCacheProps.getTags()- Parameters:
tags- Tags for the run cache.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRunCacheProps>- Returns:
- a new instance of
CfnRunCacheProps - Throws:
NullPointerException- if any required attribute was not provided
-