Class SecretLock
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.secrets_manager_sdk.secrets_manager.v2.model.SecretLock
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class SecretLock extends com.ibm.cloud.sdk.core.service.model.GenericModelSecretLock.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSecretLock.SecretVersionAliasA human-readable alias that describes the secret version.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>getAttributes()Gets the attributes.DategetCreatedAt()Gets the createdAt.StringgetCreatedBy()Gets the createdBy.StringgetDescription()Gets the description.StringgetName()Gets the name.StringgetSecretGroupId()Gets the secretGroupId.StringgetSecretId()Gets the secretId.StringgetSecretVersionAlias()Gets the secretVersionAlias.StringgetSecretVersionId()Gets the secretVersionId.DategetUpdatedAt()Gets the updatedAt.
-
-
-
Method Detail
-
getName
public String getName()
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
-
getDescription
public String getDescription()
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
-
getAttributes
public Map<String,Object> getAttributes()
Gets the attributes. Optional information to associate with a lock, such as resources CRNs to be used by automation.- Returns:
- the attributes
-
getCreatedAt
public Date getCreatedAt()
Gets the createdAt. The date when the resource was created. The date format follows `RFC 3339`.- Returns:
- the createdAt
-
getUpdatedAt
public Date getUpdatedAt()
Gets the updatedAt. The date when a resource was modified. The date format follows `RFC 3339`.- Returns:
- the updatedAt
-
getCreatedBy
public String getCreatedBy()
Gets the createdBy. The unique identifier that is associated with the entity that created the secret.- Returns:
- the createdBy
-
getSecretGroupId
public String getSecretGroupId()
Gets the secretGroupId. A UUID identifier, or `default` secret group.- Returns:
- the secretGroupId
-
getSecretId
public String getSecretId()
Gets the secretId. A UUID identifier.- Returns:
- the secretId
-
getSecretVersionId
public String getSecretVersionId()
Gets the secretVersionId. A UUID identifier.- Returns:
- the secretVersionId
-
getSecretVersionAlias
public String getSecretVersionAlias()
Gets the secretVersionAlias. A human-readable alias that describes the secret version. 'Current' is used for version `n` and 'previous' is used for version `n-1`.- Returns:
- the secretVersionAlias
-
-