Interface StartSessionsStatisticsAggregationRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<StartSessionsStatisticsAggregationRequest.Builder,StartSessionsStatisticsAggregationRequest>,DeadlineRequest.Builder,SdkBuilder<StartSessionsStatisticsAggregationRequest.Builder,StartSessionsStatisticsAggregationRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- StartSessionsStatisticsAggregationRequest
public static interface StartSessionsStatisticsAggregationRequest.Builder extends DeadlineRequest.Builder, SdkPojo, CopyableBuilder<StartSessionsStatisticsAggregationRequest.Builder,StartSessionsStatisticsAggregationRequest>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.deadline.model.DeadlineRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
endTime
StartSessionsStatisticsAggregationRequest.Builder endTime(Instant 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.
-
farmId
StartSessionsStatisticsAggregationRequest.Builder farmId(String 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.
-
groupByWithStrings
StartSessionsStatisticsAggregationRequest.Builder groupByWithStrings(Collection<String> 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.
-
groupByWithStrings
StartSessionsStatisticsAggregationRequest.Builder groupByWithStrings(String... 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
StartSessionsStatisticsAggregationRequest.Builder groupBy(Collection<UsageGroupByField> 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
StartSessionsStatisticsAggregationRequest.Builder groupBy(UsageGroupByField... 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.
-
period
StartSessionsStatisticsAggregationRequest.Builder period(String period)
The period to aggregate the statistics.
-
period
StartSessionsStatisticsAggregationRequest.Builder period(Period period)
The period to aggregate the statistics.
-
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:
resourceIds(SessionsStatisticsResources)
-
startTime
StartSessionsStatisticsAggregationRequest.Builder startTime(Instant 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.
-
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
StartSessionsStatisticsAggregationRequest.Builder statisticsWithStrings(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.
-
statistics
StartSessionsStatisticsAggregationRequest.Builder statistics(Collection<UsageStatistic> 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
StartSessionsStatisticsAggregationRequest.Builder statistics(UsageStatistic... 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.
-
timezone
StartSessionsStatisticsAggregationRequest.Builder timezone(String 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.
-
overrideConfiguration
StartSessionsStatisticsAggregationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
StartSessionsStatisticsAggregationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-