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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description KeyGroup.Builder
id(String id)
The identifier for the key group.default KeyGroup.Builder
keyGroupConfig(Consumer<KeyGroupConfig.Builder> keyGroupConfig)
The key group configuration.KeyGroup.Builder
keyGroupConfig(KeyGroupConfig keyGroupConfig)
The key group configuration.KeyGroup.Builder
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 Detail
-
id
KeyGroup.Builder id(String 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
KeyGroup.Builder lastModifiedTime(Instant 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
KeyGroup.Builder keyGroupConfig(KeyGroupConfig 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
default KeyGroup.Builder keyGroupConfig(Consumer<KeyGroupConfig.Builder> 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:
keyGroupConfig(KeyGroupConfig)
-
-