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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ModifyVpcPeeringConnectionOptionsResponse.BuilderaccepterPeeringConnectionOptions(Consumer<PeeringConnectionOptions.Builder> accepterPeeringConnectionOptions)Information about the VPC peering connection options for the accepter VPC.ModifyVpcPeeringConnectionOptionsResponse.BuilderaccepterPeeringConnectionOptions(PeeringConnectionOptions accepterPeeringConnectionOptions)Information about the VPC peering connection options for the accepter VPC.default ModifyVpcPeeringConnectionOptionsResponse.BuilderrequesterPeeringConnectionOptions(Consumer<PeeringConnectionOptions.Builder> requesterPeeringConnectionOptions)Information about the VPC peering connection options for the requester VPC.ModifyVpcPeeringConnectionOptionsResponse.BuilderrequesterPeeringConnectionOptions(PeeringConnectionOptions requesterPeeringConnectionOptions)Information about the VPC peering connection options for the requester VPC.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
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:
accepterPeeringConnectionOptions(PeeringConnectionOptions)
-
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:
requesterPeeringConnectionOptions(PeeringConnectionOptions)
-
-