Class KVSecretVersionPrototype.Builder
- java.lang.Object
-
- com.ibm.cloud.secrets_manager_sdk.secrets_manager.v2.model.KVSecretVersionPrototype.Builder
-
- Enclosing class:
- KVSecretVersionPrototype
public static class KVSecretVersionPrototype.Builder extends Object
Builder.
-
-
Constructor Summary
Constructors Constructor Description Builder()Instantiates a new builder.Builder(SecretVersionPrototype kvSecretVersionPrototype)Instantiates a new Builder from an existing KVSecretVersionPrototype instance.Builder(Map<String,Object> data)Instantiates a new builder with required properties.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KVSecretVersionPrototypebuild()Builds a KVSecretVersionPrototype.KVSecretVersionPrototype.BuildercustomMetadata(Map<String,Object> customMetadata)Set the customMetadata.KVSecretVersionPrototype.Builderdata(Map<String,Object> data)Set the data.KVSecretVersionPrototype.BuilderversionCustomMetadata(Map<String,Object> versionCustomMetadata)Set the versionCustomMetadata.
-
-
-
Constructor Detail
-
Builder
public Builder(SecretVersionPrototype kvSecretVersionPrototype)
Instantiates a new Builder from an existing KVSecretVersionPrototype instance.- Parameters:
kvSecretVersionPrototype- the instance to initialize the Builder with
-
Builder
public Builder()
Instantiates a new builder.
-
-
Method Detail
-
build
public KVSecretVersionPrototype build()
Builds a KVSecretVersionPrototype.- Returns:
- the new KVSecretVersionPrototype instance
-
data
public KVSecretVersionPrototype.Builder data(Map<String,Object> data)
Set the data.- Parameters:
data- the data- Returns:
- the KVSecretVersionPrototype builder
-
customMetadata
public KVSecretVersionPrototype.Builder customMetadata(Map<String,Object> customMetadata)
Set the customMetadata.- Parameters:
customMetadata- the customMetadata- Returns:
- the KVSecretVersionPrototype builder
-
versionCustomMetadata
public KVSecretVersionPrototype.Builder versionCustomMetadata(Map<String,Object> versionCustomMetadata)
Set the versionCustomMetadata.- Parameters:
versionCustomMetadata- the versionCustomMetadata- Returns:
- the KVSecretVersionPrototype builder
-
-