Class QuotaSettings
- java.lang.Object
-
- software.amazon.awssdk.services.apigateway.model.QuotaSettings
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<QuotaSettings.Builder,QuotaSettings>
@Generated("software.amazon.awssdk:codegen") public final class QuotaSettings extends Object implements SdkPojo, Serializable, ToCopyableBuilder<QuotaSettings.Builder,QuotaSettings>
Quotas configured for a usage plan.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceQuotaSettings.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static QuotaSettings.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Integerlimit()The target maximum number of requests that can be made in a given time period.Integeroffset()The number of requests subtracted from the given limit in the initial time period.QuotaPeriodTypeperiod()The time period in which the limit applies.StringperiodAsString()The time period in which the limit applies.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends QuotaSettings.Builder>serializableBuilderClass()QuotaSettings.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
limit
public final Integer limit()
The target maximum number of requests that can be made in a given time period.
- Returns:
- The target maximum number of requests that can be made in a given time period.
-
offset
public final Integer offset()
The number of requests subtracted from the given limit in the initial time period.
- Returns:
- The number of requests subtracted from the given limit in the initial time period.
-
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,
periodwill returnQuotaPeriodType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromperiodAsString().- Returns:
- The time period in which the limit applies. Valid values are "DAY", "WEEK" or "MONTH".
- See Also:
QuotaPeriodType
-
periodAsString
public 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,
periodwill returnQuotaPeriodType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromperiodAsString().- Returns:
- The time period in which the limit applies. Valid values are "DAY", "WEEK" or "MONTH".
- See Also:
QuotaPeriodType
-
toBuilder
public QuotaSettings.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<QuotaSettings.Builder,QuotaSettings>
-
builder
public static QuotaSettings.Builder builder()
-
serializableBuilderClass
public static Class<? extends QuotaSettings.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-