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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListCrossAccountAttachmentsResponse.BuildercrossAccountAttachments(Collection<Attachment> crossAccountAttachments)Information about the cross-account attachments.ListCrossAccountAttachmentsResponse.BuildercrossAccountAttachments(Consumer<Attachment.Builder>... crossAccountAttachments)Information about the cross-account attachments.ListCrossAccountAttachmentsResponse.BuildercrossAccountAttachments(Attachment... crossAccountAttachments)Information about the cross-account attachments.ListCrossAccountAttachmentsResponse.BuildernextToken(String nextToken)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 Detail
-
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.Builderavoiding the need to create one manually viaAttachment.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#crossAccountAttachments(List.) - 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:
#crossAccountAttachments(java.util.Collection)
-
nextToken
ListCrossAccountAttachmentsResponse.Builder nextToken(String 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.
-
-