Class SecretLockPrototype.Builder
- java.lang.Object
-
- com.ibm.cloud.secrets_manager_sdk.secrets_manager.v2.model.SecretLockPrototype.Builder
-
- Enclosing class:
- SecretLockPrototype
public static class SecretLockPrototype.Builder extends Object
Builder.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SecretLockPrototype.Builderattributes(Map<String,Object> attributes)Set the attributes.SecretLockPrototypebuild()Builds a SecretLockPrototype.SecretLockPrototype.Builderdescription(String description)Set the description.SecretLockPrototype.Buildername(String name)Set the name.
-
-
-
Constructor Detail
-
Builder
public Builder()
Instantiates a new builder.
-
Builder
public Builder(String name)
Instantiates a new builder with required properties.- Parameters:
name- the name
-
-
Method Detail
-
build
public SecretLockPrototype build()
Builds a SecretLockPrototype.- Returns:
- the new SecretLockPrototype instance
-
name
public SecretLockPrototype.Builder name(String name)
Set the name.- Parameters:
name- the name- Returns:
- the SecretLockPrototype builder
-
description
public SecretLockPrototype.Builder description(String description)
Set the description.- Parameters:
description- the description- Returns:
- the SecretLockPrototype builder
-
attributes
public SecretLockPrototype.Builder attributes(Map<String,Object> attributes)
Set the attributes.- Parameters:
attributes- the attributes- Returns:
- the SecretLockPrototype builder
-
-