Interface UserLimits.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<UserLimits.Builder,,UserLimits> SdkBuilder<UserLimits.Builder,,UserLimits> SdkPojo
- Enclosing class:
UserLimits
@Mutable
@NotThreadSafe
public static interface UserLimits.Builder
extends SdkPojo, CopyableBuilder<UserLimits.Builder,UserLimits>
-
Method Summary
Modifier and TypeMethodDescriptioneffectiveLimits(Collection<EffectiveLimit> effectiveLimits) A list of effective limits for the user.effectiveLimits(Consumer<EffectiveLimit.Builder>... effectiveLimits) A list of effective limits for the user.effectiveLimits(EffectiveLimit... effectiveLimits) A list of effective limits for the user.The namespace of the user.The name of the user.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
userName
The name of the user.
- Parameters:
userName- The name of the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
namespace
The namespace of the user.
- Parameters:
namespace- The namespace of the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
effectiveLimits
A list of effective limits for the user.
- Parameters:
effectiveLimits- A list of effective limits for the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
effectiveLimits
A list of effective limits for the user.
- Parameters:
effectiveLimits- A list of effective limits for the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
effectiveLimits
A list of effective limits for the user.
This is a convenience method that creates an instance of theEffectiveLimit.Builderavoiding the need to create one manually viaEffectiveLimit.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toeffectiveLimits(List<EffectiveLimit>).- Parameters:
effectiveLimits- a consumer that will call methods onEffectiveLimit.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-