@Generated(value="software.amazon.awssdk:codegen") public final class QuotaPeriod extends Object implements SdkPojo, Serializable, ToCopyableBuilder<QuotaPeriod.Builder,QuotaPeriod>
A structure that contains 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 of a period.
|
String |
periodUnitAsString()
The time unit of a period.
|
Integer |
periodValue()
The value of a period.
|
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 Integer periodValue()
The value of a period.
public PeriodUnit periodUnit()
The time unit of a period.
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 String periodUnitAsString()
The time unit of a period.
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 boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.