Class CfnOdbPeeringConnectionMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.odb.CfnOdbPeeringConnectionMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnOdbPeeringConnectionMixinProps>
- Enclosing interface:
CfnOdbPeeringConnectionMixinProps
@Stability(Stable)
public static final class CfnOdbPeeringConnectionMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnOdbPeeringConnectionMixinProps>
A builder for
CfnOdbPeeringConnectionMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadditionalPeerNetworkCidrs(List<String> additionalPeerNetworkCidrs) Sets the value ofCfnOdbPeeringConnectionMixinProps.getAdditionalPeerNetworkCidrs()build()Builds the configured instance.displayName(String displayName) Sets the value ofCfnOdbPeeringConnectionMixinProps.getDisplayName()odbNetworkId(String odbNetworkId) Sets the value ofCfnOdbPeeringConnectionMixinProps.getOdbNetworkId()peerNetworkId(String peerNetworkId) Sets the value ofCfnOdbPeeringConnectionMixinProps.getPeerNetworkId()peerNetworkRouteTableIds(List<String> peerNetworkRouteTableIds) Sets the value ofCfnOdbPeeringConnectionMixinProps.getPeerNetworkRouteTableIds()Sets the value ofCfnOdbPeeringConnectionMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
additionalPeerNetworkCidrs
@Stability(Stable) public CfnOdbPeeringConnectionMixinProps.Builder additionalPeerNetworkCidrs(List<String> additionalPeerNetworkCidrs) Sets the value ofCfnOdbPeeringConnectionMixinProps.getAdditionalPeerNetworkCidrs()- Parameters:
additionalPeerNetworkCidrs- The additional CIDR blocks for the ODB peering connection.- Returns:
this
-
displayName
Sets the value ofCfnOdbPeeringConnectionMixinProps.getDisplayName()- Parameters:
displayName- The display name of the ODB peering connection.- Returns:
this
-
odbNetworkId
@Stability(Stable) public CfnOdbPeeringConnectionMixinProps.Builder odbNetworkId(String odbNetworkId) Sets the value ofCfnOdbPeeringConnectionMixinProps.getOdbNetworkId()- Parameters:
odbNetworkId- The unique identifier of the ODB network.- Returns:
this
-
peerNetworkId
@Stability(Stable) public CfnOdbPeeringConnectionMixinProps.Builder peerNetworkId(String peerNetworkId) Sets the value ofCfnOdbPeeringConnectionMixinProps.getPeerNetworkId()- Parameters:
peerNetworkId- The unique identifier of the peer network.- Returns:
this
-
peerNetworkRouteTableIds
@Stability(Stable) public CfnOdbPeeringConnectionMixinProps.Builder peerNetworkRouteTableIds(List<String> peerNetworkRouteTableIds) Sets the value ofCfnOdbPeeringConnectionMixinProps.getPeerNetworkRouteTableIds()- Parameters:
peerNetworkRouteTableIds- The unique identifier of the VPC route table for which a route to the ODB network is automatically created during peering connection establishment.- Returns:
this
-
tags
@Stability(Stable) public CfnOdbPeeringConnectionMixinProps.Builder tags(List<? extends CfnTag> tags) Sets the value ofCfnOdbPeeringConnectionMixinProps.getTags()- Parameters:
tags- Tags to assign to the Odb peering connection.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnOdbPeeringConnectionMixinProps>- Returns:
- a new instance of
CfnOdbPeeringConnectionMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-