@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DevicePoolCompatibilityResult extends Object implements Serializable, Cloneable, StructuredPojo
Represents a device pool compatibility result.
Constructor and Description |
---|
DevicePoolCompatibilityResult() |
Modifier and Type | Method and Description |
---|---|
DevicePoolCompatibilityResult |
clone() |
boolean |
equals(Object obj) |
Boolean |
getCompatible()
Whether the result was compatible with the device pool.
|
Device |
getDevice()
The device (phone or tablet) that you wish to return information about.
|
List<IncompatibilityMessage> |
getIncompatibilityMessages()
Information about the compatibility.
|
int |
hashCode() |
Boolean |
isCompatible()
Whether the result was compatible with the device pool.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCompatible(Boolean compatible)
Whether the result was compatible with the device pool.
|
void |
setDevice(Device device)
The device (phone or tablet) that you wish to return information about.
|
void |
setIncompatibilityMessages(Collection<IncompatibilityMessage> incompatibilityMessages)
Information about the compatibility.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DevicePoolCompatibilityResult |
withCompatible(Boolean compatible)
Whether the result was compatible with the device pool.
|
DevicePoolCompatibilityResult |
withDevice(Device device)
The device (phone or tablet) that you wish to return information about.
|
DevicePoolCompatibilityResult |
withIncompatibilityMessages(Collection<IncompatibilityMessage> incompatibilityMessages)
Information about the compatibility.
|
DevicePoolCompatibilityResult |
withIncompatibilityMessages(IncompatibilityMessage... incompatibilityMessages)
Information about the compatibility.
|
public void setDevice(Device device)
The device (phone or tablet) that you wish to return information about.
device
- The device (phone or tablet) that you wish to return information about.public Device getDevice()
The device (phone or tablet) that you wish to return information about.
public DevicePoolCompatibilityResult withDevice(Device device)
The device (phone or tablet) that you wish to return information about.
device
- The device (phone or tablet) that you wish to return information about.public void setCompatible(Boolean compatible)
Whether the result was compatible with the device pool.
compatible
- Whether the result was compatible with the device pool.public Boolean getCompatible()
Whether the result was compatible with the device pool.
public DevicePoolCompatibilityResult withCompatible(Boolean compatible)
Whether the result was compatible with the device pool.
compatible
- Whether the result was compatible with the device pool.public Boolean isCompatible()
Whether the result was compatible with the device pool.
public List<IncompatibilityMessage> getIncompatibilityMessages()
Information about the compatibility.
public void setIncompatibilityMessages(Collection<IncompatibilityMessage> incompatibilityMessages)
Information about the compatibility.
incompatibilityMessages
- Information about the compatibility.public DevicePoolCompatibilityResult withIncompatibilityMessages(IncompatibilityMessage... incompatibilityMessages)
Information about the compatibility.
NOTE: This method appends the values to the existing list (if any). Use
setIncompatibilityMessages(java.util.Collection)
or
withIncompatibilityMessages(java.util.Collection)
if you want to override the existing values.
incompatibilityMessages
- Information about the compatibility.public DevicePoolCompatibilityResult withIncompatibilityMessages(Collection<IncompatibilityMessage> incompatibilityMessages)
Information about the compatibility.
incompatibilityMessages
- Information about the compatibility.public String toString()
toString
in class Object
Object.toString()
public DevicePoolCompatibilityResult 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.