Class PurgeKeyOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.ibm_key_protect_api.v2.model.PurgeKeyOptions.Builder
-
- Enclosing class:
- PurgeKeyOptions
public static class PurgeKeyOptions.Builder extends Object
Builder.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PurgeKeyOptions.Builder
bluemixInstance(String bluemixInstance)
Set the bluemixInstance.PurgeKeyOptions
build()
Builds a PurgeKeyOptions.PurgeKeyOptions.Builder
correlationId(String correlationId)
Set the correlationId.PurgeKeyOptions.Builder
id(String id)
Set the id.PurgeKeyOptions.Builder
prefer(String prefer)
Set the prefer.PurgeKeyOptions.Builder
xKmsKeyRing(String xKmsKeyRing)
Set the xKmsKeyRing.
-
-
-
Method Detail
-
build
public PurgeKeyOptions build()
Builds a PurgeKeyOptions.- Returns:
- the new PurgeKeyOptions instance
-
id
public PurgeKeyOptions.Builder id(String id)
Set the id.- Parameters:
id
- the id- Returns:
- the PurgeKeyOptions builder
-
bluemixInstance
public PurgeKeyOptions.Builder bluemixInstance(String bluemixInstance)
Set the bluemixInstance.- Parameters:
bluemixInstance
- the bluemixInstance- Returns:
- the PurgeKeyOptions builder
-
correlationId
public PurgeKeyOptions.Builder correlationId(String correlationId)
Set the correlationId.- Parameters:
correlationId
- the correlationId- Returns:
- the PurgeKeyOptions builder
-
xKmsKeyRing
public PurgeKeyOptions.Builder xKmsKeyRing(String xKmsKeyRing)
Set the xKmsKeyRing.- Parameters:
xKmsKeyRing
- the xKmsKeyRing- Returns:
- the PurgeKeyOptions builder
-
prefer
public PurgeKeyOptions.Builder prefer(String prefer)
Set the prefer.- Parameters:
prefer
- the prefer- Returns:
- the PurgeKeyOptions builder
-
-