public class AccountSettings
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
A container for account-level settings within AWS Device Farm.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
awsAccountNumber
The AWS account number specified in the
AccountSettings
container. |
private java.util.Map<java.lang.String,java.lang.Integer> |
unmeteredDevices
Returns the unmetered devices you have purchased or want to purchase.
|
private java.util.Map<java.lang.String,java.lang.Integer> |
unmeteredRemoteAccessDevices
Returns the unmetered remote access devices you have purchased or want to
purchase.
|
Constructor and Description |
---|
AccountSettings() |
Modifier and Type | Method and Description |
---|---|
AccountSettings |
addUnmeteredDevicesEntry(java.lang.String key,
java.lang.Integer value) |
AccountSettings |
addUnmeteredRemoteAccessDevicesEntry(java.lang.String key,
java.lang.Integer value) |
AccountSettings |
clearUnmeteredDevicesEntries()
Removes all the entries added into UnmeteredDevices.
|
AccountSettings |
clearUnmeteredRemoteAccessDevicesEntries()
Removes all the entries added into UnmeteredRemoteAccessDevices.
|
AccountSettings |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAwsAccountNumber()
The AWS account number specified in the
AccountSettings
container. |
java.util.Map<java.lang.String,java.lang.Integer> |
getUnmeteredDevices()
Returns the unmetered devices you have purchased or want to purchase.
|
java.util.Map<java.lang.String,java.lang.Integer> |
getUnmeteredRemoteAccessDevices()
Returns the unmetered remote access devices you have purchased or want to
purchase.
|
int |
hashCode() |
void |
setAwsAccountNumber(java.lang.String awsAccountNumber)
The AWS account number specified in the
AccountSettings
container. |
void |
setUnmeteredDevices(java.util.Map<java.lang.String,java.lang.Integer> unmeteredDevices)
Returns the unmetered devices you have purchased or want to purchase.
|
void |
setUnmeteredRemoteAccessDevices(java.util.Map<java.lang.String,java.lang.Integer> unmeteredRemoteAccessDevices)
Returns the unmetered remote access devices you have purchased or want to
purchase.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AccountSettings |
withAwsAccountNumber(java.lang.String awsAccountNumber)
The AWS account number specified in the
AccountSettings
container. |
AccountSettings |
withUnmeteredDevices(java.util.Map<java.lang.String,java.lang.Integer> unmeteredDevices)
Returns the unmetered devices you have purchased or want to purchase.
|
AccountSettings |
withUnmeteredRemoteAccessDevices(java.util.Map<java.lang.String,java.lang.Integer> unmeteredRemoteAccessDevices)
Returns the unmetered remote access devices you have purchased or want to
purchase.
|
private java.lang.String awsAccountNumber
The AWS account number specified in the AccountSettings
container.
private java.util.Map<java.lang.String,java.lang.Integer> unmeteredDevices
Returns the unmetered devices you have purchased or want to purchase.
private java.util.Map<java.lang.String,java.lang.Integer> unmeteredRemoteAccessDevices
Returns the unmetered remote access devices you have purchased or want to purchase.
public void setAwsAccountNumber(java.lang.String awsAccountNumber)
The AWS account number specified in the AccountSettings
container.
awsAccountNumber
- The AWS account number specified in the
AccountSettings
container.public java.lang.String getAwsAccountNumber()
The AWS account number specified in the AccountSettings
container.
AccountSettings
container.public AccountSettings withAwsAccountNumber(java.lang.String awsAccountNumber)
The AWS account number specified in the AccountSettings
container.
awsAccountNumber
- The AWS account number specified in the
AccountSettings
container.public java.util.Map<java.lang.String,java.lang.Integer> getUnmeteredDevices()
Returns the unmetered devices you have purchased or want to purchase.
public void setUnmeteredDevices(java.util.Map<java.lang.String,java.lang.Integer> unmeteredDevices)
Returns the unmetered devices you have purchased or want to purchase.
unmeteredDevices
- Returns the unmetered devices you have purchased or want to
purchase.public AccountSettings withUnmeteredDevices(java.util.Map<java.lang.String,java.lang.Integer> unmeteredDevices)
Returns the unmetered devices you have purchased or want to purchase.
unmeteredDevices
- Returns the unmetered devices you have purchased or want to
purchase.public AccountSettings addUnmeteredDevicesEntry(java.lang.String key, java.lang.Integer value)
public AccountSettings clearUnmeteredDevicesEntries()
public java.util.Map<java.lang.String,java.lang.Integer> getUnmeteredRemoteAccessDevices()
Returns the unmetered remote access devices you have purchased or want to purchase.
public void setUnmeteredRemoteAccessDevices(java.util.Map<java.lang.String,java.lang.Integer> unmeteredRemoteAccessDevices)
Returns the unmetered remote access devices you have purchased or want to purchase.
unmeteredRemoteAccessDevices
- Returns the unmetered remote access devices you have purchased or
want to purchase.public AccountSettings withUnmeteredRemoteAccessDevices(java.util.Map<java.lang.String,java.lang.Integer> unmeteredRemoteAccessDevices)
Returns the unmetered remote access devices you have purchased or want to purchase.
unmeteredRemoteAccessDevices
- Returns the unmetered remote access devices you have purchased or
want to purchase.public AccountSettings addUnmeteredRemoteAccessDevicesEntry(java.lang.String key, java.lang.Integer value)
public AccountSettings clearUnmeteredRemoteAccessDevicesEntries()
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public AccountSettings clone()
clone
in class java.lang.Object