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 aListOperationsrequest.For the firstListOperationsrequest, 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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.services.servicediscovery.model.ServiceDiscoveryRequest.Builder
build
-
Method Details
-
nextToken
For the first
ListOperationsrequest, omit this value.If the response contains
NextToken, submit anotherListOperationsrequest to get the next group of results. Specify the value ofNextTokenfrom the previous response in the next request.Cloud Map gets
MaxResultsoperations and then filters them based on the specified criteria. It's possible that no operations in the firstMaxResultsoperations matched the specified criteria but that subsequent groups ofMaxResultsoperations do contain operations that match the criteria.- Parameters:
nextToken- For the firstListOperationsrequest, omit this value.If the response contains
NextToken, submit anotherListOperationsrequest to get the next group of results. Specify the value ofNextTokenfrom the previous response in the next request.Cloud Map gets
MaxResultsoperations and then filters them based on the specified criteria. It's possible that no operations in the firstMaxResultsoperations matched the specified criteria but that subsequent groups ofMaxResultsoperations 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
ListOperationsrequest. 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 aListOperationsrequest. 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.Builderavoiding the need to create one manually viaOperationFilter.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-