public static class AlgorithmEncryption.Builder extends Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(String subType,
List<String> pubKey,
String type,
Boolean enabled)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
AlgorithmEncryption.Builder |
addPubKey(String pubKey)
Adds an pubKey to pubKey.
|
AlgorithmEncryption |
build()
Builds a AlgorithmEncryption.
|
AlgorithmEncryption.Builder |
enabled(Boolean enabled)
Set the enabled.
|
AlgorithmEncryption.Builder |
pubKey(List<String> pubKey)
Set the pubKey.
|
AlgorithmEncryption.Builder |
subType(String subType)
Set the subType.
|
AlgorithmEncryption.Builder |
type(String type)
Set the type.
|
public AlgorithmEncryption build()
public AlgorithmEncryption.Builder addPubKey(String pubKey)
pubKey
- the new pubKeypublic AlgorithmEncryption.Builder subType(String subType)
subType
- the subTypepublic AlgorithmEncryption.Builder pubKey(List<String> pubKey)
pubKey
- the pubKeypublic AlgorithmEncryption.Builder type(String type)
type
- the typepublic AlgorithmEncryption.Builder enabled(Boolean enabled)
enabled
- the enabledCopyright © 2021 IBM Cloud. All rights reserved.