Class CfnSourceNetwork.Builder
java.lang.Object
software.amazon.awscdk.services.drs.CfnSourceNetwork.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSourceNetwork>
- Enclosing class:
CfnSourceNetwork
@Stability(Stable)
public static final class CfnSourceNetwork.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSourceNetwork>
A fluent builder for
CfnSourceNetwork.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnSourceNetwork.BuilderoriginAccountId(String originAccountId) The account ID containing the VPC to protect.originRegion(String originRegion) The region containing the VPC to protect.A set of tags associated with the Source Network.The VPC ID to protect.
-
Method Details
-
create
@Stability(Stable) public static CfnSourceNetwork.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnSourceNetwork.Builder.
-
originAccountId
The account ID containing the VPC to protect.- Parameters:
originAccountId- The account ID containing the VPC to protect. This parameter is required.- Returns:
this- See Also:
-
originRegion
The region containing the VPC to protect.- Parameters:
originRegion- The region containing the VPC to protect. This parameter is required.- Returns:
this- See Also:
-
vpcId
The VPC ID to protect.- Parameters:
vpcId- The VPC ID to protect. This parameter is required.- Returns:
this- See Also:
-
tags
A set of tags associated with the Source Network.- Parameters:
tags- A set of tags associated with the Source Network. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSourceNetwork>- Returns:
- a newly built instance of
CfnSourceNetwork.
-