Interface DescribeVpcClassicLinkResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeVpcClassicLinkResponse.Builder,,DescribeVpcClassicLinkResponse> Ec2Response.Builder,SdkBuilder<DescribeVpcClassicLinkResponse.Builder,,DescribeVpcClassicLinkResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeVpcClassicLinkResponse
public static interface DescribeVpcClassicLinkResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<DescribeVpcClassicLinkResponse.Builder,DescribeVpcClassicLinkResponse>
-
Method Summary
Modifier and TypeMethodDescriptionvpcs(Collection<VpcClassicLink> vpcs) The ClassicLink status of the VPCs.vpcs(Consumer<VpcClassicLink.Builder>... vpcs) The ClassicLink status of the VPCs.vpcs(VpcClassicLink... vpcs) The ClassicLink status of the VPCs.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
-
vpcs
The ClassicLink status of the VPCs.
- Parameters:
vpcs- The ClassicLink status of the VPCs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcs
The ClassicLink status of the VPCs.
- Parameters:
vpcs- The ClassicLink status of the VPCs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcs
The ClassicLink status of the VPCs.
This is a convenience method that creates an instance of theVpcClassicLink.Builderavoiding the need to create one manually viaVpcClassicLink.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovpcs(List<VpcClassicLink>).- Parameters:
vpcs- a consumer that will call methods onVpcClassicLink.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-