Class SecretLockPrototype
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.secrets_manager_sdk.secrets_manager.v2.model.SecretLockPrototype
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class SecretLockPrototype extends com.ibm.cloud.sdk.core.service.model.GenericModelSecretLockPrototype.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSecretLockPrototype.BuilderBuilder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>attributes()Gets the attributes.Stringdescription()Gets the description.Stringname()Gets the name.SecretLockPrototype.BuildernewBuilder()New builder.
-
-
-
Method Detail
-
newBuilder
public SecretLockPrototype.Builder newBuilder()
New builder.- Returns:
- a SecretLockPrototype builder
-
name
public String name()
Gets the name. A human-readable name to assign to the lock. The lock name must be unique per secret version. To protect your privacy, do not use personal data, such as your name or location, as a name for your secret lock.- Returns:
- the name
-
description
public String description()
Gets the description. An extended description of the lock. To protect your privacy, do not use personal data, such as your name or location, as a description for your secret lock.- Returns:
- the description
-
-