public static interface ModifyVpcPeeringConnectionOptionsRequest.Builder extends Ec2Request.Builder, CopyableBuilder<ModifyVpcPeeringConnectionOptionsRequest.Builder,ModifyVpcPeeringConnectionOptionsRequest>
build
overrideConfiguration
copy
applyMutation, build
ModifyVpcPeeringConnectionOptionsRequest.Builder accepterPeeringConnectionOptions(PeeringConnectionOptionsRequest accepterPeeringConnectionOptions)
The VPC peering connection options for the accepter VPC.
accepterPeeringConnectionOptions
- The VPC peering connection options for the accepter VPC.default ModifyVpcPeeringConnectionOptionsRequest.Builder accepterPeeringConnectionOptions(Consumer<PeeringConnectionOptionsRequest.Builder> accepterPeeringConnectionOptions)
The VPC peering connection options for the accepter VPC.
This is a convenience that creates an instance of thePeeringConnectionOptionsRequest.Builder
avoiding the need to create one manually via PeeringConnectionOptionsRequest.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called
immediately and its result is passed to
accepterPeeringConnectionOptions(PeeringConnectionOptionsRequest)
.accepterPeeringConnectionOptions
- a consumer that will call methods on PeeringConnectionOptionsRequest.Builder
accepterPeeringConnectionOptions(PeeringConnectionOptionsRequest)
ModifyVpcPeeringConnectionOptionsRequest.Builder requesterPeeringConnectionOptions(PeeringConnectionOptionsRequest requesterPeeringConnectionOptions)
The VPC peering connection options for the requester VPC.
requesterPeeringConnectionOptions
- The VPC peering connection options for the requester VPC.default ModifyVpcPeeringConnectionOptionsRequest.Builder requesterPeeringConnectionOptions(Consumer<PeeringConnectionOptionsRequest.Builder> requesterPeeringConnectionOptions)
The VPC peering connection options for the requester VPC.
This is a convenience that creates an instance of thePeeringConnectionOptionsRequest.Builder
avoiding the need to create one manually via PeeringConnectionOptionsRequest.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called
immediately and its result is passed to
requesterPeeringConnectionOptions(PeeringConnectionOptionsRequest)
.requesterPeeringConnectionOptions
- a consumer that will call methods on PeeringConnectionOptionsRequest.Builder
requesterPeeringConnectionOptions(PeeringConnectionOptionsRequest)
ModifyVpcPeeringConnectionOptionsRequest.Builder vpcPeeringConnectionId(String vpcPeeringConnectionId)
The ID of the VPC peering connection.
vpcPeeringConnectionId
- The ID of the VPC peering connection.ModifyVpcPeeringConnectionOptionsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.ModifyVpcPeeringConnectionOptionsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.