@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourceSpec extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the ARN's of a SageMaker image and SageMaker image version, and the instance type that the version runs on.
| Constructor and Description | 
|---|
| ResourceSpec() | 
| Modifier and Type | Method and Description | 
|---|---|
| ResourceSpec | clone() | 
| boolean | equals(Object obj) | 
| String | getInstanceType()
 The instance type that the image version runs on. | 
| String | getSageMakerImageArn()
 The ARN of the SageMaker image that the image version belongs to. | 
| String | getSageMakerImageVersionArn()
 The ARN of the image version created on the instance. | 
| int | hashCode() | 
| void | marshall(ProtocolMarshaller protocolMarshaller)Marshalls this structured data using the given  ProtocolMarshaller. | 
| void | setInstanceType(String instanceType)
 The instance type that the image version runs on. | 
| void | setSageMakerImageArn(String sageMakerImageArn)
 The ARN of the SageMaker image that the image version belongs to. | 
| void | setSageMakerImageVersionArn(String sageMakerImageVersionArn)
 The ARN of the image version created on the instance. | 
| String | toString()Returns a string representation of this object. | 
| ResourceSpec | withInstanceType(AppInstanceType instanceType)
 The instance type that the image version runs on. | 
| ResourceSpec | withInstanceType(String instanceType)
 The instance type that the image version runs on. | 
| ResourceSpec | withSageMakerImageArn(String sageMakerImageArn)
 The ARN of the SageMaker image that the image version belongs to. | 
| ResourceSpec | withSageMakerImageVersionArn(String sageMakerImageVersionArn)
 The ARN of the image version created on the instance. | 
public void setSageMakerImageArn(String sageMakerImageArn)
The ARN of the SageMaker image that the image version belongs to.
sageMakerImageArn - The ARN of the SageMaker image that the image version belongs to.public String getSageMakerImageArn()
The ARN of the SageMaker image that the image version belongs to.
public ResourceSpec withSageMakerImageArn(String sageMakerImageArn)
The ARN of the SageMaker image that the image version belongs to.
sageMakerImageArn - The ARN of the SageMaker image that the image version belongs to.public void setSageMakerImageVersionArn(String sageMakerImageVersionArn)
The ARN of the image version created on the instance.
sageMakerImageVersionArn - The ARN of the image version created on the instance.public String getSageMakerImageVersionArn()
The ARN of the image version created on the instance.
public ResourceSpec withSageMakerImageVersionArn(String sageMakerImageVersionArn)
The ARN of the image version created on the instance.
sageMakerImageVersionArn - The ARN of the image version created on the instance.public void setInstanceType(String instanceType)
The instance type that the image version runs on.
instanceType - The instance type that the image version runs on.AppInstanceTypepublic String getInstanceType()
The instance type that the image version runs on.
AppInstanceTypepublic ResourceSpec withInstanceType(String instanceType)
The instance type that the image version runs on.
instanceType - The instance type that the image version runs on.AppInstanceTypepublic ResourceSpec withInstanceType(AppInstanceType instanceType)
The instance type that the image version runs on.
instanceType - The instance type that the image version runs on.AppInstanceTypepublic String toString()
toString in class ObjectObject.toString()public ResourceSpec clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.