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