Interface DescribeVpcPeeringAuthorizationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeVpcPeeringAuthorizationsResponse.Builder,,DescribeVpcPeeringAuthorizationsResponse> GameLiftResponse.Builder,SdkBuilder<DescribeVpcPeeringAuthorizationsResponse.Builder,,DescribeVpcPeeringAuthorizationsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeVpcPeeringAuthorizationsResponse
@Mutable
@NotThreadSafe
public static interface DescribeVpcPeeringAuthorizationsResponse.Builder
extends GameLiftResponse.Builder, SdkPojo, CopyableBuilder<DescribeVpcPeeringAuthorizationsResponse.Builder,DescribeVpcPeeringAuthorizationsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionvpcPeeringAuthorizations(Collection<VpcPeeringAuthorization> vpcPeeringAuthorizations) A collection of objects that describe all valid VPC peering operations for the current Amazon Web Services account.vpcPeeringAuthorizations(Consumer<VpcPeeringAuthorization.Builder>... vpcPeeringAuthorizations) A collection of objects that describe all valid VPC peering operations for the current Amazon Web Services account.vpcPeeringAuthorizations(VpcPeeringAuthorization... vpcPeeringAuthorizations) A collection of objects that describe all valid VPC peering operations for the current Amazon Web Services account.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.gamelift.model.GameLiftResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
vpcPeeringAuthorizations
DescribeVpcPeeringAuthorizationsResponse.Builder vpcPeeringAuthorizations(Collection<VpcPeeringAuthorization> vpcPeeringAuthorizations) A collection of objects that describe all valid VPC peering operations for the current Amazon Web Services account.
- Parameters:
vpcPeeringAuthorizations- A collection of objects that describe all valid VPC peering operations for the current Amazon Web Services account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcPeeringAuthorizations
DescribeVpcPeeringAuthorizationsResponse.Builder vpcPeeringAuthorizations(VpcPeeringAuthorization... vpcPeeringAuthorizations) A collection of objects that describe all valid VPC peering operations for the current Amazon Web Services account.
- Parameters:
vpcPeeringAuthorizations- A collection of objects that describe all valid VPC peering operations for the current Amazon Web Services account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcPeeringAuthorizations
DescribeVpcPeeringAuthorizationsResponse.Builder vpcPeeringAuthorizations(Consumer<VpcPeeringAuthorization.Builder>... vpcPeeringAuthorizations) A collection of objects that describe all valid VPC peering operations for the current Amazon Web Services account.
This is a convenience method that creates an instance of theVpcPeeringAuthorization.Builderavoiding the need to create one manually viaVpcPeeringAuthorization.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovpcPeeringAuthorizations(List<VpcPeeringAuthorization>).- Parameters:
vpcPeeringAuthorizations- a consumer that will call methods onVpcPeeringAuthorization.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-