Interface ProtectionGroupPatternTypeLimits.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ProtectionGroupPatternTypeLimits.Builder,
,ProtectionGroupPatternTypeLimits> SdkBuilder<ProtectionGroupPatternTypeLimits.Builder,
,ProtectionGroupPatternTypeLimits> SdkPojo
- Enclosing class:
ProtectionGroupPatternTypeLimits
public static interface ProtectionGroupPatternTypeLimits.Builder
extends SdkPojo, CopyableBuilder<ProtectionGroupPatternTypeLimits.Builder,ProtectionGroupPatternTypeLimits>
-
Method Summary
Modifier and TypeMethodDescriptionarbitraryPatternLimits
(Consumer<ProtectionGroupArbitraryPatternLimits.Builder> arbitraryPatternLimits) Limits settings on protection groups with arbitrary pattern type.arbitraryPatternLimits
(ProtectionGroupArbitraryPatternLimits arbitraryPatternLimits) Limits settings on protection groups with arbitrary pattern type.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 Details
-
arbitraryPatternLimits
ProtectionGroupPatternTypeLimits.Builder arbitraryPatternLimits(ProtectionGroupArbitraryPatternLimits arbitraryPatternLimits) Limits settings on protection groups with arbitrary pattern type.
- Parameters:
arbitraryPatternLimits
- Limits settings on protection groups with arbitrary pattern type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arbitraryPatternLimits
default ProtectionGroupPatternTypeLimits.Builder arbitraryPatternLimits(Consumer<ProtectionGroupArbitraryPatternLimits.Builder> arbitraryPatternLimits) Limits settings on protection groups with arbitrary pattern type.
This is a convenience method that creates an instance of theProtectionGroupArbitraryPatternLimits.Builder
avoiding the need to create one manually viaProtectionGroupArbitraryPatternLimits.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toarbitraryPatternLimits(ProtectionGroupArbitraryPatternLimits)
.- Parameters:
arbitraryPatternLimits
- a consumer that will call methods onProtectionGroupArbitraryPatternLimits.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-