Interface ListOperationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListOperationsResponse.Builder,
,ListOperationsResponse> SdkBuilder<ListOperationsResponse.Builder,
,ListOperationsResponse> SdkPojo
,SdkResponse.Builder
,ServiceDiscoveryResponse.Builder
- Enclosing class:
ListOperationsResponse
-
Method Summary
Modifier and TypeMethodDescriptionIf the response containsNextToken
, submit anotherListOperations
request to get the next group of results.operations
(Collection<OperationSummary> operations) Summary information about the operations that match the specified criteria.operations
(Consumer<OperationSummary.Builder>... operations) Summary information about the operations that match the specified criteria.operations
(OperationSummary... operations) Summary information about the operations that match the specified criteria.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.servicediscovery.model.ServiceDiscoveryResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
operations
Summary information about the operations that match the specified criteria.
- Parameters:
operations
- Summary information about the operations that match the specified criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
operations
Summary information about the operations that match the specified criteria.
- Parameters:
operations
- Summary information about the operations that match the specified criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
operations
Summary information about the operations that match the specified criteria.
This is a convenience method that creates an instance of theOperationSummary.Builder
avoiding the need to create one manually viaOperationSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooperations(List<OperationSummary>)
.- Parameters:
operations
- a consumer that will call methods onOperationSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
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
- If the response containsNextToken
, 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.
-