Class BucketCacheOptions.Builder
java.lang.Object
software.amazon.awscdk.services.codebuild.BucketCacheOptions.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<BucketCacheOptions>
- Enclosing interface:
BucketCacheOptions
@Stability(Stable)
public static final class BucketCacheOptions.Builder
extends Object
implements software.amazon.jsii.Builder<BucketCacheOptions>
A builder for
BucketCacheOptions
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofBucketCacheOptions.getPrefix()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
prefix
Sets the value ofBucketCacheOptions.getPrefix()
- Parameters:
prefix
- The prefix to use to store the cache in the bucket.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<BucketCacheOptions>
- Returns:
- a new instance of
BucketCacheOptions
- Throws:
NullPointerException
- if any required attribute was not provided
-