Interface QuotaContextInfo.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<QuotaContextInfo.Builder,
,QuotaContextInfo> SdkBuilder<QuotaContextInfo.Builder,
,QuotaContextInfo> SdkPojo
- Enclosing class:
QuotaContextInfo
-
Method Summary
Modifier and TypeMethodDescriptionSpecifies the resource, or resources, to which the quota applies.contextScope
(String contextScope) Specifies the scope to which the quota value is applied.contextScope
(QuotaContextScope contextScope) Specifies the scope to which the quota value is applied.contextScopeType
(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 Details
-
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:
-
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:
-
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
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
ContextScopeType
field. 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 theContextScopeType
field. 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.
-