@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourceSpec extends Object implements Serializable, Cloneable, StructuredPojo
The instance type and the Amazon Resource Name (ARN) of the SageMaker image created on the instance. The ARN is stored as metadata in SageMaker Studio notebooks.
Constructor and Description |
---|
ResourceSpec() |
Modifier and Type | Method and Description |
---|---|
ResourceSpec |
clone() |
boolean |
equals(Object obj) |
String |
getInstanceType()
The instance type.
|
String |
getSageMakerImageArn()
The Amazon Resource Name (ARN) of the SageMaker image 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.
|
void |
setSageMakerImageArn(String sageMakerImageArn)
The Amazon Resource Name (ARN) of the SageMaker image created on the instance.
|
String |
toString()
Returns a string representation of this object.
|
ResourceSpec |
withInstanceType(AppInstanceType instanceType)
The instance type.
|
ResourceSpec |
withInstanceType(String instanceType)
The instance type.
|
ResourceSpec |
withSageMakerImageArn(String sageMakerImageArn)
The Amazon Resource Name (ARN) of the SageMaker image created on the instance.
|
public void setSageMakerImageArn(String sageMakerImageArn)
The Amazon Resource Name (ARN) of the SageMaker image created on the instance.
sageMakerImageArn
- The Amazon Resource Name (ARN) of the SageMaker image created on the instance.public String getSageMakerImageArn()
The Amazon Resource Name (ARN) of the SageMaker image created on the instance.
public ResourceSpec withSageMakerImageArn(String sageMakerImageArn)
The Amazon Resource Name (ARN) of the SageMaker image created on the instance.
sageMakerImageArn
- The Amazon Resource Name (ARN) of the SageMaker image created on the instance.public void setInstanceType(String instanceType)
The instance type.
instanceType
- The instance type.AppInstanceType
public String getInstanceType()
The instance type.
AppInstanceType
public ResourceSpec withInstanceType(String instanceType)
The instance type.
instanceType
- The instance type.AppInstanceType
public ResourceSpec withInstanceType(AppInstanceType instanceType)
The instance type.
instanceType
- The instance type.AppInstanceType
public String toString()
toString
in class Object
Object.toString()
public ResourceSpec clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.