Class QuotaContextInfo
- java.lang.Object
-
- software.amazon.awssdk.services.servicequotas.model.QuotaContextInfo
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<QuotaContextInfo.Builder,QuotaContextInfo>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceQuotaContextInfo.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static QuotaContextInfo.Builderbuilder()StringcontextId()Specifies the Amazon Web Services account or resource to which the quota applies.QuotaContextScopecontextScope()Specifies whether the quota applies to an Amazon Web Services account, or to a resource.StringcontextScopeAsString()Specifies whether the quota applies to an Amazon Web Services account, or to a resource.StringcontextScopeType()When theContextScopeisRESOURCE, then this specifies the resource type of the specified resource.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends QuotaContextInfo.Builder>serializableBuilderClass()QuotaContextInfo.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
-
contextScope
public 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,
contextScopewill returnQuotaContextScope.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcontextScopeAsString().- Returns:
- Specifies whether the quota applies to an Amazon Web Services account, or to a resource.
- See Also:
QuotaContextScope
-
contextScopeAsString
public 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,
contextScopewill returnQuotaContextScope.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcontextScopeAsString().- Returns:
- Specifies whether the quota applies to an Amazon Web Services account, or to a resource.
- See Also:
QuotaContextScope
-
contextScopeType
public final String contextScopeType()
When the
ContextScopeisRESOURCE, then this specifies the resource type of the specified resource.- Returns:
- When the
ContextScopeisRESOURCE, then this specifies the resource type of the specified resource.
-
contextId
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.
- Returns:
- 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.
-
toBuilder
public QuotaContextInfo.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<QuotaContextInfo.Builder,QuotaContextInfo>
-
builder
public static QuotaContextInfo.Builder builder()
-
serializableBuilderClass
public static Class<? extends QuotaContextInfo.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.
-
-