Class Range
- java.lang.Object
-
- software.amazon.awssdk.services.cloudwatch.model.Range
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<Range.Builder,Range>
@Generated("software.amazon.awssdk:codegen") public final class Range extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Range.Builder,Range>
Specifies one range of days or times to exclude from use for training an anomaly detection model.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
Range.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Range.Builder
builder()
Instant
endTime()
The end time of the range to exclude.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
List<SdkField<?>>
sdkFields()
static Class<? extends Range.Builder>
serializableBuilderClass()
Instant
startTime()
The start time of the range to exclude.Range.Builder
toBuilder()
String
toString()
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
-
startTime
public final Instant startTime()
The start time of the range to exclude. The format is
yyyy-MM-dd'T'HH:mm:ss
. For example,2019-07-01T23:59:59
.- Returns:
- The start time of the range to exclude. The format is
yyyy-MM-dd'T'HH:mm:ss
. For example,2019-07-01T23:59:59
.
-
endTime
public final Instant endTime()
The end time of the range to exclude. The format is
yyyy-MM-dd'T'HH:mm:ss
. For example,2019-07-01T23:59:59
.- Returns:
- The end time of the range to exclude. The format is
yyyy-MM-dd'T'HH:mm:ss
. For example,2019-07-01T23:59:59
.
-
toBuilder
public Range.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<Range.Builder,Range>
-
builder
public static Range.Builder builder()
-
serializableBuilderClass
public static Class<? extends Range.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in 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.
-
-