@Generated(value="software.amazon.awssdk:codegen") public class DurationRange extends Object implements StructuredPojo, ToCopyableBuilder<DurationRange.Builder,DurationRange>
This data type is used in the AssessmentTemplateFilter data type.
| Modifier and Type | Class and Description |
|---|---|
static interface |
DurationRange.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DurationRange.Builder |
builder() |
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. |
Integer |
maxSeconds()
The maximum value of the duration range.
|
Integer |
minSeconds()
The minimum value of the duration range.
|
static Class<? extends DurationRange.Builder> |
serializableBuilderClass() |
DurationRange.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copypublic Integer minSeconds()
The minimum value of the duration range. Must be greater than zero.
public Integer maxSeconds()
The maximum value of the duration range. Must be less than or equal to 604800 seconds (1 week).
public DurationRange.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<DurationRange.Builder,DurationRange>public static DurationRange.Builder builder()
public static Class<? extends DurationRange.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.