@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) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
limit()
The 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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public Integer limit()
The maximum number of requests that can be made in a given time period.
public Integer offset()
The number of requests subtracted from the given limit in the initial time period.
public 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()
.
QuotaPeriodType
public 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()
.
QuotaPeriodType
public QuotaSettings.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<QuotaSettings.Builder,QuotaSettings>
public static QuotaSettings.Builder builder()
public static Class<? extends QuotaSettings.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.