Interface ListAttachmentsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListAttachmentsResponse.Builder,ListAttachmentsResponse>,NetworkManagerResponse.Builder,SdkBuilder<ListAttachmentsResponse.Builder,ListAttachmentsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListAttachmentsResponse
public static interface ListAttachmentsResponse.Builder extends NetworkManagerResponse.Builder, SdkPojo, CopyableBuilder<ListAttachmentsResponse.Builder,ListAttachmentsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListAttachmentsResponse.Builderattachments(Collection<Attachment> attachments)Describes the list of attachments.ListAttachmentsResponse.Builderattachments(Consumer<Attachment.Builder>... attachments)Describes the list of attachments.ListAttachmentsResponse.Builderattachments(Attachment... attachments)Describes the list of attachments.ListAttachmentsResponse.BuildernextToken(String nextToken)The token for the next page of results.-
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
-
attachments
ListAttachmentsResponse.Builder attachments(Collection<Attachment> attachments)
Describes the list of attachments.
- Parameters:
attachments- Describes the list of attachments.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attachments
ListAttachmentsResponse.Builder attachments(Attachment... attachments)
Describes the list of attachments.
- Parameters:
attachments- Describes the list of attachments.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attachments
ListAttachmentsResponse.Builder attachments(Consumer<Attachment.Builder>... attachments)
Describes the list of 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#attachments(List.) - Parameters:
attachments- 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:
#attachments(java.util.Collection)
-
nextToken
ListAttachmentsResponse.Builder nextToken(String nextToken)
The token for the next page of results.
- Parameters:
nextToken- The token for the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-