@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StartSessionsStatisticsAggregationRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
StartSessionsStatisticsAggregationRequest() |
Modifier and Type | Method and Description |
---|---|
StartSessionsStatisticsAggregationRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Date |
getEndTime()
The Linux timestamp of the date and time that the statistics end.
|
String |
getFarmId()
The identifier of the farm that contains queues or fleets to return statistics for.
|
List<String> |
getGroupBy()
The field to use to group the statistics.
|
String |
getPeriod()
The period to aggregate the statistics.
|
SessionsStatisticsResources |
getResourceIds()
A list of fleet IDs or queue IDs to gather statistics for.
|
Date |
getStartTime()
The Linux timestamp of the date and time that the statistics start.
|
List<String> |
getStatistics()
One to four statistics to return.
|
String |
getTimezone()
The timezone to use for the statistics.
|
int |
hashCode() |
void |
setEndTime(Date endTime)
The Linux timestamp of the date and time that the statistics end.
|
void |
setFarmId(String farmId)
The identifier of the farm that contains queues or fleets to return statistics for.
|
void |
setGroupBy(Collection<String> groupBy)
The field to use to group the statistics.
|
void |
setPeriod(String period)
The period to aggregate the statistics.
|
void |
setResourceIds(SessionsStatisticsResources resourceIds)
A list of fleet IDs or queue IDs to gather statistics for.
|
void |
setStartTime(Date startTime)
The Linux timestamp of the date and time that the statistics start.
|
void |
setStatistics(Collection<String> statistics)
One to four statistics to return.
|
void |
setTimezone(String timezone)
The timezone to use for the statistics.
|
String |
toString()
Returns a string representation of this object.
|
StartSessionsStatisticsAggregationRequest |
withEndTime(Date endTime)
The Linux timestamp of the date and time that the statistics end.
|
StartSessionsStatisticsAggregationRequest |
withFarmId(String farmId)
The identifier of the farm that contains queues or fleets to return statistics for.
|
StartSessionsStatisticsAggregationRequest |
withGroupBy(Collection<String> groupBy)
The field to use to group the statistics.
|
StartSessionsStatisticsAggregationRequest |
withGroupBy(String... groupBy)
The field to use to group the statistics.
|
StartSessionsStatisticsAggregationRequest |
withGroupBy(UsageGroupByField... groupBy)
The field to use to group the statistics.
|
StartSessionsStatisticsAggregationRequest |
withPeriod(Period period)
The period to aggregate the statistics.
|
StartSessionsStatisticsAggregationRequest |
withPeriod(String period)
The period to aggregate the statistics.
|
StartSessionsStatisticsAggregationRequest |
withResourceIds(SessionsStatisticsResources resourceIds)
A list of fleet IDs or queue IDs to gather statistics for.
|
StartSessionsStatisticsAggregationRequest |
withStartTime(Date startTime)
The Linux timestamp of the date and time that the statistics start.
|
StartSessionsStatisticsAggregationRequest |
withStatistics(Collection<String> statistics)
One to four statistics to return.
|
StartSessionsStatisticsAggregationRequest |
withStatistics(String... statistics)
One to four statistics to return.
|
StartSessionsStatisticsAggregationRequest |
withStatistics(UsageStatistic... statistics)
One to four statistics to return.
|
StartSessionsStatisticsAggregationRequest |
withTimezone(String timezone)
The timezone to use for the statistics.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public StartSessionsStatisticsAggregationRequest()
public void setEndTime(Date endTime)
The Linux timestamp of the date and time that the statistics end.
endTime
- The Linux timestamp of the date and time that the statistics end.public Date getEndTime()
The Linux timestamp of the date and time that the statistics end.
public StartSessionsStatisticsAggregationRequest withEndTime(Date endTime)
The Linux timestamp of the date and time that the statistics end.
endTime
- The Linux timestamp of the date and time that the statistics end.public void setFarmId(String farmId)
The identifier of the farm that contains queues or fleets to return statistics for.
farmId
- The identifier of the farm that contains queues or fleets to return statistics for.public String getFarmId()
The identifier of the farm that contains queues or fleets to return statistics for.
public StartSessionsStatisticsAggregationRequest withFarmId(String farmId)
The identifier of the farm that contains queues or fleets to return statistics for.
farmId
- The identifier of the farm that contains queues or fleets to return statistics for.public List<String> getGroupBy()
The field to use to group the statistics.
UsageGroupByField
public void setGroupBy(Collection<String> groupBy)
The field to use to group the statistics.
groupBy
- The field to use to group the statistics.UsageGroupByField
public StartSessionsStatisticsAggregationRequest withGroupBy(String... groupBy)
The field to use to group the statistics.
NOTE: This method appends the values to the existing list (if any). Use
setGroupBy(java.util.Collection)
or withGroupBy(java.util.Collection)
if you want to override
the existing values.
groupBy
- The field to use to group the statistics.UsageGroupByField
public StartSessionsStatisticsAggregationRequest withGroupBy(Collection<String> groupBy)
The field to use to group the statistics.
groupBy
- The field to use to group the statistics.UsageGroupByField
public StartSessionsStatisticsAggregationRequest withGroupBy(UsageGroupByField... groupBy)
The field to use to group the statistics.
groupBy
- The field to use to group the statistics.UsageGroupByField
public void setPeriod(String period)
The period to aggregate the statistics.
period
- The period to aggregate the statistics.Period
public String getPeriod()
The period to aggregate the statistics.
Period
public StartSessionsStatisticsAggregationRequest withPeriod(String period)
The period to aggregate the statistics.
period
- The period to aggregate the statistics.Period
public StartSessionsStatisticsAggregationRequest withPeriod(Period period)
The period to aggregate the statistics.
period
- The period to aggregate the statistics.Period
public void setResourceIds(SessionsStatisticsResources resourceIds)
A list of fleet IDs or queue IDs to gather statistics for.
resourceIds
- A list of fleet IDs or queue IDs to gather statistics for.public SessionsStatisticsResources getResourceIds()
A list of fleet IDs or queue IDs to gather statistics for.
public StartSessionsStatisticsAggregationRequest withResourceIds(SessionsStatisticsResources resourceIds)
A list of fleet IDs or queue IDs to gather statistics for.
resourceIds
- A list of fleet IDs or queue IDs to gather statistics for.public void setStartTime(Date startTime)
The Linux timestamp of the date and time that the statistics start.
startTime
- The Linux timestamp of the date and time that the statistics start.public Date getStartTime()
The Linux timestamp of the date and time that the statistics start.
public StartSessionsStatisticsAggregationRequest withStartTime(Date startTime)
The Linux timestamp of the date and time that the statistics start.
startTime
- The Linux timestamp of the date and time that the statistics start.public List<String> getStatistics()
One to four statistics to return.
UsageStatistic
public void setStatistics(Collection<String> statistics)
One to four statistics to return.
statistics
- One to four statistics to return.UsageStatistic
public StartSessionsStatisticsAggregationRequest withStatistics(String... statistics)
One to four statistics to return.
NOTE: This method appends the values to the existing list (if any). Use
setStatistics(java.util.Collection)
or withStatistics(java.util.Collection)
if you want to
override the existing values.
statistics
- One to four statistics to return.UsageStatistic
public StartSessionsStatisticsAggregationRequest withStatistics(Collection<String> statistics)
One to four statistics to return.
statistics
- One to four statistics to return.UsageStatistic
public StartSessionsStatisticsAggregationRequest withStatistics(UsageStatistic... statistics)
One to four statistics to return.
statistics
- One to four statistics to return.UsageStatistic
public void setTimezone(String timezone)
The timezone to use for the statistics. Use UTC notation such as "UTC+8."
timezone
- The timezone to use for the statistics. Use UTC notation such as "UTC+8."public String getTimezone()
The timezone to use for the statistics. Use UTC notation such as "UTC+8."
public StartSessionsStatisticsAggregationRequest withTimezone(String timezone)
The timezone to use for the statistics. Use UTC notation such as "UTC+8."
timezone
- The timezone to use for the statistics. Use UTC notation such as "UTC+8."public String toString()
toString
in class Object
Object.toString()
public StartSessionsStatisticsAggregationRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()