public static interface ModifyVpcPeeringConnectionOptionsRequest.Builder extends EC2Request.Builder, CopyableBuilder<ModifyVpcPeeringConnectionOptionsRequest.Builder,ModifyVpcPeeringConnectionOptionsRequest>
build
requestOverrideConfig
copy
apply, 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 requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.ModifyVpcPeeringConnectionOptionsRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfig.Builder
will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.