@Generated(value="software.amazon.awssdk:codegen") public final class Range extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Range.Builder,Range>
A range of integer values.
Modifier and Type | Class and Description |
---|---|
static interface |
Range.Builder |
Modifier and Type | Method and Description |
---|---|
static Range.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
Integer |
from()
The minimum value in the range.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends Range.Builder> |
serializableBuilderClass() |
Integer |
step()
The step value for the range.
|
Integer |
to()
The maximum value in the range.
|
Range.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final Integer from()
The minimum value in the range.
public final Integer to()
The maximum value in the range.
public final Integer step()
The step value for the range. For example, if you have a range of 5,000 to 10,000, with a step value of 1,000, the valid values start at 5,000 and step up by 1,000. Even though 7,500 is within the range, it isn't a valid value for the range. The valid values are 5,000, 6,000, 7,000, 8,000...
public Range.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<Range.Builder,Range>
public static Range.Builder builder()
public static Class<? extends Range.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
Copyright © 2023. All rights reserved.