Interface ListOperationsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListOperationsRequest.Builder,ListOperationsRequest>,SdkBuilder<ListOperationsRequest.Builder,ListOperationsRequest>,SdkPojo,SdkRequest.Builder,ServiceDiscoveryRequest.Builder
- Enclosing class:
- ListOperationsRequest
public static interface ListOperationsRequest.Builder extends ServiceDiscoveryRequest.Builder, SdkPojo, CopyableBuilder<ListOperationsRequest.Builder,ListOperationsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListOperationsRequest.Builderfilters(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.ListOperationsRequest.Builderfilters(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.ListOperationsRequest.Builderfilters(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.ListOperationsRequest.BuildermaxResults(Integer maxResults)The maximum number of items that you want Cloud Map to return in the response to aListOperationsrequest.ListOperationsRequest.BuildernextToken(String nextToken)For the firstListOperationsrequest, omit this value.ListOperationsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListOperationsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.services.servicediscovery.model.ServiceDiscoveryRequest.Builder
build
-
-
-
-
Method Detail
-
nextToken
ListOperationsRequest.Builder nextToken(String 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
ListOperationsRequest.Builder maxResults(Integer 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
ListOperationsRequest.Builder filters(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.
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
ListOperationsRequest.Builder 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.
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
ListOperationsRequest.Builder 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.
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 to#filters(List.) - 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:
#filters(java.util.Collection)
-
overrideConfiguration
ListOperationsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListOperationsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-