@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) |
boolean |
equalsBySdkFields(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() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Integer minSeconds()
The minimum value of the duration range. Must be greater than zero.
public final Integer maxSeconds()
The maximum value of the duration range. Must be less than or equal to 604800 seconds (1 week).
public DurationRange.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DurationRange.Builder,DurationRange>public static DurationRange.Builder builder()
public static Class<? extends DurationRange.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.