Class AccountSettings
- java.lang.Object
-
- com.amazonaws.services.devicefarm.model.AccountSettings
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class AccountSettings extends Object implements Serializable, Cloneable
A container for account-level settings within AWS Device Farm.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AccountSettings()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AccountSettings
addUnmeteredDevicesEntry(String key, Integer value)
AccountSettings
addUnmeteredRemoteAccessDevicesEntry(String key, Integer value)
AccountSettings
clearUnmeteredDevicesEntries()
Removes all the entries added into UnmeteredDevices.AccountSettings
clearUnmeteredRemoteAccessDevicesEntries()
Removes all the entries added into UnmeteredRemoteAccessDevices.AccountSettings
clone()
boolean
equals(Object obj)
String
getAwsAccountNumber()
The AWS account number specified in theAccountSettings
container.Map<String,Integer>
getUnmeteredDevices()
Returns the unmetered devices you have purchased or want to purchase.Map<String,Integer>
getUnmeteredRemoteAccessDevices()
Returns the unmetered remote access devices you have purchased or want to purchase.int
hashCode()
void
setAwsAccountNumber(String awsAccountNumber)
The AWS account number specified in theAccountSettings
container.void
setUnmeteredDevices(Map<String,Integer> unmeteredDevices)
Returns the unmetered devices you have purchased or want to purchase.void
setUnmeteredRemoteAccessDevices(Map<String,Integer> unmeteredRemoteAccessDevices)
Returns the unmetered remote access devices you have purchased or want to purchase.String
toString()
Returns a string representation of this object; useful for testing and debugging.AccountSettings
withAwsAccountNumber(String awsAccountNumber)
The AWS account number specified in theAccountSettings
container.AccountSettings
withUnmeteredDevices(Map<String,Integer> unmeteredDevices)
Returns the unmetered devices you have purchased or want to purchase.AccountSettings
withUnmeteredRemoteAccessDevices(Map<String,Integer> unmeteredRemoteAccessDevices)
Returns the unmetered remote access devices you have purchased or want to purchase.
-
-
-
Method Detail
-
setAwsAccountNumber
public void setAwsAccountNumber(String awsAccountNumber)
The AWS account number specified in the
AccountSettings
container.- Parameters:
awsAccountNumber
- The AWS account number specified in theAccountSettings
container.
-
getAwsAccountNumber
public String getAwsAccountNumber()
The AWS account number specified in the
AccountSettings
container.- Returns:
- The AWS account number specified in the
AccountSettings
container.
-
withAwsAccountNumber
public AccountSettings withAwsAccountNumber(String awsAccountNumber)
The AWS account number specified in the
AccountSettings
container.- Parameters:
awsAccountNumber
- The AWS account number specified in theAccountSettings
container.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getUnmeteredDevices
public Map<String,Integer> getUnmeteredDevices()
Returns the unmetered devices you have purchased or want to purchase.
- Returns:
- Returns the unmetered devices you have purchased or want to purchase.
-
setUnmeteredDevices
public void setUnmeteredDevices(Map<String,Integer> unmeteredDevices)
Returns the unmetered devices you have purchased or want to purchase.
- Parameters:
unmeteredDevices
- Returns the unmetered devices you have purchased or want to purchase.
-
withUnmeteredDevices
public AccountSettings withUnmeteredDevices(Map<String,Integer> unmeteredDevices)
Returns the unmetered devices you have purchased or want to purchase.
- Parameters:
unmeteredDevices
- Returns the unmetered devices you have purchased or want to purchase.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addUnmeteredDevicesEntry
public AccountSettings addUnmeteredDevicesEntry(String key, Integer value)
-
clearUnmeteredDevicesEntries
public AccountSettings clearUnmeteredDevicesEntries()
Removes all the entries added into UnmeteredDevices. <p> Returns a reference to this object so that method calls can be chained together.
-
getUnmeteredRemoteAccessDevices
public Map<String,Integer> getUnmeteredRemoteAccessDevices()
Returns the unmetered remote access devices you have purchased or want to purchase.
- Returns:
- Returns the unmetered remote access devices you have purchased or want to purchase.
-
setUnmeteredRemoteAccessDevices
public void setUnmeteredRemoteAccessDevices(Map<String,Integer> unmeteredRemoteAccessDevices)
Returns the unmetered remote access devices you have purchased or want to purchase.
- Parameters:
unmeteredRemoteAccessDevices
- Returns the unmetered remote access devices you have purchased or want to purchase.
-
withUnmeteredRemoteAccessDevices
public AccountSettings withUnmeteredRemoteAccessDevices(Map<String,Integer> unmeteredRemoteAccessDevices)
Returns the unmetered remote access devices you have purchased or want to purchase.
- Parameters:
unmeteredRemoteAccessDevices
- Returns the unmetered remote access devices you have purchased or want to purchase.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addUnmeteredRemoteAccessDevicesEntry
public AccountSettings addUnmeteredRemoteAccessDevicesEntry(String key, Integer value)
-
clearUnmeteredRemoteAccessDevicesEntries
public AccountSettings clearUnmeteredRemoteAccessDevicesEntries()
Removes all the entries added into UnmeteredRemoteAccessDevices. <p> Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public AccountSettings clone()
-
-