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 AccountSettingsaddUnmeteredDevicesEntry(String key, Integer value)AccountSettingsaddUnmeteredRemoteAccessDevicesEntry(String key, Integer value)AccountSettingsclearUnmeteredDevicesEntries()Removes all the entries added into UnmeteredDevices.AccountSettingsclearUnmeteredRemoteAccessDevicesEntries()Removes all the entries added into UnmeteredRemoteAccessDevices.AccountSettingsclone()booleanequals(Object obj)StringgetAwsAccountNumber()The AWS account number specified in theAccountSettingscontainer.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.inthashCode()voidsetAwsAccountNumber(String awsAccountNumber)The AWS account number specified in theAccountSettingscontainer.voidsetUnmeteredDevices(Map<String,Integer> unmeteredDevices)Returns the unmetered devices you have purchased or want to purchase.voidsetUnmeteredRemoteAccessDevices(Map<String,Integer> unmeteredRemoteAccessDevices)Returns the unmetered remote access devices you have purchased or want to purchase.StringtoString()Returns a string representation of this object; useful for testing and debugging.AccountSettingswithAwsAccountNumber(String awsAccountNumber)The AWS account number specified in theAccountSettingscontainer.AccountSettingswithUnmeteredDevices(Map<String,Integer> unmeteredDevices)Returns the unmetered devices you have purchased or want to purchase.AccountSettingswithUnmeteredRemoteAccessDevices(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
AccountSettingscontainer.- Parameters:
awsAccountNumber- The AWS account number specified in theAccountSettingscontainer.
-
getAwsAccountNumber
public String getAwsAccountNumber()
The AWS account number specified in the
AccountSettingscontainer.- Returns:
- The AWS account number specified in the
AccountSettingscontainer.
-
withAwsAccountNumber
public AccountSettings withAwsAccountNumber(String awsAccountNumber)
The AWS account number specified in the
AccountSettingscontainer.- Parameters:
awsAccountNumber- The AWS account number specified in theAccountSettingscontainer.- 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public AccountSettings clone()
-
-