Interface ListDocumentsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ListDocumentsRequest.Builder,
,ListDocumentsRequest> SdkBuilder<ListDocumentsRequest.Builder,
,ListDocumentsRequest> SdkPojo
,SdkRequest.Builder
,SsmRequest.Builder
- Enclosing class:
ListDocumentsRequest
-
Method Summary
Modifier and TypeMethodDescriptiondocumentFilterList
(Collection<DocumentFilter> documentFilterList) This data type is deprecated.documentFilterList
(Consumer<DocumentFilter.Builder>... documentFilterList) This data type is deprecated.documentFilterList
(DocumentFilter... documentFilterList) This data type is deprecated.filters
(Collection<DocumentKeyValuesFilter> filters) One or moreDocumentKeyValuesFilter
objects.filters
(Consumer<DocumentKeyValuesFilter.Builder>... filters) One or moreDocumentKeyValuesFilter
objects.filters
(DocumentKeyValuesFilter... filters) One or moreDocumentKeyValuesFilter
objects.maxResults
(Integer maxResults) The maximum number of items to return for this call.The token for the next set of items to return.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
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.services.ssm.model.SsmRequest.Builder
build
-
Method Details
-
documentFilterList
This data type is deprecated. Instead, use
Filters
.- Parameters:
documentFilterList
- This data type is deprecated. Instead, useFilters
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documentFilterList
This data type is deprecated. Instead, use
Filters
.- Parameters:
documentFilterList
- This data type is deprecated. Instead, useFilters
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documentFilterList
ListDocumentsRequest.Builder documentFilterList(Consumer<DocumentFilter.Builder>... documentFilterList) This data type is deprecated. Instead, use
This is a convenience method that creates an instance of theFilters
.DocumentFilter.Builder
avoiding the need to create one manually viaDocumentFilter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todocumentFilterList(List<DocumentFilter>)
.- Parameters:
documentFilterList
- a consumer that will call methods onDocumentFilter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
filters
One or more
DocumentKeyValuesFilter
objects. Use a filter to return a more specific list of results. For keys, you can specify one or more key-value pair tags that have been applied to a document. Other valid keys includeOwner
,Name
,PlatformTypes
,DocumentType
, andTargetType
. For example, to return documents you own useKey=Owner,Values=Self
. To specify a custom key-value pair, use the formatKey=tag:tagName,Values=valueName
.This API operation only supports filtering documents by using a single tag key and one or more tag values. For example:
Key=tag:tagName,Values=valueName1,valueName2
- Parameters:
filters
- One or moreDocumentKeyValuesFilter
objects. Use a filter to return a more specific list of results. For keys, you can specify one or more key-value pair tags that have been applied to a document. Other valid keys includeOwner
,Name
,PlatformTypes
,DocumentType
, andTargetType
. For example, to return documents you own useKey=Owner,Values=Self
. To specify a custom key-value pair, use the formatKey=tag:tagName,Values=valueName
.This API operation only supports filtering documents by using a single tag key and one or more tag values. For example:
Key=tag:tagName,Values=valueName1,valueName2
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
One or more
DocumentKeyValuesFilter
objects. Use a filter to return a more specific list of results. For keys, you can specify one or more key-value pair tags that have been applied to a document. Other valid keys includeOwner
,Name
,PlatformTypes
,DocumentType
, andTargetType
. For example, to return documents you own useKey=Owner,Values=Self
. To specify a custom key-value pair, use the formatKey=tag:tagName,Values=valueName
.This API operation only supports filtering documents by using a single tag key and one or more tag values. For example:
Key=tag:tagName,Values=valueName1,valueName2
- Parameters:
filters
- One or moreDocumentKeyValuesFilter
objects. Use a filter to return a more specific list of results. For keys, you can specify one or more key-value pair tags that have been applied to a document. Other valid keys includeOwner
,Name
,PlatformTypes
,DocumentType
, andTargetType
. For example, to return documents you own useKey=Owner,Values=Self
. To specify a custom key-value pair, use the formatKey=tag:tagName,Values=valueName
.This API operation only supports filtering documents by using a single tag key and one or more tag values. For example:
Key=tag:tagName,Values=valueName1,valueName2
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
One or more
DocumentKeyValuesFilter
objects. Use a filter to return a more specific list of results. For keys, you can specify one or more key-value pair tags that have been applied to a document. Other valid keys includeOwner
,Name
,PlatformTypes
,DocumentType
, andTargetType
. For example, to return documents you own useKey=Owner,Values=Self
. To specify a custom key-value pair, use the formatKey=tag:tagName,Values=valueName
.This API operation only supports filtering documents by using a single tag key and one or more tag values. For example:
Key=tag:tagName,Values=valueName1,valueName2
DocumentKeyValuesFilter.Builder
avoiding the need to create one manually viaDocumentKeyValuesFilter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofilters(List<DocumentKeyValuesFilter>)
.- Parameters:
filters
- a consumer that will call methods onDocumentKeyValuesFilter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
maxResults
The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
- Parameters:
maxResults
- The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
The token for the next set of items to return. (You received this token from a previous call.)
- Parameters:
nextToken
- The token for the next set of items to return. (You received this token from a previous call.)- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListDocumentsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ListDocumentsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-