Interface ListDocumentsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListDocumentsResponse.Builder,ListDocumentsResponse>
,SdkBuilder<ListDocumentsResponse.Builder,ListDocumentsResponse>
,SdkPojo
,SdkResponse.Builder
,SsmResponse.Builder
- Enclosing class:
- ListDocumentsResponse
public static interface ListDocumentsResponse.Builder extends SsmResponse.Builder, SdkPojo, CopyableBuilder<ListDocumentsResponse.Builder,ListDocumentsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListDocumentsResponse.Builder
documentIdentifiers(Collection<DocumentIdentifier> documentIdentifiers)
The names of the SSM documents.ListDocumentsResponse.Builder
documentIdentifiers(Consumer<DocumentIdentifier.Builder>... documentIdentifiers)
The names of the SSM documents.ListDocumentsResponse.Builder
documentIdentifiers(DocumentIdentifier... documentIdentifiers)
The names of the SSM documents.ListDocumentsResponse.Builder
nextToken(String nextToken)
The token to use when requesting the next set of items.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
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
-
Methods inherited from interface software.amazon.awssdk.services.ssm.model.SsmResponse.Builder
build, responseMetadata, responseMetadata
-
-
-
-
Method Detail
-
documentIdentifiers
ListDocumentsResponse.Builder documentIdentifiers(Collection<DocumentIdentifier> documentIdentifiers)
The names of the SSM documents.
- Parameters:
documentIdentifiers
- The names of the SSM documents.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documentIdentifiers
ListDocumentsResponse.Builder documentIdentifiers(DocumentIdentifier... documentIdentifiers)
The names of the SSM documents.
- Parameters:
documentIdentifiers
- The names of the SSM documents.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documentIdentifiers
ListDocumentsResponse.Builder documentIdentifiers(Consumer<DocumentIdentifier.Builder>... documentIdentifiers)
The names of the SSM documents.
This is a convenience method that creates an instance of theDocumentIdentifier.Builder
avoiding the need to create one manually viaDocumentIdentifier.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#documentIdentifiers(List
.) - Parameters:
documentIdentifiers
- a consumer that will call methods onDocumentIdentifier.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#documentIdentifiers(java.util.Collection
)
-
nextToken
ListDocumentsResponse.Builder nextToken(String nextToken)
The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.
- Parameters:
nextToken
- The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-