Package com.oracle.bmc.jms.model
Class KeySizeAlgorithm.Builder
- java.lang.Object
-
- com.oracle.bmc.jms.model.KeySizeAlgorithm.Builder
-
- Enclosing class:
- KeySizeAlgorithm
public static class KeySizeAlgorithm.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KeySizeAlgorithm
build()
KeySizeAlgorithm.Builder
copy(KeySizeAlgorithm model)
KeySizeAlgorithm.Builder
keySize(Integer keySize)
Key size for the encryption algorithm.KeySizeAlgorithm.Builder
name(Algorithms name)
The algorithm name.
-
-
-
Method Detail
-
name
public KeySizeAlgorithm.Builder name(Algorithms name)
The algorithm name.- Parameters:
name
- the value to set- Returns:
- this builder
-
keySize
public KeySizeAlgorithm.Builder keySize(Integer keySize)
Key size for the encryption algorithm.Allowed values: 256 for EC, 2048 for DH/DSA/RSA
- Parameters:
keySize
- the value to set- Returns:
- this builder
-
build
public KeySizeAlgorithm build()
-
copy
public KeySizeAlgorithm.Builder copy(KeySizeAlgorithm model)
-
-