@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 |
getLifecycleConfigArn()
The Amazon Resource Name (ARN) of the Lifecycle Configuration attached to the Resource.
|
String |
getSageMakerImageArn()
The ARN of the SageMaker image that the image version belongs to.
|
String |
getSageMakerImageVersionAlias()
The SageMakerImageVersionAlias of the image to launch with.
|
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 |
setLifecycleConfigArn(String lifecycleConfigArn)
The Amazon Resource Name (ARN) of the Lifecycle Configuration attached to the Resource.
|
void |
setSageMakerImageArn(String sageMakerImageArn)
The ARN of the SageMaker image that the image version belongs to.
|
void |
setSageMakerImageVersionAlias(String sageMakerImageVersionAlias)
The SageMakerImageVersionAlias of the image to launch with.
|
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 |
withLifecycleConfigArn(String lifecycleConfigArn)
The Amazon Resource Name (ARN) of the Lifecycle Configuration attached to the Resource.
|
ResourceSpec |
withSageMakerImageArn(String sageMakerImageArn)
The ARN of the SageMaker image that the image version belongs to.
|
ResourceSpec |
withSageMakerImageVersionAlias(String sageMakerImageVersionAlias)
The SageMakerImageVersionAlias of the image to launch with.
|
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 setSageMakerImageVersionAlias(String sageMakerImageVersionAlias)
The SageMakerImageVersionAlias of the image to launch with. This value is in SemVer 2.0.0 versioning format.
sageMakerImageVersionAlias
- The SageMakerImageVersionAlias of the image to launch with. This value is in SemVer 2.0.0 versioning
format.public String getSageMakerImageVersionAlias()
The SageMakerImageVersionAlias of the image to launch with. This value is in SemVer 2.0.0 versioning format.
public ResourceSpec withSageMakerImageVersionAlias(String sageMakerImageVersionAlias)
The SageMakerImageVersionAlias of the image to launch with. This value is in SemVer 2.0.0 versioning format.
sageMakerImageVersionAlias
- The SageMakerImageVersionAlias of the image to launch with. This value is in SemVer 2.0.0 versioning
format.public void setInstanceType(String 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.
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.
AppInstanceType
public String getInstanceType()
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.
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 ResourceSpec withInstanceType(String 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.
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.
AppInstanceType
public ResourceSpec withInstanceType(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.
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.
AppInstanceType
public void setLifecycleConfigArn(String lifecycleConfigArn)
The Amazon Resource Name (ARN) of the Lifecycle Configuration attached to the Resource.
lifecycleConfigArn
- The Amazon Resource Name (ARN) of the Lifecycle Configuration attached to the Resource.public String getLifecycleConfigArn()
The Amazon Resource Name (ARN) of the Lifecycle Configuration attached to the Resource.
public ResourceSpec withLifecycleConfigArn(String lifecycleConfigArn)
The Amazon Resource Name (ARN) of the Lifecycle Configuration attached to the Resource.
lifecycleConfigArn
- The Amazon Resource Name (ARN) of the Lifecycle Configuration attached to the Resource.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.