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
-
Method Summary
Modifier and TypeMethodDescriptionstatic ResourceSpec.Builder
builder()
final boolean
final boolean
equalsBySdkFields
(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 int
hashCode()
final AppInstanceType
The instance type that the image version runs on.final String
The instance type that the image version runs on.final String
The Amazon Resource Name (ARN) of the Lifecycle Configuration attached to the Resource.final String
The ARN of the SageMaker image that the image version belongs to.final String
The SageMakerImageVersionAlias of the image to launch with.final String
The 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 String
toString()
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.
-
sageMakerImageVersionAlias
The SageMakerImageVersionAlias of the image to launch with. This value is in SemVer 2.0.0 versioning format.
- Returns:
- The SageMakerImageVersionAlias of the image to launch with. This value is in SemVer 2.0.0 versioning format.
-
instanceType
The instance type that the image version runs on.
JupyterServer apps only support the
system
value.For KernelGateway apps, the
system
value 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,
instanceType
will 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
system
value.For KernelGateway apps, the
system
value 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
system
value.For KernelGateway apps, the
system
value 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,
instanceType
will 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
system
value.For KernelGateway apps, the
system
value 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:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<ResourceSpec.Builder,
ResourceSpec> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in 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
-