Interface KeyGroupSummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<KeyGroupSummary.Builder,
,KeyGroupSummary> SdkBuilder<KeyGroupSummary.Builder,
,KeyGroupSummary> SdkPojo
- Enclosing class:
KeyGroupSummary
public static interface KeyGroupSummary.Builder
extends SdkPojo, CopyableBuilder<KeyGroupSummary.Builder,KeyGroupSummary>
-
Method Summary
Modifier and TypeMethodDescriptiondefault KeyGroupSummary.Builder
keyGroup
(Consumer<KeyGroup.Builder> keyGroup) A key group.A key group.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
-
keyGroup
A key group.
- Parameters:
keyGroup
- A key group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keyGroup
A key group.
This is a convenience method that creates an instance of theKeyGroup.Builder
avoiding the need to create one manually viaKeyGroup.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tokeyGroup(KeyGroup)
.- Parameters:
keyGroup
- a consumer that will call methods onKeyGroup.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-