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 interfaceInstanceEventWindowTimeRange.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InstanceEventWindowTimeRange.Builderbuilder()IntegerendHour()The hour when the time range ends.WeekDayendWeekDay()The day on which the time range ends.StringendWeekDayAsString()The day on which the time range ends.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends InstanceEventWindowTimeRange.Builder>serializableBuilderClass()IntegerstartHour()The hour when the time range begins.WeekDaystartWeekDay()The day on which the time range begins.StringstartWeekDayAsString()The day on which the time range begins.InstanceEventWindowTimeRange.BuildertoBuilder()StringtoString()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,
startWeekDaywill 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,
startWeekDaywill 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,
endWeekDaywill 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,
endWeekDaywill 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:
toBuilderin 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:
equalsBySdkFieldsin 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.
-
-