@Generated(value="software.amazon.awssdk:codegen") public final class TimeRange extends Object implements StructuredPojo, ToCopyableBuilder<TimeRange.Builder,TimeRange>
Information about a time range.
Modifier and Type | Class and Description |
---|---|
static interface |
TimeRange.Builder |
Modifier and Type | Method and Description |
---|---|
static TimeRange.Builder |
builder() |
Instant |
end()
The end time of the time range.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends TimeRange.Builder> |
serializableBuilderClass() |
Instant |
start()
The start time of the time range.
|
TimeRange.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 start()
The start time of the time range.
Specify null to leave the start time open-ended.
Specify null to leave the start time open-ended.
public Instant end()
The end time of the time range.
Specify null to leave the end time open-ended.
Specify null to leave the end time open-ended.
public TimeRange.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<TimeRange.Builder,TimeRange>
public static TimeRange.Builder builder()
public static Class<? extends TimeRange.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.