Record Class KeyProtectSettings

java.lang.Object
java.lang.Record
io.skipcheck.tm1.client.model.KeyProtectSettings
Record Components:
keyRef - The unique id of the Customer Master Key (CMK) used to wrap and unwrap the Data Encryption Key (DEK).
serviceEndpoint - The URL to the Key Protect service endpoint, typically: 'https://<region>.kms.cloud.ibm.com'.
instanceID - The IBM Cloud instance ID that identifies your Key Protect service instance.
authRef - A URI-like opaque handle that resolves to a base-64 encoded API key to be used to retrieve an access token for the Key Protect service.
authEndpoint - If specified, this is used as the URL to the Key Protect authentication endpoint.
dynamicProperties - the properties $metadata doesn't declare, which an open type can have, such as attribute values
All Implemented Interfaces:
EncryptionAtRestProviderSettings

@Generated("io.skipcheck.tm1.codegen") @Since("11.8.35") public record KeyProtectSettings(@Nullable String keyRef, @Nullable String serviceEndpoint, @Nullable String instanceID, @Nullable String authRef, @Nullable String authEndpoint, @Nullable Map<String, tools.jackson.databind.JsonNode> dynamicProperties) extends Record implements EncryptionAtRestProviderSettings
KeyProtectSettings represents an encryption-at-rest provider backed by IBM Cloud Key Protect. This provider uses centrally managed keys stored in IBM's Key Protect service, enabling secure key lifecycle management, auditing, and compliance integration.

A kind of EncryptionAtRestProviderSettings, read and sent with @odata.type #ibm.tm1.api.v1.KeyProtectSettings.

Generated from $metadata. Every component is nullable: $select can leave any property out. Null components aren't sent.

  • Field Details

    • SERVICE_ENDPOINT

      public static final ODataProperty SERVICE_ENDPOINT
      ServiceEndpoint, for queries: The URL to the Key Protect service endpoint, typically: 'https://<region>.kms.cloud.ibm.com'.
    • INSTANCE_ID

      public static final ODataProperty INSTANCE_ID
      InstanceID, for queries: The IBM Cloud instance ID that identifies your Key Protect service instance.
    • AUTH_REF

      public static final ODataProperty AUTH_REF
      AuthRef, for queries: A URI-like opaque handle that resolves to a base-64 encoded API key to be used to retrieve an access token for the Key Protect service.
    • AUTH_ENDPOINT

      public static final ODataProperty AUTH_ENDPOINT
      AuthEndpoint, for queries: If specified, this is used as the URL to the Key Protect authentication endpoint.
  • Constructor Details

    • KeyProtectSettings

      public KeyProtectSettings(@Nullable String keyRef, @Nullable String serviceEndpoint, @Nullable String instanceID, @Nullable String authRef, @Nullable String authEndpoint, @Nullable Map<String, tools.jackson.databind.JsonNode> dynamicProperties)
      Creates an instance of a KeyProtectSettings record class.
      Parameters:
      keyRef - the value for the keyRef record component
      serviceEndpoint - the value for the serviceEndpoint record component
      instanceID - the value for the instanceID record component
      authRef - the value for the authRef record component
      authEndpoint - the value for the authEndpoint record component
      dynamicProperties - the value for the dynamicProperties record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • keyRef

      public @Nullable String keyRef()
      Returns the value of the keyRef record component.
      Specified by:
      keyRef in interface EncryptionAtRestProviderSettings
      Returns:
      the value of the keyRef record component
    • serviceEndpoint

      public @Nullable String serviceEndpoint()
      Returns the value of the serviceEndpoint record component.
      Returns:
      the value of the serviceEndpoint record component
    • instanceID

      public @Nullable String instanceID()
      Returns the value of the instanceID record component.
      Returns:
      the value of the instanceID record component
    • authRef

      public @Nullable String authRef()
      Returns the value of the authRef record component.
      Returns:
      the value of the authRef record component
    • authEndpoint

      public @Nullable String authEndpoint()
      Returns the value of the authEndpoint record component.
      Returns:
      the value of the authEndpoint record component
    • dynamicProperties

      public @Nullable Map<String, tools.jackson.databind.JsonNode> dynamicProperties()
      Returns the value of the dynamicProperties record component.
      Specified by:
      dynamicProperties in interface EncryptionAtRestProviderSettings
      Returns:
      the value of the dynamicProperties record component