Interface ListDataSourceAttachmentsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListDataSourceAttachmentsResponse.Builder,,ListDataSourceAttachmentsResponse> OpenSearchResponse.Builder,SdkBuilder<ListDataSourceAttachmentsResponse.Builder,,ListDataSourceAttachmentsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListDataSourceAttachmentsResponse
@Mutable
@NotThreadSafe
public static interface ListDataSourceAttachmentsResponse.Builder
extends OpenSearchResponse.Builder, SdkPojo, CopyableBuilder<ListDataSourceAttachmentsResponse.Builder,ListDataSourceAttachmentsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionattachments(Collection<DataSourceAttachmentSummary> attachments) A list of data source attachment summaries for the specified application.attachments(Consumer<DataSourceAttachmentSummary.Builder>... attachments) A list of data source attachment summaries for the specified application.attachments(DataSourceAttachmentSummary... attachments) A list of data source attachment summaries for the specified application.The pagination token to use in a subsequent call to retrieve the next set of results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.opensearch.model.OpenSearchResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
attachments
ListDataSourceAttachmentsResponse.Builder attachments(Collection<DataSourceAttachmentSummary> attachments) A list of data source attachment summaries for the specified application.
- Parameters:
attachments- A list of data source attachment summaries for the specified application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attachments
A list of data source attachment summaries for the specified application.
- Parameters:
attachments- A list of data source attachment summaries for the specified application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attachments
ListDataSourceAttachmentsResponse.Builder attachments(Consumer<DataSourceAttachmentSummary.Builder>... attachments) A list of data source attachment summaries for the specified application.
This is a convenience method that creates an instance of theDataSourceAttachmentSummary.Builderavoiding the need to create one manually viaDataSourceAttachmentSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toattachments(List<DataSourceAttachmentSummary>).- Parameters:
attachments- a consumer that will call methods onDataSourceAttachmentSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The pagination token to use in a subsequent call to retrieve the next set of results.
- Parameters:
nextToken- The pagination token to use in a subsequent call to retrieve the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-