public static final class KeyGroupProps.Builder
extends java.lang.Object
KeyGroupProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
KeyGroupProps |
build()
Builds the configured instance.
|
KeyGroupProps.Builder |
comment(java.lang.String comment)
Sets the value of
KeyGroupProps.getComment() |
KeyGroupProps.Builder |
items(java.util.List<? extends IPublicKey> items)
Sets the value of
KeyGroupProps.getItems() |
KeyGroupProps.Builder |
keyGroupName(java.lang.String keyGroupName)
Sets the value of
KeyGroupProps.getKeyGroupName() |
public KeyGroupProps.Builder items(java.util.List<? extends IPublicKey> items)
KeyGroupProps.getItems()
items
- A list of public keys to add to the key group. This parameter is required.this
public KeyGroupProps.Builder comment(java.lang.String comment)
KeyGroupProps.getComment()
comment
- A comment to describe the key group.this
public KeyGroupProps.Builder keyGroupName(java.lang.String keyGroupName)
KeyGroupProps.getKeyGroupName()
keyGroupName
- A name to identify the key group.this
public KeyGroupProps build()
KeyGroupProps
java.lang.NullPointerException
- if any required attribute was not provided