Class InstanceConfig
- java.lang.Object
-
- software.amazon.awssdk.services.braket.model.InstanceConfig
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<InstanceConfig.Builder,InstanceConfig>
@Generated("software.amazon.awssdk:codegen") public final class InstanceConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<InstanceConfig.Builder,InstanceConfig>
Configures the resource instances to use while running the Amazon Braket hybrid job on Amazon Braket.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceInstanceConfig.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InstanceConfig.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegerinstanceCount()Configures the number of resource instances to use while running an Amazon Braket job on Amazon Braket.InstanceTypeinstanceType()Configures the type resource instances to use while running an Amazon Braket hybrid job.StringinstanceTypeAsString()Configures the type resource instances to use while running an Amazon Braket hybrid job.List<SdkField<?>>sdkFields()static Class<? extends InstanceConfig.Builder>serializableBuilderClass()InstanceConfig.BuildertoBuilder()StringtoString()Returns a string representation of this object.IntegervolumeSizeInGb()The size of the storage volume, in GB, that user wants to provision.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
instanceCount
public final Integer instanceCount()
Configures the number of resource instances to use while running an Amazon Braket job on Amazon Braket. The default value is 1.
- Returns:
- Configures the number of resource instances to use while running an Amazon Braket job on Amazon Braket. The default value is 1.
-
instanceType
public final InstanceType instanceType()
Configures the type resource instances to use while running an Amazon Braket hybrid job.
If the service returns an enum value that is not available in the current SDK version,
instanceTypewill returnInstanceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frominstanceTypeAsString().- Returns:
- Configures the type resource instances to use while running an Amazon Braket hybrid job.
- See Also:
InstanceType
-
instanceTypeAsString
public final String instanceTypeAsString()
Configures the type resource instances to use while running an Amazon Braket hybrid job.
If the service returns an enum value that is not available in the current SDK version,
instanceTypewill returnInstanceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frominstanceTypeAsString().- Returns:
- Configures the type resource instances to use while running an Amazon Braket hybrid job.
- See Also:
InstanceType
-
volumeSizeInGb
public final Integer volumeSizeInGb()
The size of the storage volume, in GB, that user wants to provision.
- Returns:
- The size of the storage volume, in GB, that user wants to provision.
-
toBuilder
public InstanceConfig.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<InstanceConfig.Builder,InstanceConfig>
-
builder
public static InstanceConfig.Builder builder()
-
serializableBuilderClass
public static Class<? extends InstanceConfig.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-