Interface CreateVpcAttachmentResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateVpcAttachmentResponse.Builder,CreateVpcAttachmentResponse>,NetworkManagerResponse.Builder,SdkBuilder<CreateVpcAttachmentResponse.Builder,CreateVpcAttachmentResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreateVpcAttachmentResponse
public static interface CreateVpcAttachmentResponse.Builder extends NetworkManagerResponse.Builder, SdkPojo, CopyableBuilder<CreateVpcAttachmentResponse.Builder,CreateVpcAttachmentResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreateVpcAttachmentResponse.BuildervpcAttachment(Consumer<VpcAttachment.Builder> vpcAttachment)Provides details about the VPC attachment.CreateVpcAttachmentResponse.BuildervpcAttachment(VpcAttachment vpcAttachment)Provides details about the VPC attachment.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.networkmanager.model.NetworkManagerResponse.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
-
vpcAttachment
CreateVpcAttachmentResponse.Builder vpcAttachment(VpcAttachment vpcAttachment)
Provides details about the VPC attachment.
- Parameters:
vpcAttachment- Provides details about the VPC attachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcAttachment
default CreateVpcAttachmentResponse.Builder vpcAttachment(Consumer<VpcAttachment.Builder> vpcAttachment)
Provides details about the 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:
vpcAttachment(VpcAttachment)
-
-