Class SecretLocks
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.secrets_manager_sdk.secrets_manager.v2.model.SecretLocks
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class SecretLocks extends com.ibm.cloud.sdk.core.service.model.GenericModelCreate locks response body containing a collection of locks that are attached to a secret.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSecretLocks.SecretTypeThe secret type.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetSecretGroupId()Gets the secretGroupId.StringgetSecretId()Gets the secretId.StringgetSecretName()Gets the secretName.StringgetSecretType()Gets the secretType.List<SecretVersionLocks>getVersions()Gets the versions.
-
-
-
Method Detail
-
getSecretId
public String getSecretId()
Gets the secretId. A UUID identifier.- Returns:
- the secretId
-
getSecretGroupId
public String getSecretGroupId()
Gets the secretGroupId. A UUID identifier, or `default` secret group.- Returns:
- the secretGroupId
-
getSecretType
public String getSecretType()
Gets the secretType. The secret type. Supported types are arbitrary, imported_cert, public_cert, private_cert, iam_credentials, service_credentials, kv, and username_password.- Returns:
- the secretType
-
getSecretName
public String getSecretName()
Gets the secretName. The human-readable name of your secret.- Returns:
- the secretName
-
getVersions
public List<SecretVersionLocks> getVersions()
Gets the versions. A collection of locks that are attached to a secret.- Returns:
- the versions
-
-