@Generated(value="software.amazon.awssdk:codegen") public final class DurationRange extends Object implements SdkPojo, Serializable, 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() |
Integer |
maxSeconds()
The maximum value of the duration range.
|
Integer |
minSeconds()
The minimum value of the duration range.
|
List<SdkField<?>> |
sdkFields() |
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() |
copy
public 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()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<DurationRange.Builder,DurationRange>
public static DurationRange.Builder builder()
public static Class<? extends DurationRange.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.