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 anotherListOperationsrequest 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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods 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.Builderavoiding the need to create one manually viaOperationSummary.builder().When the
Consumercompletes,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 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- If the response containsNextToken, 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.
-