Class CrossRegionSupport.Builder
java.lang.Object
software.amazon.awscdk.services.codepipeline.CrossRegionSupport.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CrossRegionSupport>
- Enclosing interface:
- CrossRegionSupport
@Stability(Stable)
public static final class CrossRegionSupport.Builder
extends Object
implements software.amazon.jsii.Builder<CrossRegionSupport>
A builder for
CrossRegionSupport-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.replicationBucket(IBucket replicationBucket) Sets the value ofCrossRegionSupport.getReplicationBucket()Sets the value ofCrossRegionSupport.getStack()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
replicationBucket
Sets the value ofCrossRegionSupport.getReplicationBucket()- Parameters:
replicationBucket- The replication Bucket used by CodePipeline to operate in this region. This parameter is required. Belongs tostack.- Returns:
this
-
stack
Sets the value ofCrossRegionSupport.getStack()- Parameters:
stack- The Stack that has been created to house the replication Bucket required for this region. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CrossRegionSupport>- Returns:
- a new instance of
CrossRegionSupport - Throws:
NullPointerException- if any required attribute was not provided
-