Class ResourceConfig
- java.lang.Object
-
- software.amazon.awssdk.services.cleanroomsml.model.ResourceConfig
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ResourceConfig.Builder,ResourceConfig>
@Generated("software.amazon.awssdk:codegen") public final class ResourceConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ResourceConfig.Builder,ResourceConfig>
Information about the EC2 resources that are used to train the model.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceResourceConfig.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ResourceConfig.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegerinstanceCount()The number of resources that are used to train the model.InstanceTypeinstanceType()The instance type that is used to train the model.StringinstanceTypeAsString()The instance type that is used to train the model.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ResourceConfig.Builder>serializableBuilderClass()ResourceConfig.BuildertoBuilder()StringtoString()Returns a string representation of this object.IntegervolumeSizeInGB()The maximum size of the instance that is used to train the model.-
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()
The number of resources that are used to train the model.
- Returns:
- The number of resources that are used to train the model.
-
instanceType
public final InstanceType instanceType()
The instance type that is used to train the model.
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:
- The instance type that is used to train the model.
- See Also:
InstanceType
-
instanceTypeAsString
public final String instanceTypeAsString()
The instance type that is used to train the model.
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:
- The instance type that is used to train the model.
- See Also:
InstanceType
-
volumeSizeInGB
public final Integer volumeSizeInGB()
The maximum size of the instance that is used to train the model.
- Returns:
- The maximum size of the instance that is used to train the model.
-
toBuilder
public ResourceConfig.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ResourceConfig.Builder,ResourceConfig>
-
builder
public static ResourceConfig.Builder builder()
-
serializableBuilderClass
public static Class<? extends ResourceConfig.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-