@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 |
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, waitcopypublic String sageMakerImageArn()
The ARN of the SageMaker image that the image version belongs to.
public String sageMakerImageVersionArn()
The ARN of the image version created on the instance.
public AppInstanceType instanceType()
The instance type that the image version runs on.
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().
AppInstanceTypepublic String instanceTypeAsString()
The instance type that the image version runs on.
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().
AppInstanceTypepublic ResourceSpec.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ResourceSpec.Builder,ResourceSpec>public static ResourceSpec.Builder builder()
public static Class<? extends ResourceSpec.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.