@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AccountSettings extends Object implements Serializable, Cloneable, StructuredPojo
A container for account-level settings within AWS Device Farm.
Constructor and Description |
---|
AccountSettings() |
Modifier and Type | Method and Description |
---|---|
AccountSettings |
addMaxSlotsEntry(String key,
Integer value) |
AccountSettings |
addUnmeteredDevicesEntry(String key,
Integer value) |
AccountSettings |
addUnmeteredRemoteAccessDevicesEntry(String key,
Integer value) |
AccountSettings |
clearMaxSlotsEntries()
Removes all the entries added into MaxSlots.
|
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 the
AccountSettings container. |
Integer |
getDefaultJobTimeoutMinutes()
The default number of minutes (at the account level) a test run will execute before it times out.
|
Integer |
getMaxJobTimeoutMinutes()
The maximum number of minutes a test run will execute before it times out.
|
Map<String,Integer> |
getMaxSlots()
The maximum number of device slots that the AWS account can purchase.
|
TrialMinutes |
getTrialMinutes()
Information about an AWS account's usage of free trial device minutes.
|
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 |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAwsAccountNumber(String awsAccountNumber)
The AWS account number specified in the
AccountSettings container. |
void |
setDefaultJobTimeoutMinutes(Integer defaultJobTimeoutMinutes)
The default number of minutes (at the account level) a test run will execute before it times out.
|
void |
setMaxJobTimeoutMinutes(Integer maxJobTimeoutMinutes)
The maximum number of minutes a test run will execute before it times out.
|
void |
setMaxSlots(Map<String,Integer> maxSlots)
The maximum number of device slots that the AWS account can purchase.
|
void |
setTrialMinutes(TrialMinutes trialMinutes)
Information about an AWS account's usage of free trial device minutes.
|
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 the
AccountSettings container. |
AccountSettings |
withDefaultJobTimeoutMinutes(Integer defaultJobTimeoutMinutes)
The default number of minutes (at the account level) a test run will execute before it times out.
|
AccountSettings |
withMaxJobTimeoutMinutes(Integer maxJobTimeoutMinutes)
The maximum number of minutes a test run will execute before it times out.
|
AccountSettings |
withMaxSlots(Map<String,Integer> maxSlots)
The maximum number of device slots that the AWS account can purchase.
|
AccountSettings |
withTrialMinutes(TrialMinutes trialMinutes)
Information about an AWS account's usage of free trial device minutes.
|
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.
|
public void setAwsAccountNumber(String awsAccountNumber)
The AWS account number specified in the AccountSettings
container.
awsAccountNumber
- The AWS account number specified in the AccountSettings
container.public String getAwsAccountNumber()
The AWS account number specified in the AccountSettings
container.
AccountSettings
container.public AccountSettings withAwsAccountNumber(String awsAccountNumber)
The AWS account number specified in the AccountSettings
container.
awsAccountNumber
- The AWS account number specified in the AccountSettings
container.public Map<String,Integer> getUnmeteredDevices()
Returns the unmetered devices you have purchased or want to purchase.
public void setUnmeteredDevices(Map<String,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(Map<String,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(String key, Integer value)
public AccountSettings clearUnmeteredDevicesEntries()
public Map<String,Integer> getUnmeteredRemoteAccessDevices()
Returns the unmetered remote access devices you have purchased or want to purchase.
public void setUnmeteredRemoteAccessDevices(Map<String,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(Map<String,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(String key, Integer value)
public AccountSettings clearUnmeteredRemoteAccessDevicesEntries()
public void setMaxJobTimeoutMinutes(Integer maxJobTimeoutMinutes)
The maximum number of minutes a test run will execute before it times out.
maxJobTimeoutMinutes
- The maximum number of minutes a test run will execute before it times out.public Integer getMaxJobTimeoutMinutes()
The maximum number of minutes a test run will execute before it times out.
public AccountSettings withMaxJobTimeoutMinutes(Integer maxJobTimeoutMinutes)
The maximum number of minutes a test run will execute before it times out.
maxJobTimeoutMinutes
- The maximum number of minutes a test run will execute before it times out.public void setTrialMinutes(TrialMinutes trialMinutes)
Information about an AWS account's usage of free trial device minutes.
trialMinutes
- Information about an AWS account's usage of free trial device minutes.public TrialMinutes getTrialMinutes()
Information about an AWS account's usage of free trial device minutes.
public AccountSettings withTrialMinutes(TrialMinutes trialMinutes)
Information about an AWS account's usage of free trial device minutes.
trialMinutes
- Information about an AWS account's usage of free trial device minutes.public Map<String,Integer> getMaxSlots()
The maximum number of device slots that the AWS account can purchase. Each maximum is expressed as an
offering-id:number
pair, where the offering-id
represents one of the IDs returned by
the ListOfferings
command.
offering-id:number
pair, where the offering-id
represents one of the IDs
returned by the ListOfferings
command.public void setMaxSlots(Map<String,Integer> maxSlots)
The maximum number of device slots that the AWS account can purchase. Each maximum is expressed as an
offering-id:number
pair, where the offering-id
represents one of the IDs returned by
the ListOfferings
command.
maxSlots
- The maximum number of device slots that the AWS account can purchase. Each maximum is expressed as an
offering-id:number
pair, where the offering-id
represents one of the IDs
returned by the ListOfferings
command.public AccountSettings withMaxSlots(Map<String,Integer> maxSlots)
The maximum number of device slots that the AWS account can purchase. Each maximum is expressed as an
offering-id:number
pair, where the offering-id
represents one of the IDs returned by
the ListOfferings
command.
maxSlots
- The maximum number of device slots that the AWS account can purchase. Each maximum is expressed as an
offering-id:number
pair, where the offering-id
represents one of the IDs
returned by the ListOfferings
command.public AccountSettings addMaxSlotsEntry(String key, Integer value)
public AccountSettings clearMaxSlotsEntries()
public void setDefaultJobTimeoutMinutes(Integer defaultJobTimeoutMinutes)
The default number of minutes (at the account level) a test run will execute before it times out. Default value is 60 minutes.
defaultJobTimeoutMinutes
- The default number of minutes (at the account level) a test run will execute before it times out. Default
value is 60 minutes.public Integer getDefaultJobTimeoutMinutes()
The default number of minutes (at the account level) a test run will execute before it times out. Default value is 60 minutes.
public AccountSettings withDefaultJobTimeoutMinutes(Integer defaultJobTimeoutMinutes)
The default number of minutes (at the account level) a test run will execute before it times out. Default value is 60 minutes.
defaultJobTimeoutMinutes
- The default number of minutes (at the account level) a test run will execute before it times out. Default
value is 60 minutes.public String toString()
toString
in class Object
Object.toString()
public AccountSettings 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.