@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InstanceConfig extends Object implements Serializable, Cloneable, StructuredPojo
Configures the resource instances to use while running the Amazon Braket hybrid job on Amazon Braket.
| Constructor and Description |
|---|
InstanceConfig() |
| Modifier and Type | Method and Description |
|---|---|
InstanceConfig |
clone() |
boolean |
equals(Object obj) |
Integer |
getInstanceCount()
Configures the number of resource instances to use while running an Amazon Braket job on Amazon Braket.
|
String |
getInstanceType()
Configures the type resource instances to use while running an Amazon Braket hybrid job.
|
Integer |
getVolumeSizeInGb()
The size of the storage volume, in GB, that user wants to provision.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setInstanceCount(Integer instanceCount)
Configures the number of resource instances to use while running an Amazon Braket job on Amazon Braket.
|
void |
setInstanceType(String instanceType)
Configures the type resource instances to use while running an Amazon Braket hybrid job.
|
void |
setVolumeSizeInGb(Integer volumeSizeInGb)
The size of the storage volume, in GB, that user wants to provision.
|
String |
toString()
Returns a string representation of this object.
|
InstanceConfig |
withInstanceCount(Integer instanceCount)
Configures the number of resource instances to use while running an Amazon Braket job on Amazon Braket.
|
InstanceConfig |
withInstanceType(InstanceType instanceType)
Configures the type resource instances to use while running an Amazon Braket hybrid job.
|
InstanceConfig |
withInstanceType(String instanceType)
Configures the type resource instances to use while running an Amazon Braket hybrid job.
|
InstanceConfig |
withVolumeSizeInGb(Integer volumeSizeInGb)
The size of the storage volume, in GB, that user wants to provision.
|
public void setInstanceCount(Integer instanceCount)
Configures the number of resource instances to use while running an Amazon Braket job on Amazon Braket. The default value is 1.
instanceCount - Configures the number of resource instances to use while running an Amazon Braket job on Amazon Braket.
The default value is 1.public Integer getInstanceCount()
Configures the number of resource instances to use while running an Amazon Braket job on Amazon Braket. The default value is 1.
public InstanceConfig withInstanceCount(Integer instanceCount)
Configures the number of resource instances to use while running an Amazon Braket job on Amazon Braket. The default value is 1.
instanceCount - Configures the number of resource instances to use while running an Amazon Braket job on Amazon Braket.
The default value is 1.public void setInstanceType(String instanceType)
Configures the type resource instances to use while running an Amazon Braket hybrid job.
instanceType - Configures the type resource instances to use while running an Amazon Braket hybrid job.InstanceTypepublic String getInstanceType()
Configures the type resource instances to use while running an Amazon Braket hybrid job.
InstanceTypepublic InstanceConfig withInstanceType(String instanceType)
Configures the type resource instances to use while running an Amazon Braket hybrid job.
instanceType - Configures the type resource instances to use while running an Amazon Braket hybrid job.InstanceTypepublic InstanceConfig withInstanceType(InstanceType instanceType)
Configures the type resource instances to use while running an Amazon Braket hybrid job.
instanceType - Configures the type resource instances to use while running an Amazon Braket hybrid job.InstanceTypepublic void setVolumeSizeInGb(Integer volumeSizeInGb)
The size of the storage volume, in GB, that user wants to provision.
volumeSizeInGb - The size of the storage volume, in GB, that user wants to provision.public Integer getVolumeSizeInGb()
The size of the storage volume, in GB, that user wants to provision.
public InstanceConfig withVolumeSizeInGb(Integer volumeSizeInGb)
The size of the storage volume, in GB, that user wants to provision.
volumeSizeInGb - The size of the storage volume, in GB, that user wants to provision.public String toString()
toString in class ObjectObject.toString()public InstanceConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.