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