Class TopicRegenerateKeyRequest


  • public final class TopicRegenerateKeyRequest
    extends Object
    Topic regenerate share access key request.
    • Constructor Detail

      • TopicRegenerateKeyRequest

        public TopicRegenerateKeyRequest()
    • Method Detail

      • keyName

        public String keyName()
        Get the keyName property: Key name to regenerate key1 or key2.
        Returns:
        the keyName value.
      • withKeyName

        public TopicRegenerateKeyRequest withKeyName​(String keyName)
        Set the keyName property: Key name to regenerate key1 or key2.
        Parameters:
        keyName - the keyName value to set.
        Returns:
        the TopicRegenerateKeyRequest object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.