public static final class CrossRegionSupport.Builder
extends java.lang.Object
CrossRegionSupport
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CrossRegionSupport |
build()
Builds the configured instance.
|
CrossRegionSupport.Builder |
replicationBucket(IBucket replicationBucket)
Sets the value of
CrossRegionSupport.getReplicationBucket() |
CrossRegionSupport.Builder |
stack(Stack stack)
Sets the value of
CrossRegionSupport.getStack() |
public CrossRegionSupport.Builder replicationBucket(IBucket replicationBucket)
CrossRegionSupport.getReplicationBucket()
replicationBucket
- The replication Bucket used by CodePipeline to operate in this region. This parameter is required.
Belongs to {@link stack}.this
public CrossRegionSupport.Builder stack(Stack stack)
CrossRegionSupport.getStack()
stack
- The Stack that has been created to house the replication Bucket required for this region. This parameter is required.this
public CrossRegionSupport build()
CrossRegionSupport
java.lang.NullPointerException
- if any required attribute was not provided