@Generated(value="software.amazon.awssdk:codegen") public final class SlotDateTimeRangeRequest extends Object implements ToCopyableBuilder<SlotDateTimeRangeRequest.Builder,SlotDateTimeRangeRequest>
Describes the time period for a Scheduled Instance to start its first schedule. The time period must span less than one day.
Modifier and Type | Class and Description |
---|---|
static interface |
SlotDateTimeRangeRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static SlotDateTimeRangeRequest.Builder |
builder() |
Instant |
earliestTime()
The earliest date and time, in UTC, for the Scheduled Instance to start.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
latestTime()
The latest date and time, in UTC, for the Scheduled Instance to start.
|
static Class<? extends SlotDateTimeRangeRequest.Builder> |
serializableBuilderClass() |
SlotDateTimeRangeRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public Instant earliestTime()
The earliest date and time, in UTC, for the Scheduled Instance to start.
public Instant latestTime()
The latest date and time, in UTC, for the Scheduled Instance to start. This value must be later than or equal to the earliest date and at most three months in the future.
public SlotDateTimeRangeRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<SlotDateTimeRangeRequest.Builder,SlotDateTimeRangeRequest>
public static SlotDateTimeRangeRequest.Builder builder()
public static Class<? extends SlotDateTimeRangeRequest.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.