Class DurationRange
- java.lang.Object
-
- software.amazon.awssdk.services.inspector.model.DurationRange
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DurationRange.Builder,DurationRange>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDurationRange.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DurationRange.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegermaxSeconds()The maximum value of the duration range.IntegerminSeconds()The minimum value of the duration range.List<SdkField<?>>sdkFields()static Class<? extends DurationRange.Builder>serializableBuilderClass()DurationRange.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
minSeconds
public final Integer minSeconds()
The minimum value of the duration range. Must be greater than zero.
- Returns:
- The minimum value of the duration range. Must be greater than zero.
-
maxSeconds
public final Integer maxSeconds()
The maximum value of the duration range. Must be less than or equal to 604800 seconds (1 week).
- Returns:
- The maximum value of the duration range. Must be less than or equal to 604800 seconds (1 week).
-
toBuilder
public DurationRange.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DurationRange.Builder,DurationRange>
-
builder
public static DurationRange.Builder builder()
-
serializableBuilderClass
public static Class<? extends DurationRange.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-