public static final class SourceConfig.Builder
extends java.lang.Object
SourceConfig
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
SourceConfig.Builder |
bucket(IBucket bucket)
Sets the value of
SourceConfig.getBucket() |
SourceConfig |
build()
Builds the configured instance.
|
SourceConfig.Builder |
markers(java.util.Map<java.lang.String,? extends java.lang.Object> markers)
Sets the value of
SourceConfig.getMarkers() |
SourceConfig.Builder |
zipObjectKey(java.lang.String zipObjectKey)
Sets the value of
SourceConfig.getZipObjectKey() |
public SourceConfig.Builder bucket(IBucket bucket)
SourceConfig.getBucket()
bucket
- The source bucket to deploy from. This parameter is required.this
public SourceConfig.Builder zipObjectKey(java.lang.String zipObjectKey)
SourceConfig.getZipObjectKey()
zipObjectKey
- An S3 object key in the source bucket that points to a zip file. This parameter is required.this
public SourceConfig.Builder markers(java.util.Map<java.lang.String,? extends java.lang.Object> markers)
SourceConfig.getMarkers()
markers
- A set of markers to substitute in the source content.this
public SourceConfig build()
SourceConfig
java.lang.NullPointerException
- if any required attribute was not provided