Class KeyProtectSettingsPatch.Builder

java.lang.Object
io.skipcheck.tm1.client.model.EncryptionAtRestProviderSettingsPatch.Builder
io.skipcheck.tm1.client.model.KeyProtectSettingsPatch.Builder
Enclosing class:
KeyProtectSettingsPatch

public static final class KeyProtectSettingsPatch.Builder extends EncryptionAtRestProviderSettingsPatch.Builder
Builds a KeyProtectSettingsPatch; each setter replaces what an earlier call set.
  • Method Details

    • keyRef

      public KeyProtectSettingsPatch.Builder keyRef(@Nullable String keyRef)
      Sets KeyRef: The unique id of the Customer Master Key (CMK) used to wrap and unwrap the Data Encryption Key (DEK).
      Overrides:
      keyRef in class EncryptionAtRestProviderSettingsPatch.Builder
      Parameters:
      keyRef - the value; null sends an explicit null
      Returns:
      this builder
    • serviceEndpoint

      public KeyProtectSettingsPatch.Builder serviceEndpoint(@Nullable String serviceEndpoint)
      Sets ServiceEndpoint: The URL to the Key Protect service endpoint, typically: 'https://<region>.kms.cloud.ibm.com'.
      Parameters:
      serviceEndpoint - the value; null sends an explicit null
      Returns:
      this builder
    • instanceID

      public KeyProtectSettingsPatch.Builder instanceID(@Nullable String instanceID)
      Sets InstanceID: The IBM Cloud instance ID that identifies your Key Protect service instance.
      Parameters:
      instanceID - the value; null sends an explicit null
      Returns:
      this builder
    • authRef

      public KeyProtectSettingsPatch.Builder authRef(@Nullable String authRef)
      Sets 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.
      Parameters:
      authRef - the value; null sends an explicit null
      Returns:
      this builder
    • authEndpoint

      public KeyProtectSettingsPatch.Builder authEndpoint(@Nullable String authEndpoint)
      Sets AuthEndpoint: If specified, this is used as the URL to the Key Protect authentication endpoint.
      Parameters:
      authEndpoint - the value; null sends an explicit null
      Returns:
      this builder
    • property

      public KeyProtectSettingsPatch.Builder property(String name, @Nullable Object value)
      Sets a property $metadata doesn't declare, which this open type can have, such as an attribute's value.
      Overrides:
      property in class EncryptionAtRestProviderSettingsPatch.Builder
      Parameters:
      name - the property's name, as TM1 writes it
      value - the value; null sends an explicit null
      Returns:
      this builder
    • build

      public KeyProtectSettingsPatch build()
      The patch, with what's been set so far.
      Overrides:
      build in class EncryptionAtRestProviderSettingsPatch.Builder
      Returns:
      the patch