Class PatchKeyOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.ibm_key_protect_api.v2.model.PatchKeyOptions.Builder
-
- Enclosing class:
- PatchKeyOptions
public static class PatchKeyOptions.Builder extends Object
Builder.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
build
public PatchKeyOptions build()
Builds a PatchKeyOptions.- Returns:
- the new PatchKeyOptions instance
-
id
public PatchKeyOptions.Builder id(String id)
Set the id.- Parameters:
id
- the id- Returns:
- the PatchKeyOptions builder
-
bluemixInstance
public PatchKeyOptions.Builder bluemixInstance(String bluemixInstance)
Set the bluemixInstance.- Parameters:
bluemixInstance
- the bluemixInstance- Returns:
- the PatchKeyOptions builder
-
keyPatchBody
public PatchKeyOptions.Builder keyPatchBody(InputStream keyPatchBody)
Set the keyPatchBody.- Parameters:
keyPatchBody
- the keyPatchBody- Returns:
- the PatchKeyOptions builder
-
correlationId
public PatchKeyOptions.Builder correlationId(String correlationId)
Set the correlationId.- Parameters:
correlationId
- the correlationId- Returns:
- the PatchKeyOptions builder
-
xKmsKeyRing
public PatchKeyOptions.Builder xKmsKeyRing(String xKmsKeyRing)
Set the xKmsKeyRing.- Parameters:
xKmsKeyRing
- the xKmsKeyRing- Returns:
- the PatchKeyOptions builder
-
keyPatchBody
public PatchKeyOptions.Builder keyPatchBody(File keyPatchBody) throws FileNotFoundException
Set the keyPatchBody.- Parameters:
keyPatchBody
- the keyPatchBody- Returns:
- the PatchKeyOptions builder
- Throws:
FileNotFoundException
- if the file could not be found
-
-