Class ResourceSpec
- All Implemented Interfaces:
 Serializable,SdkPojo,ToCopyableBuilder<ResourceSpec.Builder,ResourceSpec> 
Specifies the ARN's of a SageMaker image and SageMaker image version, and the instance type that the version runs on.
- See Also:
 
- 
Nested Class Summary
Nested Classes - 
Method Summary
Modifier and TypeMethodDescriptionstatic ResourceSpec.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final AppInstanceTypeThe instance type that the image version runs on.final StringThe instance type that the image version runs on.final StringThe Amazon Resource Name (ARN) of the Lifecycle Configuration attached to the Resource.final StringThe ARN of the SageMaker image that the image version belongs to.final StringThe ARN of the image version created on the instance.static Class<? extends ResourceSpec.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy 
- 
Method Details
- 
sageMakerImageArn
The ARN of the SageMaker image that the image version belongs to.
- Returns:
 - The ARN of the SageMaker image that the image version belongs to.
 
 - 
sageMakerImageVersionArn
The ARN of the image version created on the instance.
- Returns:
 - The ARN of the image version created on the instance.
 
 - 
instanceType
The instance type that the image version runs on.
JupyterServer apps only support the
systemvalue.For KernelGateway apps, the
systemvalue is translated toml.t3.medium. KernelGateway apps also support all other values for available instance types.If the service returns an enum value that is not available in the current SDK version,
instanceTypewill returnAppInstanceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frominstanceTypeAsString().- Returns:
 - The instance type that the image version runs on. 
JupyterServer apps only support the
systemvalue.For KernelGateway apps, the
systemvalue is translated toml.t3.medium. KernelGateway apps also support all other values for available instance types. - See Also:
 
 - 
instanceTypeAsString
The instance type that the image version runs on.
JupyterServer apps only support the
systemvalue.For KernelGateway apps, the
systemvalue is translated toml.t3.medium. KernelGateway apps also support all other values for available instance types.If the service returns an enum value that is not available in the current SDK version,
instanceTypewill returnAppInstanceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frominstanceTypeAsString().- Returns:
 - The instance type that the image version runs on. 
JupyterServer apps only support the
systemvalue.For KernelGateway apps, the
systemvalue is translated toml.t3.medium. KernelGateway apps also support all other values for available instance types. - See Also:
 
 - 
lifecycleConfigArn
The Amazon Resource Name (ARN) of the Lifecycle Configuration attached to the Resource.
- Returns:
 - The Amazon Resource Name (ARN) of the Lifecycle Configuration attached to the Resource.
 
 - 
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
 toBuilderin interfaceToCopyableBuilder<ResourceSpec.Builder,ResourceSpec> - Returns:
 - a builder for type T
 
 - 
builder
 - 
serializableBuilderClass
 - 
hashCode
public final int hashCode() - 
equals
 - 
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
 equalsBySdkFieldsin interfaceSdkPojo- Parameters:
 obj- the object to be compared with- Returns:
 - true if the other object equals to this object by sdk fields, false otherwise.
 
 - 
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. - 
getValueForField
 - 
sdkFields
 
 -