Interface QuotaContextInfo.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<QuotaContextInfo.Builder,QuotaContextInfo>,SdkBuilder<QuotaContextInfo.Builder,QuotaContextInfo>,SdkPojo
- Enclosing class:
- QuotaContextInfo
@Mutable @NotThreadSafe public static interface QuotaContextInfo.Builder extends SdkPojo, CopyableBuilder<QuotaContextInfo.Builder,QuotaContextInfo>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description QuotaContextInfo.BuildercontextId(String contextId)Specifies the resource, or resources, to which the quota applies.QuotaContextInfo.BuildercontextScope(String contextScope)Specifies the scope to which the quota value is applied.QuotaContextInfo.BuildercontextScope(QuotaContextScope contextScope)Specifies the scope to which the quota value is applied.QuotaContextInfo.BuildercontextScopeType(String contextScopeType)Specifies the resource type to which the quota can be applied.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
contextScope
QuotaContextInfo.Builder contextScope(String contextScope)
Specifies the scope to which the quota value is applied. If the scope is
RESOURCE, the quota value is applied to each resource in the Amazon Web Services account. If the scope isACCOUNT, the quota value is applied to the Amazon Web Services account.- Parameters:
contextScope- Specifies the scope to which the quota value is applied. If the scope isRESOURCE, the quota value is applied to each resource in the Amazon Web Services account. If the scope isACCOUNT, the quota value is applied to the Amazon Web Services account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
QuotaContextScope,QuotaContextScope
-
contextScope
QuotaContextInfo.Builder contextScope(QuotaContextScope contextScope)
Specifies the scope to which the quota value is applied. If the scope is
RESOURCE, the quota value is applied to each resource in the Amazon Web Services account. If the scope isACCOUNT, the quota value is applied to the Amazon Web Services account.- Parameters:
contextScope- Specifies the scope to which the quota value is applied. If the scope isRESOURCE, the quota value is applied to each resource in the Amazon Web Services account. If the scope isACCOUNT, the quota value is applied to the Amazon Web Services account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
QuotaContextScope,QuotaContextScope
-
contextScopeType
QuotaContextInfo.Builder contextScopeType(String contextScopeType)
Specifies the resource type to which the quota can be applied.
- Parameters:
contextScopeType- Specifies the resource type to which the quota can be applied.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contextId
QuotaContextInfo.Builder contextId(String contextId)
Specifies the resource, or resources, to which the quota applies. The value for this field is either an Amazon Resource Name (ARN) or *. If the value is an ARN, the quota value applies to that resource. If the value is *, then the quota value applies to all resources listed in the
ContextScopeTypefield. The quota value applies to all resources for which you haven’t previously applied a quota value, and any new resources you create in your Amazon Web Services account.- Parameters:
contextId- Specifies the resource, or resources, to which the quota applies. The value for this field is either an Amazon Resource Name (ARN) or *. If the value is an ARN, the quota value applies to that resource. If the value is *, then the quota value applies to all resources listed in theContextScopeTypefield. The quota value applies to all resources for which you haven’t previously applied a quota value, and any new resources you create in your Amazon Web Services account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-