Interface ModifyVpcPeeringConnectionOptionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ModifyVpcPeeringConnectionOptionsResponse.Builder,,ModifyVpcPeeringConnectionOptionsResponse> Ec2Response.Builder,SdkBuilder<ModifyVpcPeeringConnectionOptionsResponse.Builder,,ModifyVpcPeeringConnectionOptionsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ModifyVpcPeeringConnectionOptionsResponse
public static interface ModifyVpcPeeringConnectionOptionsResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<ModifyVpcPeeringConnectionOptionsResponse.Builder,ModifyVpcPeeringConnectionOptionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionaccepterPeeringConnectionOptions(Consumer<PeeringConnectionOptions.Builder> accepterPeeringConnectionOptions) Information about the VPC peering connection options for the accepter VPC.accepterPeeringConnectionOptions(PeeringConnectionOptions accepterPeeringConnectionOptions) Information about the VPC peering connection options for the accepter VPC.requesterPeeringConnectionOptions(Consumer<PeeringConnectionOptions.Builder> requesterPeeringConnectionOptions) Information about the VPC peering connection options for the requester VPC.requesterPeeringConnectionOptions(PeeringConnectionOptions requesterPeeringConnectionOptions) Information about the VPC peering connection options for the requester VPC.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
accepterPeeringConnectionOptions
ModifyVpcPeeringConnectionOptionsResponse.Builder accepterPeeringConnectionOptions(PeeringConnectionOptions accepterPeeringConnectionOptions) Information about the VPC peering connection options for the accepter VPC.
- Parameters:
accepterPeeringConnectionOptions- Information about 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 ModifyVpcPeeringConnectionOptionsResponse.Builder accepterPeeringConnectionOptions(Consumer<PeeringConnectionOptions.Builder> accepterPeeringConnectionOptions) Information about the VPC peering connection options for the accepter VPC.
This is a convenience method that creates an instance of thePeeringConnectionOptions.Builderavoiding the need to create one manually viaPeeringConnectionOptions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaccepterPeeringConnectionOptions(PeeringConnectionOptions).- Parameters:
accepterPeeringConnectionOptions- a consumer that will call methods onPeeringConnectionOptions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
requesterPeeringConnectionOptions
ModifyVpcPeeringConnectionOptionsResponse.Builder requesterPeeringConnectionOptions(PeeringConnectionOptions requesterPeeringConnectionOptions) Information about the VPC peering connection options for the requester VPC.
- Parameters:
requesterPeeringConnectionOptions- Information about 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 ModifyVpcPeeringConnectionOptionsResponse.Builder requesterPeeringConnectionOptions(Consumer<PeeringConnectionOptions.Builder> requesterPeeringConnectionOptions) Information about the VPC peering connection options for the requester VPC.
This is a convenience method that creates an instance of thePeeringConnectionOptions.Builderavoiding the need to create one manually viaPeeringConnectionOptions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torequesterPeeringConnectionOptions(PeeringConnectionOptions).- Parameters:
requesterPeeringConnectionOptions- a consumer that will call methods onPeeringConnectionOptions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-