@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) |
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) |
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 |
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 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)
marshall in interface StructuredPojoCopyright © 2022. All rights reserved.