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 Summary
Modifier 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) overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) 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.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Request.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
-
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.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 onPeeringConnectionOptionsRequest.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.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 onPeeringConnectionOptionsRequest.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ModifyVpcPeeringConnectionOptionsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) - Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-