public class KafkaProtocolInfo extends AbstractModel
header, skipSign
Constructor and Description |
---|
KafkaProtocolInfo() |
KafkaProtocolInfo(KafkaProtocolInfo source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
String |
getMechanism()
Get Encryption type, supports PLAIN, SCRAM-SHA-256, or SCRAM-SHA-512.Required when the Protocol is sasl_plaintext or sasl_ssl.Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getPassword()
Get User PasswordRequired when the Protocol is sasl_plaintext or sasl_ssl.Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getProtocol()
Get Protocol type, including plaintext, sasl_plaintext, or sasl_ssl.
|
String |
getUserName()
Get UsernameRequired when the Protocol is sasl_plaintext or sasl_ssl.Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setMechanism(String Mechanism)
Set Encryption type, supports PLAIN, SCRAM-SHA-256, or SCRAM-SHA-512.Required when the Protocol is sasl_plaintext or sasl_ssl.Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setPassword(String Password)
Set User PasswordRequired when the Protocol is sasl_plaintext or sasl_ssl.Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setProtocol(String Protocol)
Set Protocol type, including plaintext, sasl_plaintext, or sasl_ssl.
|
void |
setUserName(String UserName)
Set UsernameRequired when the Protocol is sasl_plaintext or sasl_ssl.Note: This field may return null, indicating that no valid values can be obtained.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public KafkaProtocolInfo()
public KafkaProtocolInfo(KafkaProtocolInfo source)
public String getProtocol()
public void setProtocol(String Protocol)
Protocol
- Protocol type, including plaintext, sasl_plaintext, or sasl_ssl. sasl_ssl is recommended for encrypted connections and user authentication.Required input parameters
Note: This field may return null, indicating that no valid values can be obtained.public String getMechanism()
public void setMechanism(String Mechanism)
Mechanism
- Encryption type, supports PLAIN, SCRAM-SHA-256, or SCRAM-SHA-512.Required when the Protocol is sasl_plaintext or sasl_ssl.Note: This field may return null, indicating that no valid values can be obtained.public String getUserName()
public void setUserName(String UserName)
UserName
- UsernameRequired when the Protocol is sasl_plaintext or sasl_ssl.Note: This field may return null, indicating that no valid values can be obtained.public String getPassword()
public void setPassword(String Password)
Password
- User PasswordRequired when the Protocol is sasl_plaintext or sasl_ssl.Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2024. All rights reserved.