Class ResourceSpec
- java.lang.Object
-
- software.amazon.awssdk.services.sagemaker.model.ResourceSpec
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ResourceSpec.Builder,ResourceSpec>
@Generated("software.amazon.awssdk:codegen") public final class ResourceSpec extends Object implements SdkPojo, Serializable, 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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceResourceSpec.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ResourceSpec.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()AppInstanceTypeinstanceType()The instance type that the image version runs on.StringinstanceTypeAsString()The instance type that the image version runs on.StringlifecycleConfigArn()The Amazon Resource Name (ARN) of the Lifecycle Configuration attached to the Resource.StringsageMakerImageArn()The ARN of the SageMaker image that the image version belongs to.StringsageMakerImageVersionAlias()The SageMakerImageVersionAlias of the image to launch with.StringsageMakerImageVersionArn()The ARN of the image version created on the instance.List<SdkField<?>>sdkFields()static Class<? extends ResourceSpec.Builder>serializableBuilderClass()ResourceSpec.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
sageMakerImageArn
public final String 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
public final String sageMakerImageVersionArn()
The ARN of the image version created on the instance.
- Returns:
- The ARN of the image version created on the instance.
-
sageMakerImageVersionAlias
public final String 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
public final AppInstanceType 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:
AppInstanceType
-
instanceTypeAsString
public final String 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:
AppInstanceType
-
lifecycleConfigArn
public final String 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
public ResourceSpec.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ResourceSpec.Builder,ResourceSpec>
-
builder
public static ResourceSpec.Builder builder()
-
serializableBuilderClass
public static Class<? extends ResourceSpec.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.
-
-