Class CfnSourceNetworkPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.drs.CfnSourceNetworkPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSourceNetworkPropsMixin>
- Enclosing class:
CfnSourceNetworkPropsMixin
@Stability(Stable)
public static final class CfnSourceNetworkPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSourceNetworkPropsMixin>
A fluent builder for
CfnSourceNetworkPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) originAccountId(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 CfnSourceNetworkPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnSourceNetworkPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnSourceNetworkPropsMixin.Builder.
-
originAccountId
@Stability(Stable) public CfnSourceNetworkPropsMixin.Builder originAccountId(String 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:
-
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:
-
vpcId
The VPC ID to protect.- Parameters:
vpcId- The VPC ID to protect. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSourceNetworkPropsMixin>- Returns:
- a newly built instance of
CfnSourceNetworkPropsMixin.
-