@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MasterUserOptions extends Object implements Serializable, Cloneable, StructuredPojo
Credentials for the master user: username and password, ARN, or both.
Constructor and Description |
---|
MasterUserOptions() |
Modifier and Type | Method and Description |
---|---|
MasterUserOptions |
clone() |
boolean |
equals(Object obj) |
String |
getMasterUserARN()
ARN for the master user (if IAM is enabled).
|
String |
getMasterUserName()
The master user's username, which is stored in the Amazon Elasticsearch Service domain's internal database.
|
String |
getMasterUserPassword()
The master user's password, which is stored in the Amazon Elasticsearch Service domain's internal database.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setMasterUserARN(String masterUserARN)
ARN for the master user (if IAM is enabled).
|
void |
setMasterUserName(String masterUserName)
The master user's username, which is stored in the Amazon Elasticsearch Service domain's internal database.
|
void |
setMasterUserPassword(String masterUserPassword)
The master user's password, which is stored in the Amazon Elasticsearch Service domain's internal database.
|
String |
toString()
Returns a string representation of this object.
|
MasterUserOptions |
withMasterUserARN(String masterUserARN)
ARN for the master user (if IAM is enabled).
|
MasterUserOptions |
withMasterUserName(String masterUserName)
The master user's username, which is stored in the Amazon Elasticsearch Service domain's internal database.
|
MasterUserOptions |
withMasterUserPassword(String masterUserPassword)
The master user's password, which is stored in the Amazon Elasticsearch Service domain's internal database.
|
public void setMasterUserARN(String masterUserARN)
ARN for the master user (if IAM is enabled).
masterUserARN
- ARN for the master user (if IAM is enabled).public String getMasterUserARN()
ARN for the master user (if IAM is enabled).
public MasterUserOptions withMasterUserARN(String masterUserARN)
ARN for the master user (if IAM is enabled).
masterUserARN
- ARN for the master user (if IAM is enabled).public void setMasterUserName(String masterUserName)
The master user's username, which is stored in the Amazon Elasticsearch Service domain's internal database.
masterUserName
- The master user's username, which is stored in the Amazon Elasticsearch Service domain's internal
database.public String getMasterUserName()
The master user's username, which is stored in the Amazon Elasticsearch Service domain's internal database.
public MasterUserOptions withMasterUserName(String masterUserName)
The master user's username, which is stored in the Amazon Elasticsearch Service domain's internal database.
masterUserName
- The master user's username, which is stored in the Amazon Elasticsearch Service domain's internal
database.public void setMasterUserPassword(String masterUserPassword)
The master user's password, which is stored in the Amazon Elasticsearch Service domain's internal database.
masterUserPassword
- The master user's password, which is stored in the Amazon Elasticsearch Service domain's internal
database.public String getMasterUserPassword()
The master user's password, which is stored in the Amazon Elasticsearch Service domain's internal database.
public MasterUserOptions withMasterUserPassword(String masterUserPassword)
The master user's password, which is stored in the Amazon Elasticsearch Service domain's internal database.
masterUserPassword
- The master user's password, which is stored in the Amazon Elasticsearch Service domain's internal
database.public String toString()
toString
in class Object
Object.toString()
public MasterUserOptions clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.