Interface GetResourceActivitiesQueryResultsResponse.Builder
- All Superinterfaces:
AssuranceResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<GetResourceActivitiesQueryResultsResponse.Builder,,GetResourceActivitiesQueryResultsResponse> SdkBuilder<GetResourceActivitiesQueryResultsResponse.Builder,,GetResourceActivitiesQueryResultsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetResourceActivitiesQueryResultsResponse
-
Method Summary
Modifier and TypeMethodDescriptionentries(Collection<ResourceActivitiesEntry> entries) A page of query results.entries(Consumer<ResourceActivitiesEntry.Builder>... entries) A page of query results.entries(ResourceActivitiesEntry... entries) A page of query results.The pagination token for the next page of results.The status of the query.status(ResourceActivitiesQueryStatus status) The status of the query.Methods inherited from interface software.amazon.awssdk.services.assurance.model.AssuranceResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkHttpResponse
-
Method Details
-
status
The status of the query. Valid values:
-
COMPLETE– The query finished, and the results are available. -
EXPIRED– The query and its results are no longer available. Start a new query. -
FAILED– The query failed, and no results are available. -
RUNNING– The query is still running. Call the operation again later.
- Parameters:
status- The status of the query. Valid values:-
COMPLETE– The query finished, and the results are available. -
EXPIRED– The query and its results are no longer available. Start a new query. -
FAILED– The query failed, and no results are available. -
RUNNING– The query is still running. Call the operation again later.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
status
The status of the query. Valid values:
-
COMPLETE– The query finished, and the results are available. -
EXPIRED– The query and its results are no longer available. Start a new query. -
FAILED– The query failed, and no results are available. -
RUNNING– The query is still running. Call the operation again later.
- Parameters:
status- The status of the query. Valid values:-
COMPLETE– The query finished, and the results are available. -
EXPIRED– The query and its results are no longer available. Start a new query. -
FAILED– The query failed, and no results are available. -
RUNNING– The query is still running. Call the operation again later.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
entries
GetResourceActivitiesQueryResultsResponse.Builder entries(Collection<ResourceActivitiesEntry> entries) A page of query results. The response includes this field only when
statusisCOMPLETEand the query found activity.- Parameters:
entries- A page of query results. The response includes this field only whenstatusisCOMPLETEand the query found activity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entries
A page of query results. The response includes this field only when
statusisCOMPLETEand the query found activity.- Parameters:
entries- A page of query results. The response includes this field only whenstatusisCOMPLETEand the query found activity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entries
GetResourceActivitiesQueryResultsResponse.Builder entries(Consumer<ResourceActivitiesEntry.Builder>... entries) A page of query results. The response includes this field only when
This is a convenience method that creates an instance of thestatusisCOMPLETEand the query found activity.ResourceActivitiesEntry.Builderavoiding the need to create one manually viaResourceActivitiesEntry.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toentries(List<ResourceActivitiesEntry>).- Parameters:
entries- a consumer that will call methods onResourceActivitiesEntry.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The pagination token for the next page of results. The response includes this field only when
statusisCOMPLETEand more results are available.- Parameters:
nextToken- The pagination token for the next page of results. The response includes this field only whenstatusisCOMPLETEand more results are available.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-