Interface CreateOdbPeeringConnectionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateOdbPeeringConnectionRequest.Builder,,CreateOdbPeeringConnectionRequest> OdbRequest.Builder,SdkBuilder<CreateOdbPeeringConnectionRequest.Builder,,CreateOdbPeeringConnectionRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateOdbPeeringConnectionRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) The client token for the ODB peering connection request.displayName(String displayName) The display name for the ODB peering connection.odbNetworkId(String odbNetworkId) The unique identifier of the ODB network that initiates the peering connection.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.peerNetworkCidrsToBeAdded(String... peerNetworkCidrsToBeAdded) A list of CIDR blocks to add to the peering connection.peerNetworkCidrsToBeAdded(Collection<String> peerNetworkCidrsToBeAdded) A list of CIDR blocks to add to the peering connection.peerNetworkId(String peerNetworkId) The unique identifier of the peer network.The tags to assign to the ODB peering connection.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.odb.model.OdbRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
odbNetworkId
The unique identifier of the ODB network that initiates the peering connection.
- Parameters:
odbNetworkId- The unique identifier of the ODB network that initiates the peering connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
peerNetworkId
The unique identifier of the peer network. This can be either a VPC ID or another ODB network ID.
- Parameters:
peerNetworkId- The unique identifier of the peer network. This can be either a VPC ID or another ODB network ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
displayName
The display name for the ODB peering connection.
- Parameters:
displayName- The display name for the ODB peering connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
peerNetworkCidrsToBeAdded
CreateOdbPeeringConnectionRequest.Builder peerNetworkCidrsToBeAdded(Collection<String> peerNetworkCidrsToBeAdded) A list of CIDR blocks to add to the peering connection. These CIDR blocks define the IP address ranges that can communicate through the peering connection.
- Parameters:
peerNetworkCidrsToBeAdded- A list of CIDR blocks to add to the peering connection. These CIDR blocks define the IP address ranges that can communicate through the peering connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
peerNetworkCidrsToBeAdded
CreateOdbPeeringConnectionRequest.Builder peerNetworkCidrsToBeAdded(String... peerNetworkCidrsToBeAdded) A list of CIDR blocks to add to the peering connection. These CIDR blocks define the IP address ranges that can communicate through the peering connection.
- Parameters:
peerNetworkCidrsToBeAdded- A list of CIDR blocks to add to the peering connection. These CIDR blocks define the IP address ranges that can communicate through the peering connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
The client token for the ODB peering connection request.
Constraints:
-
Must be unique for each request.
- Parameters:
clientToken- The client token for the ODB peering connection request.Constraints:
-
Must be unique for each request.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
tags
The tags to assign to the ODB peering connection.
- Parameters:
tags- The tags to assign to the ODB peering connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateOdbPeeringConnectionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateOdbPeeringConnectionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-