@Generated(value="software.amazon.awssdk:codegen") public final class QuotaContextInfo extends Object implements SdkPojo, Serializable, ToCopyableBuilder<QuotaContextInfo.Builder,QuotaContextInfo>
A structure that describes the context for a service quota. The context identifies what the quota applies to.
| Modifier and Type | Class and Description |
|---|---|
static interface |
QuotaContextInfo.Builder |
| Modifier and Type | Method and Description |
|---|---|
static QuotaContextInfo.Builder |
builder() |
String |
contextId()
Specifies the Amazon Web Services account or resource to which the quota applies.
|
QuotaContextScope |
contextScope()
Specifies whether the quota applies to an Amazon Web Services account, or to a resource.
|
String |
contextScopeAsString()
Specifies whether the quota applies to an Amazon Web Services account, or to a resource.
|
String |
contextScopeType()
When the
ContextScope is RESOURCE, then this specifies the resource type of the
specified resource. |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends QuotaContextInfo.Builder> |
serializableBuilderClass() |
QuotaContextInfo.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final QuotaContextScope contextScope()
Specifies whether the quota applies to an Amazon Web Services account, or to a resource.
If the service returns an enum value that is not available in the current SDK version, contextScope will
return QuotaContextScope.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
contextScopeAsString().
QuotaContextScopepublic final String contextScopeAsString()
Specifies whether the quota applies to an Amazon Web Services account, or to a resource.
If the service returns an enum value that is not available in the current SDK version, contextScope will
return QuotaContextScope.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
contextScopeAsString().
QuotaContextScopepublic final String contextScopeType()
When the ContextScope is RESOURCE, then this specifies the resource type of the
specified resource.
ContextScope is RESOURCE, then this specifies the resource type of the
specified resource.public final String contextId()
Specifies the Amazon Web Services account or resource to which the quota applies. The value in this field depends on the context scope associated with the specified service quota.
public QuotaContextInfo.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<QuotaContextInfo.Builder,QuotaContextInfo>public static QuotaContextInfo.Builder builder()
public static Class<? extends QuotaContextInfo.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.