Interface ListOperationsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListOperationsResponse.Builder,ListOperationsResponse>,SdkBuilder<ListOperationsResponse.Builder,ListOperationsResponse>,SdkPojo,SdkResponse.Builder,ServiceDiscoveryResponse.Builder
- Enclosing class:
- ListOperationsResponse
public static interface ListOperationsResponse.Builder extends ServiceDiscoveryResponse.Builder, SdkPojo, CopyableBuilder<ListOperationsResponse.Builder,ListOperationsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListOperationsResponse.BuildernextToken(String nextToken)If the response containsNextToken, submit anotherListOperationsrequest to get the next group of results.ListOperationsResponse.Builderoperations(Collection<OperationSummary> operations)Summary information about the operations that match the specified criteria.ListOperationsResponse.Builderoperations(Consumer<OperationSummary.Builder>... operations)Summary information about the operations that match the specified criteria.ListOperationsResponse.Builderoperations(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, sdkFieldNameToField, 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 Detail
-
operations
ListOperationsResponse.Builder operations(Collection<OperationSummary> 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
ListOperationsResponse.Builder operations(OperationSummary... 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
ListOperationsResponse.Builder operations(Consumer<OperationSummary.Builder>... 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 to#operations(List.) - 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:
#operations(java.util.Collection)
-
nextToken
ListOperationsResponse.Builder nextToken(String 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.
-
-