Interface KeyGroupSummary.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<KeyGroupSummary.Builder,KeyGroupSummary>,SdkBuilder<KeyGroupSummary.Builder,KeyGroupSummary>,SdkPojo
- Enclosing class:
- KeyGroupSummary
@Mutable @NotThreadSafe 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.BuilderkeyGroup(Consumer<KeyGroup.Builder> keyGroup)A key group.KeyGroupSummary.BuilderkeyGroup(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, sdkFieldNameToField, 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.Builderavoiding the need to create one manually viaKeyGroup.builder().When the
Consumercompletes,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)
-
-