@Generated(value="software.amazon.awssdk:codegen") public final class TimeAlignmentBoundary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TimeAlignmentBoundary.Builder,TimeAlignmentBoundary>
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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
TimeAlignmentBoundary.Builder |
| Modifier and Type | Method and Description |
|---|---|
static TimeAlignmentBoundary.Builder |
builder() |
Integer |
dayOfMonth()
The day of the month to use for time alignment during aggregation.
|
DayOfWeek |
dayOfWeek()
The day of week to use for time alignment during aggregation.
|
String |
dayOfWeekAsString()
The day of week to use for time alignment during aggregation.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
hour()
The hour of day to use for time alignment during aggregation.
|
Month |
month()
The month to use for time alignment during aggregation.
|
String |
monthAsString()
The month to use for time alignment during aggregation.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends TimeAlignmentBoundary.Builder> |
serializableBuilderClass() |
TimeAlignmentBoundary.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Month month()
The month to use for time alignment during aggregation. The month must be in uppercase.
If the service returns an enum value that is not available in the current SDK version, month will return
Month.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
monthAsString().
Monthpublic final String monthAsString()
The month to use for time alignment during aggregation. The month must be in uppercase.
If the service returns an enum value that is not available in the current SDK version, month will return
Month.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
monthAsString().
Monthpublic final Integer dayOfMonth()
The day of the month to use for time alignment during aggregation.
public final DayOfWeek dayOfWeek()
The day of week to use for time alignment during aggregation. The day must be in uppercase.
If the service returns an enum value that is not available in the current SDK version, dayOfWeek will
return DayOfWeek.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
dayOfWeekAsString().
DayOfWeekpublic final String dayOfWeekAsString()
The day of week to use for time alignment during aggregation. The day must be in uppercase.
If the service returns an enum value that is not available in the current SDK version, dayOfWeek will
return DayOfWeek.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
dayOfWeekAsString().
DayOfWeekpublic final Integer hour()
The hour of day to use for time alignment during aggregation.
public TimeAlignmentBoundary.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<TimeAlignmentBoundary.Builder,TimeAlignmentBoundary>public static TimeAlignmentBoundary.Builder builder()
public static Class<? extends TimeAlignmentBoundary.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.