Interface StartSessionsStatisticsAggregationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<StartSessionsStatisticsAggregationRequest.Builder,,StartSessionsStatisticsAggregationRequest> DeadlineRequest.Builder,SdkBuilder<StartSessionsStatisticsAggregationRequest.Builder,,StartSessionsStatisticsAggregationRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
StartSessionsStatisticsAggregationRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe Linux timestamp of the date and time that the statistics end.The identifier of the farm that contains queues or fleets to return statistics for.groupBy(Collection<UsageGroupByField> groupBy) The field to use to group the statistics.groupBy(UsageGroupByField... groupBy) The field to use to group the statistics.groupByWithStrings(String... groupBy) The field to use to group the statistics.groupByWithStrings(Collection<String> groupBy) The field to use to group the statistics.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The period to aggregate the statistics.The period to aggregate the statistics.resourceIds(Consumer<SessionsStatisticsResources.Builder> resourceIds) A list of fleet IDs or queue IDs to gather statistics for.resourceIds(SessionsStatisticsResources resourceIds) A list of fleet IDs or queue IDs to gather statistics for.The Linux timestamp of the date and time that the statistics start.statistics(Collection<UsageStatistic> statistics) One to four statistics to return.statistics(UsageStatistic... statistics) One to four statistics to return.statisticsWithStrings(String... statistics) One to four statistics to return.statisticsWithStrings(Collection<String> statistics) One to four statistics to return.The timezone to use for the statistics.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.deadline.model.DeadlineRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
farmId
The identifier of the farm that contains queues or fleets to return statistics for.
- Parameters:
farmId- The identifier of the farm that contains queues or fleets to return statistics for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceIds
StartSessionsStatisticsAggregationRequest.Builder resourceIds(SessionsStatisticsResources resourceIds) A list of fleet IDs or queue IDs to gather statistics for.
- Parameters:
resourceIds- A list of fleet IDs or queue IDs to gather statistics for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceIds
default StartSessionsStatisticsAggregationRequest.Builder resourceIds(Consumer<SessionsStatisticsResources.Builder> resourceIds) A list of fleet IDs or queue IDs to gather statistics for.
This is a convenience method that creates an instance of theSessionsStatisticsResources.Builderavoiding the need to create one manually viaSessionsStatisticsResources.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresourceIds(SessionsStatisticsResources).- Parameters:
resourceIds- a consumer that will call methods onSessionsStatisticsResources.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
startTime
The Linux timestamp of the date and time that the statistics start.
- Parameters:
startTime- The Linux timestamp of the date and time that the statistics start.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
The Linux timestamp of the date and time that the statistics end.
- Parameters:
endTime- The Linux timestamp of the date and time that the statistics end.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timezone
The timezone to use for the statistics. Use UTC notation such as "UTC+8."
- Parameters:
timezone- The timezone to use for the statistics. Use UTC notation such as "UTC+8."- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
period
The period to aggregate the statistics.
- Parameters:
period- The period to aggregate the statistics.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
period
The period to aggregate the statistics.
- Parameters:
period- The period to aggregate the statistics.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
groupByWithStrings
The field to use to group the statistics.
- Parameters:
groupBy- The field to use to group the statistics.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupByWithStrings
The field to use to group the statistics.
- Parameters:
groupBy- The field to use to group the statistics.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupBy
The field to use to group the statistics.
- Parameters:
groupBy- The field to use to group the statistics.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupBy
The field to use to group the statistics.
- Parameters:
groupBy- The field to use to group the statistics.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statisticsWithStrings
StartSessionsStatisticsAggregationRequest.Builder statisticsWithStrings(Collection<String> statistics) One to four statistics to return.
- Parameters:
statistics- One to four statistics to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statisticsWithStrings
One to four statistics to return.
- Parameters:
statistics- One to four statistics to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statistics
One to four statistics to return.
- Parameters:
statistics- One to four statistics to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statistics
One to four statistics to return.
- Parameters:
statistics- One to four statistics to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
StartSessionsStatisticsAggregationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
StartSessionsStatisticsAggregationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-