Class ObservabilityPipelineKafkaSasl

java.lang.Object
com.datadog.api.client.v2.model.ObservabilityPipelineKafkaSasl

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class ObservabilityPipelineKafkaSasl extends Object
Specifies the SASL mechanism for authenticating with a Kafka cluster.
  • Field Details

  • Constructor Details

    • ObservabilityPipelineKafkaSasl

      public ObservabilityPipelineKafkaSasl()
  • Method Details

    • mechanism

    • getMechanism

      @Nullable public ObservabilityPipelineKafkaSaslMechanism getMechanism()
      SASL mechanism used for Kafka authentication.
      Returns:
      mechanism
    • setMechanism

      public void setMechanism(ObservabilityPipelineKafkaSaslMechanism mechanism)
    • passwordKey

      public ObservabilityPipelineKafkaSasl passwordKey(String passwordKey)
    • getPasswordKey

      @Nullable public String getPasswordKey()
      Name of the environment variable or secret that holds the SASL password.
      Returns:
      passwordKey
    • setPasswordKey

      public void setPasswordKey(String passwordKey)
    • usernameKey

      public ObservabilityPipelineKafkaSasl usernameKey(String usernameKey)
    • getUsernameKey

      @Nullable public String getUsernameKey()
      Name of the environment variable or secret that holds the SASL username.
      Returns:
      usernameKey
    • setUsernameKey

      public void setUsernameKey(String usernameKey)
    • putAdditionalProperty

      public ObservabilityPipelineKafkaSasl putAdditionalProperty(String key, Object value)
      Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.
      Parameters:
      key - The arbitrary key to set
      value - The associated value
      Returns:
      ObservabilityPipelineKafkaSasl
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      The additional properties
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      Return the additional (undeclared) property with the specified name.
      Parameters:
      key - The arbitrary key to get
      Returns:
      The specific additional property for the given key
    • equals

      public boolean equals(Object o)
      Return true if this ObservabilityPipelineKafkaSasl object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object