public class KafkaProtocolInfo extends AbstractModel
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.
|
String |
getPassword()
Get User password
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getProtocol()
Get Protocol type.
|
String |
getUserName()
Get Username
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setMechanism(String Mechanism)
Set Encryption type.
|
void |
setPassword(String Password)
Set User password
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setProtocol(String Protocol)
Set Protocol type.
|
void |
setUserName(String UserName)
Set Username
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, getMultipartRequestParams, getSkipSign, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public KafkaProtocolInfo()
public KafkaProtocolInfo(KafkaProtocolInfo source)
public String getProtocol()
public void setProtocol(String Protocol)
Protocol
- Protocol type. Valid values: `plaintext`, `sasl_plaintext`, and `sasl_ssl`. `sasl_ssl` is recommended. Using this protocol will encrypt the connection and implement user authentication.
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. Valid values: `PLAIN`, `SCRAM-SHA-256`, and SCRAM-SHA-512`.
Note: This field may return null, indicating that no valid values can be obtained.public String getUserName()
public void setUserName(String UserName)
UserName
- Username
Note: This field may return null, indicating that no valid values can be obtained.public String getPassword()
public void setPassword(String Password)
Password
- User password
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2023. All rights reserved.