Class CfnOdbPeeringConnectionProps.Builder
java.lang.Object
software.amazon.awscdk.services.odb.CfnOdbPeeringConnectionProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnOdbPeeringConnectionProps>
- Enclosing interface:
CfnOdbPeeringConnectionProps
@Stability(Stable)
public static final class CfnOdbPeeringConnectionProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnOdbPeeringConnectionProps>
A builder for
CfnOdbPeeringConnectionProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.displayName(String displayName) Sets the value ofCfnOdbPeeringConnectionProps.getDisplayName()odbNetworkId(String odbNetworkId) Sets the value ofCfnOdbPeeringConnectionProps.getOdbNetworkId()peerNetworkId(String peerNetworkId) Sets the value ofCfnOdbPeeringConnectionProps.getPeerNetworkId()Sets the value ofCfnOdbPeeringConnectionProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
displayName
Sets the value ofCfnOdbPeeringConnectionProps.getDisplayName()- Parameters:
displayName- The display name of the ODB peering connection.- Returns:
this
-
odbNetworkId
Sets the value ofCfnOdbPeeringConnectionProps.getOdbNetworkId()- Parameters:
odbNetworkId- The unique identifier of the ODB network.- Returns:
this
-
peerNetworkId
Sets the value ofCfnOdbPeeringConnectionProps.getPeerNetworkId()- Parameters:
peerNetworkId- The unique identifier of the peer network.- Returns:
this
-
tags
Sets the value ofCfnOdbPeeringConnectionProps.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<CfnOdbPeeringConnectionProps>- Returns:
- a new instance of
CfnOdbPeeringConnectionProps - Throws:
NullPointerException- if any required attribute was not provided
-