@Generated(value="software.amazon.awssdk:codegen") public final class QuotaPeriod extends Object implements SdkPojo, Serializable, ToCopyableBuilder<QuotaPeriod.Builder,QuotaPeriod>
Information about the quota period.
| Modifier and Type | Class and Description |
|---|---|
static interface |
QuotaPeriod.Builder |
| Modifier and Type | Method and Description |
|---|---|
static QuotaPeriod.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
PeriodUnit |
periodUnit()
The time unit.
|
String |
periodUnitAsString()
The time unit.
|
Integer |
periodValue()
The value.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends QuotaPeriod.Builder> |
serializableBuilderClass() |
QuotaPeriod.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Integer periodValue()
The value.
public final PeriodUnit periodUnit()
The time unit.
If the service returns an enum value that is not available in the current SDK version, periodUnit will
return PeriodUnit.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
periodUnitAsString().
PeriodUnitpublic final String periodUnitAsString()
The time unit.
If the service returns an enum value that is not available in the current SDK version, periodUnit will
return PeriodUnit.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
periodUnitAsString().
PeriodUnitpublic QuotaPeriod.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<QuotaPeriod.Builder,QuotaPeriod>public static QuotaPeriod.Builder builder()
public static Class<? extends QuotaPeriod.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.