@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ServiceAccountCredentials extends Object implements Serializable, Cloneable, StructuredPojo
Describes the credentials for the service account used by the fleet or image builder to connect to the directory.
Constructor and Description |
---|
ServiceAccountCredentials() |
Modifier and Type | Method and Description |
---|---|
ServiceAccountCredentials |
clone() |
boolean |
equals(Object obj) |
String |
getAccountName()
The user name of the account.
|
String |
getAccountPassword()
The password for the account.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAccountName(String accountName)
The user name of the account.
|
void |
setAccountPassword(String accountPassword)
The password for the account.
|
String |
toString()
Returns a string representation of this object.
|
ServiceAccountCredentials |
withAccountName(String accountName)
The user name of the account.
|
ServiceAccountCredentials |
withAccountPassword(String accountPassword)
The password for the account.
|
public void setAccountName(String accountName)
The user name of the account. This account must have the following privileges: create computer objects, join computers to the domain, and change/reset the password on descendant computer objects for the organizational units specified.
accountName
- The user name of the account. This account must have the following privileges: create computer objects,
join computers to the domain, and change/reset the password on descendant computer objects for the
organizational units specified.public String getAccountName()
The user name of the account. This account must have the following privileges: create computer objects, join computers to the domain, and change/reset the password on descendant computer objects for the organizational units specified.
public ServiceAccountCredentials withAccountName(String accountName)
The user name of the account. This account must have the following privileges: create computer objects, join computers to the domain, and change/reset the password on descendant computer objects for the organizational units specified.
accountName
- The user name of the account. This account must have the following privileges: create computer objects,
join computers to the domain, and change/reset the password on descendant computer objects for the
organizational units specified.public void setAccountPassword(String accountPassword)
The password for the account.
accountPassword
- The password for the account.public String getAccountPassword()
The password for the account.
public ServiceAccountCredentials withAccountPassword(String accountPassword)
The password for the account.
accountPassword
- The password for the account.public String toString()
toString
in class Object
Object.toString()
public ServiceAccountCredentials clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.