Interface ListOperationsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ListOperationsRequest.Builder,
,ListOperationsRequest> SdkBuilder<ListOperationsRequest.Builder,
,ListOperationsRequest> SdkPojo
,SdkRequest.Builder
,ServiceDiscoveryRequest.Builder
- Enclosing class:
ListOperationsRequest
-
Method Summary
Modifier and TypeMethodDescriptionfilters
(Collection<OperationFilter> filters) A complex type that contains specifications for the operations that you want to list, for example, operations that you started between a specified start date and end date.filters
(Consumer<OperationFilter.Builder>... filters) A complex type that contains specifications for the operations that you want to list, for example, operations that you started between a specified start date and end date.filters
(OperationFilter... filters) A complex type that contains specifications for the operations that you want to list, for example, operations that you started between a specified start date and end date.maxResults
(Integer maxResults) The maximum number of items that you want Cloud Map to return in the response to aListOperations
request.For the firstListOperations
request, omit this value.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.servicediscovery.model.ServiceDiscoveryRequest.Builder
build
-
Method Details
-
nextToken
For the first
ListOperations
request, omit this value.If the response contains
NextToken
, submit anotherListOperations
request to get the next group of results. Specify the value ofNextToken
from the previous response in the next request.Cloud Map gets
MaxResults
operations and then filters them based on the specified criteria. It's possible that no operations in the firstMaxResults
operations matched the specified criteria but that subsequent groups ofMaxResults
operations do contain operations that match the criteria.- Parameters:
nextToken
- For the firstListOperations
request, omit this value.If the response contains
NextToken
, submit anotherListOperations
request to get the next group of results. Specify the value ofNextToken
from the previous response in the next request.Cloud Map gets
MaxResults
operations and then filters them based on the specified criteria. It's possible that no operations in the firstMaxResults
operations matched the specified criteria but that subsequent groups ofMaxResults
operations do contain operations that match the criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
The maximum number of items that you want Cloud Map to return in the response to a
ListOperations
request. If you don't specify a value forMaxResults
, Cloud Map returns up to 100 operations.- Parameters:
maxResults
- The maximum number of items that you want Cloud Map to return in the response to aListOperations
request. If you don't specify a value forMaxResults
, Cloud Map returns up to 100 operations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
A complex type that contains specifications for the operations that you want to list, for example, operations that you started between a specified start date and end date.
If you specify more than one filter, an operation must match all filters to be returned by
ListOperations
.- Parameters:
filters
- A complex type that contains specifications for the operations that you want to list, for example, operations that you started between a specified start date and end date.If you specify more than one filter, an operation must match all filters to be returned by
ListOperations
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
A complex type that contains specifications for the operations that you want to list, for example, operations that you started between a specified start date and end date.
If you specify more than one filter, an operation must match all filters to be returned by
ListOperations
.- Parameters:
filters
- A complex type that contains specifications for the operations that you want to list, for example, operations that you started between a specified start date and end date.If you specify more than one filter, an operation must match all filters to be returned by
ListOperations
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
A complex type that contains specifications for the operations that you want to list, for example, operations that you started between a specified start date and end date.
If you specify more than one filter, an operation must match all filters to be returned by
This is a convenience method that creates an instance of theListOperations
.OperationFilter.Builder
avoiding the need to create one manually viaOperationFilter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofilters(List<OperationFilter>)
.- Parameters:
filters
- a consumer that will call methods onOperationFilter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
ListOperationsRequest.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
ListOperationsRequest.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.
-