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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default KeyGroupSummary.Builder
keyGroup(Consumer<KeyGroup.Builder> keyGroup)
A key group.KeyGroupSummary.Builder
keyGroup(KeyGroup keyGroup)
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 Detail
-
keyGroup
KeyGroupSummary.Builder keyGroup(KeyGroup 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
default KeyGroupSummary.Builder keyGroup(Consumer<KeyGroup.Builder> 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:
keyGroup(KeyGroup)
-
-