public static class CreateKeyOptions.Builder extends Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(String bluemixInstance,
InputStream body)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
CreateKeyOptions.Builder |
bluemixInstance(String bluemixInstance)
Set the bluemixInstance.
|
CreateKeyOptions.Builder |
body(File body)
Set the body.
|
CreateKeyOptions.Builder |
body(InputStream body)
Set the body.
|
CreateKeyOptions |
build()
Builds a CreateKeyOptions.
|
CreateKeyOptions.Builder |
correlationId(String correlationId)
Set the correlationId.
|
CreateKeyOptions.Builder |
prefer(String prefer)
Set the prefer.
|
CreateKeyOptions.Builder |
xKmsKeyRing(String xKmsKeyRing)
Set the xKmsKeyRing.
|
public Builder()
public Builder(String bluemixInstance, InputStream body)
bluemixInstance
- the bluemixInstancebody
- the bodypublic CreateKeyOptions build()
public CreateKeyOptions.Builder bluemixInstance(String bluemixInstance)
bluemixInstance
- the bluemixInstancepublic CreateKeyOptions.Builder body(InputStream body)
body
- the bodypublic CreateKeyOptions.Builder correlationId(String correlationId)
correlationId
- the correlationIdpublic CreateKeyOptions.Builder prefer(String prefer)
prefer
- the preferpublic CreateKeyOptions.Builder xKmsKeyRing(String xKmsKeyRing)
xKmsKeyRing
- the xKmsKeyRingpublic CreateKeyOptions.Builder body(File body) throws FileNotFoundException
body
- the bodyFileNotFoundException
- if the file could not be foundCopyright © 2022 IBM Cloud. All rights reserved.