@Generated(value="software.amazon.awssdk:codegen") public final class QuotaSettings extends Object implements SdkPojo, Serializable, ToCopyableBuilder<QuotaSettings.Builder,QuotaSettings>
Quotas configured for a usage plan.
| Modifier and Type | Class and Description |
|---|---|
static interface |
QuotaSettings.Builder |
| Modifier and Type | Method and Description |
|---|---|
static QuotaSettings.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
limit()
The target maximum number of requests that can be made in a given time period.
|
Integer |
offset()
The number of requests subtracted from the given limit in the initial time period.
|
QuotaPeriodType |
period()
The time period in which the limit applies.
|
String |
periodAsString()
The time period in which the limit applies.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends QuotaSettings.Builder> |
serializableBuilderClass() |
QuotaSettings.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Integer limit()
The target maximum number of requests that can be made in a given time period.
public final Integer offset()
The number of requests subtracted from the given limit in the initial time period.
public final QuotaPeriodType period()
The time period in which the limit applies. Valid values are "DAY", "WEEK" or "MONTH".
If the service returns an enum value that is not available in the current SDK version, period will
return QuotaPeriodType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
periodAsString().
QuotaPeriodTypepublic final String periodAsString()
The time period in which the limit applies. Valid values are "DAY", "WEEK" or "MONTH".
If the service returns an enum value that is not available in the current SDK version, period will
return QuotaPeriodType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
periodAsString().
QuotaPeriodTypepublic QuotaSettings.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<QuotaSettings.Builder,QuotaSettings>public static QuotaSettings.Builder builder()
public static Class<? extends QuotaSettings.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.