@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TimeAlignmentBoundary extends Object implements Serializable, Cloneable, StructuredPojo
The time boundary Forecast uses to align and aggregate your data to match your forecast frequency. Provide the unit of time and the time boundary as a key value pair. If you don't provide a time boundary, Forecast uses a set of Default Time Boundaries.
For more information about aggregation, see Data Aggregation for Different Forecast Frequencies. For more information setting a custom time boundary, see Specifying a Time Boundary.
Constructor and Description |
---|
TimeAlignmentBoundary() |
Modifier and Type | Method and Description |
---|---|
TimeAlignmentBoundary |
clone() |
boolean |
equals(Object obj) |
Integer |
getDayOfMonth()
The day of the month to use for time alignment during aggregation.
|
String |
getDayOfWeek()
The day of week to use for time alignment during aggregation.
|
Integer |
getHour()
The hour of day to use for time alignment during aggregation.
|
String |
getMonth()
The month to use for time alignment during aggregation.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDayOfMonth(Integer dayOfMonth)
The day of the month to use for time alignment during aggregation.
|
void |
setDayOfWeek(String dayOfWeek)
The day of week to use for time alignment during aggregation.
|
void |
setHour(Integer hour)
The hour of day to use for time alignment during aggregation.
|
void |
setMonth(String month)
The month to use for time alignment during aggregation.
|
String |
toString()
Returns a string representation of this object.
|
TimeAlignmentBoundary |
withDayOfMonth(Integer dayOfMonth)
The day of the month to use for time alignment during aggregation.
|
TimeAlignmentBoundary |
withDayOfWeek(DayOfWeek dayOfWeek)
The day of week to use for time alignment during aggregation.
|
TimeAlignmentBoundary |
withDayOfWeek(String dayOfWeek)
The day of week to use for time alignment during aggregation.
|
TimeAlignmentBoundary |
withHour(Integer hour)
The hour of day to use for time alignment during aggregation.
|
TimeAlignmentBoundary |
withMonth(Month month)
The month to use for time alignment during aggregation.
|
TimeAlignmentBoundary |
withMonth(String month)
The month to use for time alignment during aggregation.
|
public void setMonth(String month)
The month to use for time alignment during aggregation. The month must be in uppercase.
month
- The month to use for time alignment during aggregation. The month must be in uppercase.Month
public String getMonth()
The month to use for time alignment during aggregation. The month must be in uppercase.
Month
public TimeAlignmentBoundary withMonth(String month)
The month to use for time alignment during aggregation. The month must be in uppercase.
month
- The month to use for time alignment during aggregation. The month must be in uppercase.Month
public TimeAlignmentBoundary withMonth(Month month)
The month to use for time alignment during aggregation. The month must be in uppercase.
month
- The month to use for time alignment during aggregation. The month must be in uppercase.Month
public void setDayOfMonth(Integer dayOfMonth)
The day of the month to use for time alignment during aggregation.
dayOfMonth
- The day of the month to use for time alignment during aggregation.public Integer getDayOfMonth()
The day of the month to use for time alignment during aggregation.
public TimeAlignmentBoundary withDayOfMonth(Integer dayOfMonth)
The day of the month to use for time alignment during aggregation.
dayOfMonth
- The day of the month to use for time alignment during aggregation.public void setDayOfWeek(String dayOfWeek)
The day of week to use for time alignment during aggregation. The day must be in uppercase.
dayOfWeek
- The day of week to use for time alignment during aggregation. The day must be in uppercase.DayOfWeek
public String getDayOfWeek()
The day of week to use for time alignment during aggregation. The day must be in uppercase.
DayOfWeek
public TimeAlignmentBoundary withDayOfWeek(String dayOfWeek)
The day of week to use for time alignment during aggregation. The day must be in uppercase.
dayOfWeek
- The day of week to use for time alignment during aggregation. The day must be in uppercase.DayOfWeek
public TimeAlignmentBoundary withDayOfWeek(DayOfWeek dayOfWeek)
The day of week to use for time alignment during aggregation. The day must be in uppercase.
dayOfWeek
- The day of week to use for time alignment during aggregation. The day must be in uppercase.DayOfWeek
public void setHour(Integer hour)
The hour of day to use for time alignment during aggregation.
hour
- The hour of day to use for time alignment during aggregation.public Integer getHour()
The hour of day to use for time alignment during aggregation.
public TimeAlignmentBoundary withHour(Integer hour)
The hour of day to use for time alignment during aggregation.
hour
- The hour of day to use for time alignment during aggregation.public String toString()
toString
in class Object
Object.toString()
public TimeAlignmentBoundary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.