Interface GetVpcAttachmentResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetVpcAttachmentResponse.Builder,,GetVpcAttachmentResponse> NetworkManagerResponse.Builder,SdkBuilder<GetVpcAttachmentResponse.Builder,,GetVpcAttachmentResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetVpcAttachmentResponse
@Mutable
@NotThreadSafe
public static interface GetVpcAttachmentResponse.Builder
extends NetworkManagerResponse.Builder, SdkPojo, CopyableBuilder<GetVpcAttachmentResponse.Builder,GetVpcAttachmentResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetVpcAttachmentResponse.BuildervpcAttachment(Consumer<VpcAttachment.Builder> vpcAttachment) Returns details about a VPC attachment.vpcAttachment(VpcAttachment vpcAttachment) Returns details about a VPC attachment.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.networkmanager.model.NetworkManagerResponse.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
-
vpcAttachment
Returns details about a VPC attachment.
- Parameters:
vpcAttachment- Returns details about a VPC attachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcAttachment
default GetVpcAttachmentResponse.Builder vpcAttachment(Consumer<VpcAttachment.Builder> vpcAttachment) Returns details about a VPC attachment.
This is a convenience method that creates an instance of theVpcAttachment.Builderavoiding the need to create one manually viaVpcAttachment.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovpcAttachment(VpcAttachment).- Parameters:
vpcAttachment- a consumer that will call methods onVpcAttachment.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-