Class InstanceEventWindowTimeRange
- java.lang.Object
-
- software.amazon.awssdk.services.ec2.model.InstanceEventWindowTimeRange
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<InstanceEventWindowTimeRange.Builder,InstanceEventWindowTimeRange>
@Generated("software.amazon.awssdk:codegen") public final class InstanceEventWindowTimeRange extends Object implements SdkPojo, Serializable, ToCopyableBuilder<InstanceEventWindowTimeRange.Builder,InstanceEventWindowTimeRange>
The start day and time and the end day and time of the time range, in UTC.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
InstanceEventWindowTimeRange.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InstanceEventWindowTimeRange.Builder
builder()
Integer
endHour()
The hour when the time range ends.WeekDay
endWeekDay()
The day on which the time range ends.String
endWeekDayAsString()
The day on which the time range ends.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
List<SdkField<?>>
sdkFields()
static Class<? extends InstanceEventWindowTimeRange.Builder>
serializableBuilderClass()
Integer
startHour()
The hour when the time range begins.WeekDay
startWeekDay()
The day on which the time range begins.String
startWeekDayAsString()
The day on which the time range begins.InstanceEventWindowTimeRange.Builder
toBuilder()
String
toString()
Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
startWeekDay
public final WeekDay startWeekDay()
The day on which the time range begins.
If the service returns an enum value that is not available in the current SDK version,
startWeekDay
will returnWeekDay.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromstartWeekDayAsString()
.- Returns:
- The day on which the time range begins.
- See Also:
WeekDay
-
startWeekDayAsString
public final String startWeekDayAsString()
The day on which the time range begins.
If the service returns an enum value that is not available in the current SDK version,
startWeekDay
will returnWeekDay.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromstartWeekDayAsString()
.- Returns:
- The day on which the time range begins.
- See Also:
WeekDay
-
startHour
public final Integer startHour()
The hour when the time range begins.
- Returns:
- The hour when the time range begins.
-
endWeekDay
public final WeekDay endWeekDay()
The day on which the time range ends.
If the service returns an enum value that is not available in the current SDK version,
endWeekDay
will returnWeekDay.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromendWeekDayAsString()
.- Returns:
- The day on which the time range ends.
- See Also:
WeekDay
-
endWeekDayAsString
public final String endWeekDayAsString()
The day on which the time range ends.
If the service returns an enum value that is not available in the current SDK version,
endWeekDay
will returnWeekDay.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromendWeekDayAsString()
.- Returns:
- The day on which the time range ends.
- See Also:
WeekDay
-
endHour
public final Integer endHour()
The hour when the time range ends.
- Returns:
- The hour when the time range ends.
-
toBuilder
public InstanceEventWindowTimeRange.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<InstanceEventWindowTimeRange.Builder,InstanceEventWindowTimeRange>
-
builder
public static InstanceEventWindowTimeRange.Builder builder()
-
serializableBuilderClass
public static Class<? extends InstanceEventWindowTimeRange.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-