@Generated(value="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.
Modifier and Type | Class and Description |
---|---|
static interface |
ResourceSpec.Builder |
Modifier and Type | Method and Description |
---|---|
static ResourceSpec.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
AppInstanceType |
instanceType()
The instance type that the image version runs on.
|
String |
instanceTypeAsString()
The instance type that the image version runs on.
|
String |
lifecycleConfigArn()
The Amazon Resource Name (ARN) of the Lifecycle Configuration attached to the Resource.
|
String |
sageMakerImageArn()
The ARN of the SageMaker image that the image version belongs to.
|
String |
sageMakerImageVersionArn()
The ARN of the image version created on the instance.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ResourceSpec.Builder> |
serializableBuilderClass() |
ResourceSpec.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final String sageMakerImageArn()
The ARN of the SageMaker image that the image version belongs to.
public final String sageMakerImageVersionArn()
The ARN of the image version created on the instance.
public final AppInstanceType 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 to ml.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
return AppInstanceType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
instanceTypeAsString()
.
JupyterServer apps only support the system
value.
For KernelGateway apps, the system
value is translated to ml.t3.medium
.
KernelGateway apps also support all other values for available instance types.
AppInstanceType
public final String 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 to ml.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
return AppInstanceType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
instanceTypeAsString()
.
JupyterServer apps only support the system
value.
For KernelGateway apps, the system
value is translated to ml.t3.medium
.
KernelGateway apps also support all other values for available instance types.
AppInstanceType
public final String lifecycleConfigArn()
The Amazon Resource Name (ARN) of the Lifecycle Configuration attached to the Resource.
public ResourceSpec.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<ResourceSpec.Builder,ResourceSpec>
public static ResourceSpec.Builder builder()
public static Class<? extends ResourceSpec.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
Copyright © 2023. All rights reserved.