StructuredPojo
, ToCopyableBuilder<QuotaSettings.Builder,QuotaSettings>
@Generated("software.amazon.awssdk:codegen") public class QuotaSettings extends Object implements StructuredPojo, ToCopyableBuilder<QuotaSettings.Builder,QuotaSettings>
Quotas configured for a usage plan.
Modifier and Type | Class | Description |
---|---|---|
static interface |
QuotaSettings.Builder |
Modifier and Type | Method | Description |
---|---|---|
static QuotaSettings.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
Integer |
limit() |
The maximum number of requests that can be made in a given time period.
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller . |
Integer |
offset() |
The number of requests subtracted from the given limit in the initial time period.
|
String |
period() |
The time period in which the limit applies.
|
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() |
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 String period()
The time period in which the limit applies. Valid values are "DAY", "WEEK" or "MONTH".
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()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.