Interface ListCrossAccountAttachmentsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListCrossAccountAttachmentsResponse.Builder,
,ListCrossAccountAttachmentsResponse> GlobalAcceleratorResponse.Builder
,SdkBuilder<ListCrossAccountAttachmentsResponse.Builder,
,ListCrossAccountAttachmentsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListCrossAccountAttachmentsResponse
public static interface ListCrossAccountAttachmentsResponse.Builder
extends GlobalAcceleratorResponse.Builder, SdkPojo, CopyableBuilder<ListCrossAccountAttachmentsResponse.Builder,ListCrossAccountAttachmentsResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncrossAccountAttachments
(Collection<Attachment> crossAccountAttachments) Information about the cross-account attachments.crossAccountAttachments
(Consumer<Attachment.Builder>... crossAccountAttachments) Information about the cross-account attachments.crossAccountAttachments
(Attachment... crossAccountAttachments) Information about the cross-account attachments.The token for the next set of results.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
-
crossAccountAttachments
ListCrossAccountAttachmentsResponse.Builder crossAccountAttachments(Collection<Attachment> crossAccountAttachments) Information about the cross-account attachments.
- Parameters:
crossAccountAttachments
- Information about the cross-account attachments.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
crossAccountAttachments
ListCrossAccountAttachmentsResponse.Builder crossAccountAttachments(Attachment... crossAccountAttachments) Information about the cross-account attachments.
- Parameters:
crossAccountAttachments
- Information about the cross-account attachments.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
crossAccountAttachments
ListCrossAccountAttachmentsResponse.Builder crossAccountAttachments(Consumer<Attachment.Builder>... crossAccountAttachments) Information about the cross-account attachments.
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 tocrossAccountAttachments(List<Attachment>)
.- Parameters:
crossAccountAttachments
- 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:
-
nextToken
The token for the next set of results. You receive this token from a previous call.
- Parameters:
nextToken
- The token for the next set of results. You receive this token from a previous call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-