StructuredPojo
, ToCopyableBuilder<TimePeriod.Builder,TimePeriod>
@Generated("software.amazon.awssdk:codegen") public class TimePeriod extends Object implements StructuredPojo, ToCopyableBuilder<TimePeriod.Builder,TimePeriod>
Modifier and Type | Class | Description |
---|---|---|
static interface |
TimePeriod.Builder |
Modifier and Type | Method | Description |
---|---|---|
static TimePeriod.Builder |
builder() |
|
Date |
end() |
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends TimePeriod.Builder> |
serializableBuilderClass() |
|
Date |
start() |
|
TimePeriod.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
public Date start()
public Date end()
public TimePeriod.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<TimePeriod.Builder,TimePeriod>
public static TimePeriod.Builder builder()
public static Class<? extends TimePeriod.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.