Interface ModifyVpcPeeringConnectionOptionsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ModifyVpcPeeringConnectionOptionsRequest.Builder,ModifyVpcPeeringConnectionOptionsRequest>
,Ec2Request.Builder
,SdkBuilder<ModifyVpcPeeringConnectionOptionsRequest.Builder,ModifyVpcPeeringConnectionOptionsRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- ModifyVpcPeeringConnectionOptionsRequest
public static interface ModifyVpcPeeringConnectionOptionsRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<ModifyVpcPeeringConnectionOptionsRequest.Builder,ModifyVpcPeeringConnectionOptionsRequest>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Request.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
accepterPeeringConnectionOptions
ModifyVpcPeeringConnectionOptionsRequest.Builder accepterPeeringConnectionOptions(PeeringConnectionOptionsRequest accepterPeeringConnectionOptions)
The VPC peering connection options for the accepter VPC.
- Parameters:
accepterPeeringConnectionOptions
- The VPC peering connection options for the accepter VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accepterPeeringConnectionOptions
default ModifyVpcPeeringConnectionOptionsRequest.Builder accepterPeeringConnectionOptions(Consumer<PeeringConnectionOptionsRequest.Builder> accepterPeeringConnectionOptions)
The VPC peering connection options for the accepter VPC.
This is a convenience method that creates an instance of thePeeringConnectionOptionsRequest.Builder
avoiding the need to create one manually viaPeeringConnectionOptionsRequest.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toaccepterPeeringConnectionOptions(PeeringConnectionOptionsRequest)
.- Parameters:
accepterPeeringConnectionOptions
- a consumer that will call methods onPeeringConnectionOptionsRequest.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
accepterPeeringConnectionOptions(PeeringConnectionOptionsRequest)
-
dryRun
ModifyVpcPeeringConnectionOptionsRequest.Builder dryRun(Boolean dryRun)
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation
. Otherwise, it isUnauthorizedOperation
.- Parameters:
dryRun
- Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response isDryRunOperation
. Otherwise, it isUnauthorizedOperation
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requesterPeeringConnectionOptions
ModifyVpcPeeringConnectionOptionsRequest.Builder requesterPeeringConnectionOptions(PeeringConnectionOptionsRequest requesterPeeringConnectionOptions)
The VPC peering connection options for the requester VPC.
- Parameters:
requesterPeeringConnectionOptions
- The VPC peering connection options for the requester VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requesterPeeringConnectionOptions
default ModifyVpcPeeringConnectionOptionsRequest.Builder requesterPeeringConnectionOptions(Consumer<PeeringConnectionOptionsRequest.Builder> requesterPeeringConnectionOptions)
The VPC peering connection options for the requester VPC.
This is a convenience method that creates an instance of thePeeringConnectionOptionsRequest.Builder
avoiding the need to create one manually viaPeeringConnectionOptionsRequest.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torequesterPeeringConnectionOptions(PeeringConnectionOptionsRequest)
.- Parameters:
requesterPeeringConnectionOptions
- a consumer that will call methods onPeeringConnectionOptionsRequest.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
requesterPeeringConnectionOptions(PeeringConnectionOptionsRequest)
-
vpcPeeringConnectionId
ModifyVpcPeeringConnectionOptionsRequest.Builder vpcPeeringConnectionId(String vpcPeeringConnectionId)
The ID of the VPC peering connection.
- Parameters:
vpcPeeringConnectionId
- The ID of the VPC peering connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ModifyVpcPeeringConnectionOptionsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
ModifyVpcPeeringConnectionOptionsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-