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