Class RegistrationResource
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.ibm_key_protect_api.v2.model.RegistrationResource
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class RegistrationResource extends com.ibm.cloud.sdk.core.service.model.GenericModel
Properties associated with a registration.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCreatedBy()
Gets the createdBy.Date
getCreationDate()
Gets the creationDate.String
getDescription()
Gets the description.String
getKeyId()
Gets the keyId.String
getKeyName()
Gets the keyName.KeyVersion
getKeyVersion()
Gets the keyVersion.Date
getLastUpdated()
Gets the lastUpdated.String
getRegistrationMetadata()
Gets the registrationMetadata.String
getResourceCrn()
Gets the resourceCrn.String
getUpdatedBy()
Gets the updatedBy.Boolean
isPreventKeyDeletion()
Gets the preventKeyDeletion.
-
-
-
Method Detail
-
getKeyId
public String getKeyId()
Gets the keyId. The ID that identifies the root key that is associated with the specified cloud resource.- Returns:
- the keyId
-
getKeyName
public String getKeyName()
Gets the keyName. The human-readable reference assigned to the key that is associated with the specified cloud resource.- Returns:
- the keyName
-
getResourceCrn
public String getResourceCrn()
Gets the resourceCrn. The [Cloud Resource Name](/docs/account?topic=account-crn) (CRN) that represents the cloud resource, such as a Cloud Object Storage bucket, that is associated with the key.- Returns:
- the resourceCrn
-
getCreatedBy
public String getCreatedBy()
Gets the createdBy. The unique identifier for the resource that created the registration.- Returns:
- the createdBy
-
getCreationDate
public Date getCreationDate()
Gets the creationDate. The date the registration was created. The date format follows RFC 3339.- Returns:
- the creationDate
-
getUpdatedBy
public String getUpdatedBy()
Gets the updatedBy. The unique identifier for the resource that updated the registration.- Returns:
- the updatedBy
-
getLastUpdated
public Date getLastUpdated()
Gets the lastUpdated. Updates when the registration is modified. The date format follows RFC 3339.- Returns:
- the lastUpdated
-
getDescription
public String getDescription()
Gets the description. Description of the purpose of the registration.- Returns:
- the description
-
getRegistrationMetadata
public String getRegistrationMetadata()
Gets the registrationMetadata. Additional information about the registration. This field is not exposed to customers and is visible only with IBM Cloud service to service calls.- Returns:
- the registrationMetadata
-
isPreventKeyDeletion
public Boolean isPreventKeyDeletion()
Gets the preventKeyDeletion. A boolean that determines whether Key Protect must prevent deletion of a root key.- Returns:
- the preventKeyDeletion
-
getKeyVersion
public KeyVersion getKeyVersion()
Gets the keyVersion. Properties associated with a specific key version.- Returns:
- the keyVersion
-
-