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