Class ArtifactsBucketLocation.Builder
java.lang.Object
software.amazon.awscdk.services.synthetics.ArtifactsBucketLocation.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ArtifactsBucketLocation>
- Enclosing interface:
- ArtifactsBucketLocation
@Stability(Experimental)
public static final class ArtifactsBucketLocation.Builder
extends Object
implements software.amazon.jsii.Builder<ArtifactsBucketLocation>
A builder for
ArtifactsBucketLocation
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSets the value ofArtifactsBucketLocation.getBucket()
build()
Builds the configured instance.Sets the value ofArtifactsBucketLocation.getPrefix()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bucket
Sets the value ofArtifactsBucketLocation.getBucket()
- Parameters:
bucket
- The s3 location that stores the data of each run. This parameter is required.- Returns:
this
-
prefix
Sets the value ofArtifactsBucketLocation.getPrefix()
- Parameters:
prefix
- The S3 bucket prefix. Specify this if you want a more specific path within the artifacts bucket.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<ArtifactsBucketLocation>
- Returns:
- a new instance of
ArtifactsBucketLocation
- Throws:
NullPointerException
- if any required attribute was not provided
-