Class UpdateKeyRequest

    • Method Detail

      • description

        public final String description()

        Updates the description for the API key resource.

        Returns:
        Updates the description for the API key resource.
      • expireTime

        public final Instant expireTime()

        Updates the timestamp for when the API key resource will expire in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

        Returns:
        Updates the timestamp for when the API key resource will expire in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.
      • forceUpdate

        public final Boolean forceUpdate()

        The boolean flag to be included for updating ExpireTime or Restrictions details.

        Must be set to true to update an API key resource that has been used in the past 7 days.

        False if force update is not preferred

        Default value: False

        Returns:
        The boolean flag to be included for updating ExpireTime or Restrictions details.

        Must be set to true to update an API key resource that has been used in the past 7 days.

        False if force update is not preferred

        Default value: False

      • keyName

        public final String keyName()

        The name of the API key resource to update.

        Returns:
        The name of the API key resource to update.
      • noExpiry

        public final Boolean noExpiry()

        Whether the API key should expire. Set to true to set the API key to have no expiration time.

        Returns:
        Whether the API key should expire. Set to true to set the API key to have no expiration time.
      • restrictions

        public final ApiKeyRestrictions restrictions()

        Updates the API key restrictions for the API key resource.

        Returns:
        Updates the API key restrictions for the API key resource.
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object