Interface ModifyVpcPeeringConnectionOptionsRequest.Builder
- All Superinterfaces:
- AwsRequest.Builder,- Buildable,- CopyableBuilder<ModifyVpcPeeringConnectionOptionsRequest.Builder,,- ModifyVpcPeeringConnectionOptionsRequest> - Ec2Request.Builder,- SdkBuilder<ModifyVpcPeeringConnectionOptionsRequest.Builder,,- ModifyVpcPeeringConnectionOptionsRequest> - SdkPojo,- SdkRequest.Builder
- Enclosing class:
- ModifyVpcPeeringConnectionOptionsRequest
- 
Method SummaryModifier and TypeMethodDescriptionaccepterPeeringConnectionOptions(Consumer<PeeringConnectionOptionsRequest.Builder> accepterPeeringConnectionOptions) The VPC peering connection options for the accepter VPC.accepterPeeringConnectionOptions(PeeringConnectionOptionsRequest accepterPeeringConnectionOptions) The VPC peering connection options for the accepter VPC.Checks whether you have the required permissions for the action, without actually making the request, and provides an error response.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.requesterPeeringConnectionOptions(Consumer<PeeringConnectionOptionsRequest.Builder> requesterPeeringConnectionOptions) The VPC peering connection options for the requester VPC.requesterPeeringConnectionOptions(PeeringConnectionOptionsRequest requesterPeeringConnectionOptions) The VPC peering connection options for the requester VPC.vpcPeeringConnectionId(String vpcPeeringConnectionId) The ID of the VPC peering connection.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.BuilderoverrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Request.BuilderbuildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
accepterPeeringConnectionOptionsModifyVpcPeeringConnectionOptionsRequest.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.
 
- 
accepterPeeringConnectionOptionsdefault 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.Builderavoiding the need to create one manually viaPeeringConnectionOptionsRequest.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaccepterPeeringConnectionOptions(PeeringConnectionOptionsRequest).- Parameters:
- accepterPeeringConnectionOptions- a consumer that will call methods on- PeeringConnectionOptionsRequest.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
dryRunChecks 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 is- DryRunOperation. Otherwise, it is- UnauthorizedOperation.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
requesterPeeringConnectionOptionsModifyVpcPeeringConnectionOptionsRequest.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.
 
- 
requesterPeeringConnectionOptionsdefault 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.Builderavoiding the need to create one manually viaPeeringConnectionOptionsRequest.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torequesterPeeringConnectionOptions(PeeringConnectionOptionsRequest).- Parameters:
- requesterPeeringConnectionOptions- a consumer that will call methods on- PeeringConnectionOptionsRequest.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
vpcPeeringConnectionIdModifyVpcPeeringConnectionOptionsRequest.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.
 
- 
overrideConfigurationModifyVpcPeeringConnectionOptionsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- overrideConfiguration- The override configuration.
- Returns:
- This object for method chaining.
 
- 
overrideConfigurationModifyVpcPeeringConnectionOptionsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- builderConsumer- A- Consumerto which an empty- AwsRequestOverrideConfiguration.Builderwill be given.
- Returns:
- This object for method chaining.
 
 
-