Interface GetSessionsStatisticsAggregationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetSessionsStatisticsAggregationResponse.Builder,
,GetSessionsStatisticsAggregationResponse> DeadlineResponse.Builder
,SdkBuilder<GetSessionsStatisticsAggregationResponse.Builder,
,GetSessionsStatisticsAggregationResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetSessionsStatisticsAggregationResponse
-
Method Summary
Modifier and TypeMethodDescriptionIf Deadline Cloud returnsnextToken
, then there are more results available.statistics
(Collection<Statistics> statistics) The statistics for the specified fleets or queues.statistics
(Consumer<Statistics.Builder>... statistics) The statistics for the specified fleets or queues.statistics
(Statistics... statistics) The statistics for the specified fleets or queues.The status of the aggregated results.The status of the aggregated results.statusMessage
(String statusMessage) A message that describes the status.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.deadline.model.DeadlineResponse.Builder
build, responseMetadata, responseMetadata
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
-
Method Details
-
statistics
The statistics for the specified fleets or queues.
- Parameters:
statistics
- The statistics for the specified fleets or queues.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statistics
The statistics for the specified fleets or queues.
- Parameters:
statistics
- The statistics for the specified fleets or queues.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statistics
GetSessionsStatisticsAggregationResponse.Builder statistics(Consumer<Statistics.Builder>... statistics) The statistics for the specified fleets or queues.
This is a convenience method that creates an instance of theStatistics.Builder
avoiding the need to create one manually viaStatistics.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostatistics(List<Statistics>)
.- Parameters:
statistics
- a consumer that will call methods onStatistics.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
If Deadline Cloud returns
nextToken
, then there are more results available. The value ofnextToken
is a unique pagination token for each page. To retrieve the next page, call the operation again using the returned token. Keep all other arguments unchanged. If no results remain, thennextToken
is set tonull
. Each pagination token expires after 24 hours. If you provide a token that isn't valid, then you receive an HTTP 400ValidationException
error.- Parameters:
nextToken
- If Deadline Cloud returnsnextToken
, then there are more results available. The value ofnextToken
is a unique pagination token for each page. To retrieve the next page, call the operation again using the returned token. Keep all other arguments unchanged. If no results remain, thennextToken
is set tonull
. Each pagination token expires after 24 hours. If you provide a token that isn't valid, then you receive an HTTP 400ValidationException
error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the aggregated results. An aggregation may fail or time out if the results are too large. If this happens, you can call the
StartSessionsStatisticsAggregation
operation after you reduce the aggregation time frame, reduce the number of queues or fleets in the aggregation, or increase the period length.If you call the
StartSessionsStatisticsAggregation
operation when the status isIN_PROGRESS
, you will receive aThrottlingException
.- Parameters:
status
- The status of the aggregated results. An aggregation may fail or time out if the results are too large. If this happens, you can call theStartSessionsStatisticsAggregation
operation after you reduce the aggregation time frame, reduce the number of queues or fleets in the aggregation, or increase the period length.If you call the
StartSessionsStatisticsAggregation
operation when the status isIN_PROGRESS
, you will receive aThrottlingException
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the aggregated results. An aggregation may fail or time out if the results are too large. If this happens, you can call the
StartSessionsStatisticsAggregation
operation after you reduce the aggregation time frame, reduce the number of queues or fleets in the aggregation, or increase the period length.If you call the
StartSessionsStatisticsAggregation
operation when the status isIN_PROGRESS
, you will receive aThrottlingException
.- Parameters:
status
- The status of the aggregated results. An aggregation may fail or time out if the results are too large. If this happens, you can call theStartSessionsStatisticsAggregation
operation after you reduce the aggregation time frame, reduce the number of queues or fleets in the aggregation, or increase the period length.If you call the
StartSessionsStatisticsAggregation
operation when the status isIN_PROGRESS
, you will receive aThrottlingException
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statusMessage
A message that describes the status.
- Parameters:
statusMessage
- A message that describes the status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-