Interface ProtectionLimits.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ProtectionLimits.Builder,ProtectionLimits>,SdkBuilder<ProtectionLimits.Builder,ProtectionLimits>,SdkPojo
- Enclosing class:
- ProtectionLimits
public static interface ProtectionLimits.Builder extends SdkPojo, CopyableBuilder<ProtectionLimits.Builder,ProtectionLimits>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ProtectionLimits.BuilderprotectedResourceTypeLimits(Collection<Limit> protectedResourceTypeLimits)The maximum number of resource types that you can specify in a protection.ProtectionLimits.BuilderprotectedResourceTypeLimits(Consumer<Limit.Builder>... protectedResourceTypeLimits)The maximum number of resource types that you can specify in a protection.ProtectionLimits.BuilderprotectedResourceTypeLimits(Limit... protectedResourceTypeLimits)The maximum number of resource types that you can specify in a protection.-
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, sdkFields
-
-
-
-
Method Detail
-
protectedResourceTypeLimits
ProtectionLimits.Builder protectedResourceTypeLimits(Collection<Limit> protectedResourceTypeLimits)
The maximum number of resource types that you can specify in a protection.
- Parameters:
protectedResourceTypeLimits- The maximum number of resource types that you can specify in a protection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
protectedResourceTypeLimits
ProtectionLimits.Builder protectedResourceTypeLimits(Limit... protectedResourceTypeLimits)
The maximum number of resource types that you can specify in a protection.
- Parameters:
protectedResourceTypeLimits- The maximum number of resource types that you can specify in a protection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
protectedResourceTypeLimits
ProtectionLimits.Builder protectedResourceTypeLimits(Consumer<Limit.Builder>... protectedResourceTypeLimits)
The maximum number of resource types that you can specify in a protection.
This is a convenience method that creates an instance of theLimit.Builderavoiding the need to create one manually viaLimit.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#protectedResourceTypeLimits(List.) - Parameters:
protectedResourceTypeLimits- a consumer that will call methods onLimit.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#protectedResourceTypeLimits(java.util.Collection)
-
-