Class SecretVersionLocks
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.secrets_manager_sdk.secrets_manager.v2.model.SecretVersionLocks
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class SecretVersionLocks extends com.ibm.cloud.sdk.core.service.model.GenericModelSecretVersionLocks.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSecretVersionLocks.VersionAliasA human-readable alias that describes the secret version.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>getLocks()Gets the locks.StringgetVersionAlias()Gets the versionAlias.StringgetVersionId()Gets the versionId.BooleanisPayloadAvailable()Gets the payloadAvailable.
-
-
-
Method Detail
-
getVersionId
public String getVersionId()
Gets the versionId. A UUID identifier.- Returns:
- the versionId
-
getVersionAlias
public String getVersionAlias()
Gets the versionAlias. 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 versionAlias
-
getLocks
public List<String> getLocks()
Gets the locks. The names of all locks that are associated with this secret version.- Returns:
- the locks
-
isPayloadAvailable
public Boolean isPayloadAvailable()
Gets the payloadAvailable. Indicates whether the secret payload is available in this secret version.- Returns:
- the payloadAvailable
-
-