@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeviceConfig extends Object implements Serializable, Cloneable, StructuredPojo
Configures the quantum processing units (QPUs) or simulator used to create and run an Amazon Braket job.
Constructor and Description |
---|
DeviceConfig() |
Modifier and Type | Method and Description |
---|---|
DeviceConfig |
clone() |
boolean |
equals(Object obj) |
String |
getDevice()
The primary quantum processing unit (QPU) or simulator used to create and run an Amazon Braket job.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDevice(String device)
The primary quantum processing unit (QPU) or simulator used to create and run an Amazon Braket job.
|
String |
toString()
Returns a string representation of this object.
|
DeviceConfig |
withDevice(String device)
The primary quantum processing unit (QPU) or simulator used to create and run an Amazon Braket job.
|
public void setDevice(String device)
The primary quantum processing unit (QPU) or simulator used to create and run an Amazon Braket job.
device
- The primary quantum processing unit (QPU) or simulator used to create and run an Amazon Braket job.public String getDevice()
The primary quantum processing unit (QPU) or simulator used to create and run an Amazon Braket job.
public DeviceConfig withDevice(String device)
The primary quantum processing unit (QPU) or simulator used to create and run an Amazon Braket job.
device
- The primary quantum processing unit (QPU) or simulator used to create and run an Amazon Braket job.public String toString()
toString
in class Object
Object.toString()
public DeviceConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.