Class Range
- java.lang.Object
-
- software.amazon.awssdk.services.rds.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>
A range of integer values.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRange.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Range.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)Integerfrom()The minimum value in the range.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends Range.Builder>serializableBuilderClass()Integerstep()The step value for the range.Integerto()The maximum value in the range.Range.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
-
from
public final Integer from()
The minimum value in the range.
- Returns:
- The minimum value in the range.
-
to
public final Integer to()
The maximum value in the range.
- Returns:
- The maximum value in the range.
-
step
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...
- Returns:
- 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...
-
toBuilder
public Range.Builder toBuilder()
- Specified by:
toBuilderin 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:
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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-