Class DurationRange
java.lang.Object
com.amazonaws.services.inspector.model.DurationRange
- All Implemented Interfaces:
Serializable
,Cloneable
This data type is used in the AssessmentTemplateFilter data type.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The maximum value of the duration range.The minimum value of the duration range.int
hashCode()
void
setMaxSeconds
(Integer maxSeconds) The maximum value of the duration range.void
setMinSeconds
(Integer minSeconds) The minimum value of the duration range.toString()
Returns a string representation of this object; useful for testing and debugging.withMaxSeconds
(Integer maxSeconds) The maximum value of the duration range.withMinSeconds
(Integer minSeconds) The minimum value of the duration range.
-
Constructor Details
-
DurationRange
public DurationRange()
-
-
Method Details
-
setMinSeconds
The minimum value of the duration range. Must be greater than zero.
- Parameters:
minSeconds
- The minimum value of the duration range. Must be greater than zero.
-
getMinSeconds
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.
-
withMinSeconds
The minimum value of the duration range. Must be greater than zero.
- Parameters:
minSeconds
- The minimum value of the duration range. Must be greater than zero.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMaxSeconds
The maximum value of the duration range. Must be less than or equal to 604800 seconds (1 week).
- Parameters:
maxSeconds
- The maximum value of the duration range. Must be less than or equal to 604800 seconds (1 week).
-
getMaxSeconds
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).
-
withMaxSeconds
The maximum value of the duration range. Must be less than or equal to 604800 seconds (1 week).
- Parameters:
maxSeconds
- The maximum value of the duration range. Must be less than or equal to 604800 seconds (1 week).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-