Interface ResourceSpec.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<ResourceSpec.Builder,ResourceSpec>
,SdkBuilder<ResourceSpec.Builder,ResourceSpec>
,SdkPojo
- Enclosing class:
- ResourceSpec
public static interface ResourceSpec.Builder extends SdkPojo, CopyableBuilder<ResourceSpec.Builder,ResourceSpec>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ResourceSpec.Builder
instanceType(String instanceType)
The instance type that the image version runs on.ResourceSpec.Builder
instanceType(AppInstanceType instanceType)
The instance type that the image version runs on.ResourceSpec.Builder
lifecycleConfigArn(String lifecycleConfigArn)
The Amazon Resource Name (ARN) of the Lifecycle Configuration attached to the Resource.ResourceSpec.Builder
sageMakerImageArn(String sageMakerImageArn)
The ARN of the SageMaker AI image that the image version belongs to.ResourceSpec.Builder
sageMakerImageVersionAlias(String sageMakerImageVersionAlias)
The SageMakerImageVersionAlias of the image to launch with.ResourceSpec.Builder
sageMakerImageVersionArn(String sageMakerImageVersionArn)
The ARN of the image version created on the instance.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
sageMakerImageArn
ResourceSpec.Builder sageMakerImageArn(String sageMakerImageArn)
The ARN of the SageMaker AI image that the image version belongs to.
- Parameters:
sageMakerImageArn
- The ARN of the SageMaker AI image that the image version belongs to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sageMakerImageVersionArn
ResourceSpec.Builder sageMakerImageVersionArn(String sageMakerImageVersionArn)
The ARN of the image version created on the instance. To clear the value set for
SageMakerImageVersionArn
, passNone
as the value.- Parameters:
sageMakerImageVersionArn
- The ARN of the image version created on the instance. To clear the value set forSageMakerImageVersionArn
, passNone
as the value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sageMakerImageVersionAlias
ResourceSpec.Builder sageMakerImageVersionAlias(String sageMakerImageVersionAlias)
The SageMakerImageVersionAlias of the image to launch with. This value is in SemVer 2.0.0 versioning format.
- Parameters:
sageMakerImageVersionAlias
- The SageMakerImageVersionAlias of the image to launch with. This value is in SemVer 2.0.0 versioning format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceType
ResourceSpec.Builder instanceType(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 toml.t3.medium
. KernelGateway apps also support all other values for available instance types.- Parameters:
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 toml.t3.medium
. KernelGateway apps also support all other values for available instance types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AppInstanceType
,AppInstanceType
-
instanceType
ResourceSpec.Builder instanceType(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 toml.t3.medium
. KernelGateway apps also support all other values for available instance types.- Parameters:
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 toml.t3.medium
. KernelGateway apps also support all other values for available instance types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AppInstanceType
,AppInstanceType
-
lifecycleConfigArn
ResourceSpec.Builder lifecycleConfigArn(String lifecycleConfigArn)
The Amazon Resource Name (ARN) of the Lifecycle Configuration attached to the Resource.
- Parameters:
lifecycleConfigArn
- The Amazon Resource Name (ARN) of the Lifecycle Configuration attached to the Resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-