@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeviceSelectionResult extends Object implements Serializable, Cloneable, StructuredPojo
Contains the run results requested by the device selection configuration and how many devices were returned. For an example of the JSON response syntax, see ScheduleRun.
Constructor and Description |
---|
DeviceSelectionResult() |
Modifier and Type | Method and Description |
---|---|
DeviceSelectionResult |
clone() |
boolean |
equals(Object obj) |
List<DeviceFilter> |
getFilters()
The filters in a device selection result.
|
Integer |
getMatchedDevicesCount()
The number of devices that matched the device filter selection criteria.
|
Integer |
getMaxDevices()
The maximum number of devices to be selected by a device filter and included in a test run.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setFilters(Collection<DeviceFilter> filters)
The filters in a device selection result.
|
void |
setMatchedDevicesCount(Integer matchedDevicesCount)
The number of devices that matched the device filter selection criteria.
|
void |
setMaxDevices(Integer maxDevices)
The maximum number of devices to be selected by a device filter and included in a test run.
|
String |
toString()
Returns a string representation of this object.
|
DeviceSelectionResult |
withFilters(Collection<DeviceFilter> filters)
The filters in a device selection result.
|
DeviceSelectionResult |
withFilters(DeviceFilter... filters)
The filters in a device selection result.
|
DeviceSelectionResult |
withMatchedDevicesCount(Integer matchedDevicesCount)
The number of devices that matched the device filter selection criteria.
|
DeviceSelectionResult |
withMaxDevices(Integer maxDevices)
The maximum number of devices to be selected by a device filter and included in a test run.
|
public List<DeviceFilter> getFilters()
The filters in a device selection result.
public void setFilters(Collection<DeviceFilter> filters)
The filters in a device selection result.
filters
- The filters in a device selection result.public DeviceSelectionResult withFilters(DeviceFilter... filters)
The filters in a device selection result.
NOTE: This method appends the values to the existing list (if any). Use
setFilters(java.util.Collection)
or withFilters(java.util.Collection)
if you want to override
the existing values.
filters
- The filters in a device selection result.public DeviceSelectionResult withFilters(Collection<DeviceFilter> filters)
The filters in a device selection result.
filters
- The filters in a device selection result.public void setMatchedDevicesCount(Integer matchedDevicesCount)
The number of devices that matched the device filter selection criteria.
matchedDevicesCount
- The number of devices that matched the device filter selection criteria.public Integer getMatchedDevicesCount()
The number of devices that matched the device filter selection criteria.
public DeviceSelectionResult withMatchedDevicesCount(Integer matchedDevicesCount)
The number of devices that matched the device filter selection criteria.
matchedDevicesCount
- The number of devices that matched the device filter selection criteria.public void setMaxDevices(Integer maxDevices)
The maximum number of devices to be selected by a device filter and included in a test run.
maxDevices
- The maximum number of devices to be selected by a device filter and included in a test run.public Integer getMaxDevices()
The maximum number of devices to be selected by a device filter and included in a test run.
public DeviceSelectionResult withMaxDevices(Integer maxDevices)
The maximum number of devices to be selected by a device filter and included in a test run.
maxDevices
- The maximum number of devices to be selected by a device filter and included in a test run.public String toString()
toString
in class Object
Object.toString()
public DeviceSelectionResult clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.