@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AggregatedProfileTime extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the aggregation period and aggregation start time for an aggregated profile. An aggregated profile is used to collect posted agent profiles during an aggregation period. There are three possible aggregation periods (1 day, 1 hour, or 5 minutes).
Constructor and Description |
---|
AggregatedProfileTime() |
Modifier and Type | Method and Description |
---|---|
AggregatedProfileTime |
clone() |
boolean |
equals(Object obj) |
String |
getPeriod()
The aggregation period.
|
Date |
getStart()
The time that aggregation of posted agent profiles for a profiling group starts.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setPeriod(String period)
The aggregation period.
|
void |
setStart(Date start)
The time that aggregation of posted agent profiles for a profiling group starts.
|
String |
toString()
Returns a string representation of this object.
|
AggregatedProfileTime |
withPeriod(AggregationPeriod period)
The aggregation period.
|
AggregatedProfileTime |
withPeriod(String period)
The aggregation period.
|
AggregatedProfileTime |
withStart(Date start)
The time that aggregation of posted agent profiles for a profiling group starts.
|
public void setPeriod(String period)
The aggregation period. This indicates the period during which an aggregation profile collects posted agent profiles for a profiling group. Use one of three valid durations that are specified using the ISO 8601 format.
P1D
— 1 day
PT1H
— 1 hour
PT5M
— 5 minutes
period
- The aggregation period. This indicates the period during which an aggregation profile collects posted
agent profiles for a profiling group. Use one of three valid durations that are specified using the ISO
8601 format.
P1D
— 1 day
PT1H
— 1 hour
PT5M
— 5 minutes
AggregationPeriod
public String getPeriod()
The aggregation period. This indicates the period during which an aggregation profile collects posted agent profiles for a profiling group. Use one of three valid durations that are specified using the ISO 8601 format.
P1D
— 1 day
PT1H
— 1 hour
PT5M
— 5 minutes
P1D
— 1 day
PT1H
— 1 hour
PT5M
— 5 minutes
AggregationPeriod
public AggregatedProfileTime withPeriod(String period)
The aggregation period. This indicates the period during which an aggregation profile collects posted agent profiles for a profiling group. Use one of three valid durations that are specified using the ISO 8601 format.
P1D
— 1 day
PT1H
— 1 hour
PT5M
— 5 minutes
period
- The aggregation period. This indicates the period during which an aggregation profile collects posted
agent profiles for a profiling group. Use one of three valid durations that are specified using the ISO
8601 format.
P1D
— 1 day
PT1H
— 1 hour
PT5M
— 5 minutes
AggregationPeriod
public AggregatedProfileTime withPeriod(AggregationPeriod period)
The aggregation period. This indicates the period during which an aggregation profile collects posted agent profiles for a profiling group. Use one of three valid durations that are specified using the ISO 8601 format.
P1D
— 1 day
PT1H
— 1 hour
PT5M
— 5 minutes
period
- The aggregation period. This indicates the period during which an aggregation profile collects posted
agent profiles for a profiling group. Use one of three valid durations that are specified using the ISO
8601 format.
P1D
— 1 day
PT1H
— 1 hour
PT5M
— 5 minutes
AggregationPeriod
public void setStart(Date start)
The time that aggregation of posted agent profiles for a profiling group starts. The aggregation profile contains
profiles posted by the agent starting at this time for an aggregation period specified by the period
property of the AggregatedProfileTime
object.
Specify start
using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1
millisecond past June 1, 2020 1:15:02 PM UTC.
start
- The time that aggregation of posted agent profiles for a profiling group starts. The aggregation profile
contains profiles posted by the agent starting at this time for an aggregation period specified by the
period
property of the AggregatedProfileTime
object.
Specify start
using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1
millisecond past June 1, 2020 1:15:02 PM UTC.
public Date getStart()
The time that aggregation of posted agent profiles for a profiling group starts. The aggregation profile contains
profiles posted by the agent starting at this time for an aggregation period specified by the period
property of the AggregatedProfileTime
object.
Specify start
using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1
millisecond past June 1, 2020 1:15:02 PM UTC.
period
property of the AggregatedProfileTime
object.
Specify start
using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1
millisecond past June 1, 2020 1:15:02 PM UTC.
public AggregatedProfileTime withStart(Date start)
The time that aggregation of posted agent profiles for a profiling group starts. The aggregation profile contains
profiles posted by the agent starting at this time for an aggregation period specified by the period
property of the AggregatedProfileTime
object.
Specify start
using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1
millisecond past June 1, 2020 1:15:02 PM UTC.
start
- The time that aggregation of posted agent profiles for a profiling group starts. The aggregation profile
contains profiles posted by the agent starting at this time for an aggregation period specified by the
period
property of the AggregatedProfileTime
object.
Specify start
using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1
millisecond past June 1, 2020 1:15:02 PM UTC.
public String toString()
toString
in class Object
Object.toString()
public AggregatedProfileTime clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.