Class KMIPObject
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.ibm_key_protect_api.v2.model.KMIPObject
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class KMIPObject extends com.ibm.cloud.sdk.core.service.model.GenericModelProperties applicable to all KMIP object resources.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DategetCreatedAt()Gets the createdAt.StringgetCreatedBy()Gets the createdBy.StringgetCreatedByKmipClientCertId()Gets the createdByKmipClientCertId.DategetDestroyedAt()Gets the destroyedAt.StringgetDestroyedBy()Gets the destroyedBy.StringgetDestroyedByKmipClientCertId()Gets the destroyedByKmipClientCertId.StringgetId()Gets the id.LonggetKmipObjectType()Gets the kmipObjectType.LonggetState()Gets the state.DategetUpdatedAt()Gets the updatedAt.StringgetUpdatedBy()Gets the updatedBy.StringgetUpdatedByKmipClientCertId()Gets the updatedByKmipClientCertId.
-
-
-
Method Detail
-
getId
public String getId()
Gets the id. The v4 UUID that uniquely identifies this KMIP object.- Returns:
- the id
-
getKmipObjectType
public Long getKmipObjectType()
Gets the kmipObjectType. The object type of the kmip object according to the KMIP specification. Currently, only kmip_object_type 2(Symmetric Key) is supported. For more info on the KMIP specification and object types, read https://docs.oasis-open.org/kmip/spec/v1.4/os/kmip-spec-v1.4-os.html#_Toc490660932.- Returns:
- the kmipObjectType
-
getState
public Long getState()
Gets the state. States are integers and correspond to Pre-Active = 1, Active = 2, Deactivated = 3, Compromised = 4, Destroyed = 5, Destroyed Compromised = 6. For more info on the KMIP specification, read https://docs.oasis-open.org/kmip/spec/v1.4/os/kmip-spec-v1.4-os.html.- Returns:
- the state
-
getCreatedAt
public Date getCreatedAt()
Gets the createdAt. The date the KMIP object was created. The date format follows RFC 3339.- Returns:
- the createdAt
-
getCreatedByKmipClientCertId
public String getCreatedByKmipClientCertId()
Gets the createdByKmipClientCertId. The v4 UUID that uniquely identifies the certificate used to create this KMIP object.- Returns:
- the createdByKmipClientCertId
-
getCreatedBy
public String getCreatedBy()
Gets the createdBy. The IAM id that created the certificate resource used to create this KMIP object.- Returns:
- the createdBy
-
getUpdatedAt
public Date getUpdatedAt()
Gets the updatedAt. The date the KMIP object was last modified. The date format follows RFC 3339.- Returns:
- the updatedAt
-
getUpdatedByKmipClientCertId
public String getUpdatedByKmipClientCertId()
Gets the updatedByKmipClientCertId. The v4 UUID that uniquely identifies the certificate used to update this KMIP object.- Returns:
- the updatedByKmipClientCertId
-
getUpdatedBy
public String getUpdatedBy()
Gets the updatedBy. The IAM id that created the certificate resource used to update this KMIP object.- Returns:
- the updatedBy
-
getDestroyedAt
public Date getDestroyedAt()
Gets the destroyedAt. The date the KMIP object was destroyed. The date format follows RFC 3339.- Returns:
- the destroyedAt
-
getDestroyedByKmipClientCertId
public String getDestroyedByKmipClientCertId()
Gets the destroyedByKmipClientCertId. The v4 UUID that uniquely identifies the certificate used to destroy this KMIP object.- Returns:
- the destroyedByKmipClientCertId
-
getDestroyedBy
public String getDestroyedBy()
Gets the destroyedBy. The IAM id that created the certificate resource used to destroy this KMIP object.- Returns:
- the destroyedBy
-
-