Interface KeyGroup.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<KeyGroup.Builder,
,KeyGroup> SdkBuilder<KeyGroup.Builder,
,KeyGroup> SdkPojo
- Enclosing class:
KeyGroup
public static interface KeyGroup.Builder
extends SdkPojo, CopyableBuilder<KeyGroup.Builder,KeyGroup>
-
Method Summary
Modifier and TypeMethodDescriptionThe identifier for the key group.default KeyGroup.Builder
keyGroupConfig
(Consumer<KeyGroupConfig.Builder> keyGroupConfig) The key group configuration.keyGroupConfig
(KeyGroupConfig keyGroupConfig) The key group configuration.lastModifiedTime
(Instant lastModifiedTime) The date and time when the key group was last modified.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
-
id
The identifier for the key group.
- Parameters:
id
- The identifier for the key group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedTime
The date and time when the key group was last modified.
- Parameters:
lastModifiedTime
- The date and time when the key group was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keyGroupConfig
The key group configuration.
- Parameters:
keyGroupConfig
- The key group configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keyGroupConfig
The key group configuration.
This is a convenience method that creates an instance of theKeyGroupConfig.Builder
avoiding the need to create one manually viaKeyGroupConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tokeyGroupConfig(KeyGroupConfig)
.- Parameters:
keyGroupConfig
- a consumer that will call methods onKeyGroupConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-