Interface UpdateCrossAccountAttachmentResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<UpdateCrossAccountAttachmentResponse.Builder,
,UpdateCrossAccountAttachmentResponse> GlobalAcceleratorResponse.Builder
,SdkBuilder<UpdateCrossAccountAttachmentResponse.Builder,
,UpdateCrossAccountAttachmentResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
UpdateCrossAccountAttachmentResponse
public static interface UpdateCrossAccountAttachmentResponse.Builder
extends GlobalAcceleratorResponse.Builder, SdkPojo, CopyableBuilder<UpdateCrossAccountAttachmentResponse.Builder,UpdateCrossAccountAttachmentResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncrossAccountAttachment
(Consumer<Attachment.Builder> crossAccountAttachment) Information about the updated cross-account attachment.crossAccountAttachment
(Attachment crossAccountAttachment) Information about the updated cross-account attachment.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.globalaccelerator.model.GlobalAcceleratorResponse.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 Details
-
crossAccountAttachment
UpdateCrossAccountAttachmentResponse.Builder crossAccountAttachment(Attachment crossAccountAttachment) Information about the updated cross-account attachment.
- Parameters:
crossAccountAttachment
- Information about the updated cross-account attachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
crossAccountAttachment
default UpdateCrossAccountAttachmentResponse.Builder crossAccountAttachment(Consumer<Attachment.Builder> crossAccountAttachment) Information about the updated cross-account attachment.
This is a convenience method that creates an instance of theAttachment.Builder
avoiding the need to create one manually viaAttachment.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocrossAccountAttachment(Attachment)
.- Parameters:
crossAccountAttachment
- a consumer that will call methods onAttachment.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-