public static interface CreateAppRequest.Builder extends SageMakerRequest.Builder, SdkPojo, CopyableBuilder<CreateAppRequest.Builder,CreateAppRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateAppRequest.Builder |
appName(String appName)
The name of the app.
|
CreateAppRequest.Builder |
appType(AppType appType)
The type of app.
|
CreateAppRequest.Builder |
appType(String appType)
The type of app.
|
CreateAppRequest.Builder |
domainId(String domainId)
The domain ID.
|
CreateAppRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateAppRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
default CreateAppRequest.Builder |
resourceSpec(Consumer<ResourceSpec.Builder> resourceSpec)
The instance type and the Amazon Resource Name (ARN) of the SageMaker image created on the instance.
|
CreateAppRequest.Builder |
resourceSpec(ResourceSpec resourceSpec)
The instance type and the Amazon Resource Name (ARN) of the SageMaker image created on the instance.
|
CreateAppRequest.Builder |
tags(Collection<Tag> tags)
Each tag consists of a key and an optional value.
|
CreateAppRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
Each tag consists of a key and an optional value.
|
CreateAppRequest.Builder |
tags(Tag... tags)
Each tag consists of a key and an optional value.
|
CreateAppRequest.Builder |
userProfileName(String userProfileName)
The user profile name.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateAppRequest.Builder domainId(String domainId)
The domain ID.
domainId - The domain ID.CreateAppRequest.Builder userProfileName(String userProfileName)
The user profile name.
userProfileName - The user profile name.CreateAppRequest.Builder appType(String appType)
The type of app.
CreateAppRequest.Builder appType(AppType appType)
The type of app.
CreateAppRequest.Builder appName(String appName)
The name of the app.
appName - The name of the app.CreateAppRequest.Builder tags(Collection<Tag> tags)
Each tag consists of a key and an optional value. Tag keys must be unique per resource.
tags - Each tag consists of a key and an optional value. Tag keys must be unique per resource.CreateAppRequest.Builder tags(Tag... tags)
Each tag consists of a key and an optional value. Tag keys must be unique per resource.
tags - Each tag consists of a key and an optional value. Tag keys must be unique per resource.CreateAppRequest.Builder tags(Consumer<Tag.Builder>... tags)
Each tag consists of a key and an optional value. Tag keys must be unique per resource.
This is a convenience method that creates an instance of theTag.Builder avoiding the need to create one manually
via Tag.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #tags(List.
tags - a consumer that will call methods on
Tag.Builder#tags(java.util.Collection) CreateAppRequest.Builder resourceSpec(ResourceSpec resourceSpec)
The instance type and the Amazon Resource Name (ARN) of the SageMaker image created on the instance.
The value of InstanceType passed as part of the ResourceSpec in the
CreateApp call overrides the value passed as part of the ResourceSpec configured
for the user profile or the domain. If InstanceType is not specified in any of those three
ResourceSpec values for a KernelGateway app, the CreateApp call fails
with a request validation error.
resourceSpec - The instance type and the Amazon Resource Name (ARN) of the SageMaker image created on the
instance.
The value of InstanceType passed as part of the ResourceSpec in the
CreateApp call overrides the value passed as part of the ResourceSpec
configured for the user profile or the domain. If InstanceType is not specified in any of
those three ResourceSpec values for a KernelGateway app, the
CreateApp call fails with a request validation error.
default CreateAppRequest.Builder resourceSpec(Consumer<ResourceSpec.Builder> resourceSpec)
The instance type and the Amazon Resource Name (ARN) of the SageMaker image created on the instance.
The value of InstanceType passed as part of the ResourceSpec in the
CreateApp call overrides the value passed as part of the ResourceSpec configured
for the user profile or the domain. If InstanceType is not specified in any of those three
ResourceSpec values for a KernelGateway app, the CreateApp call fails
with a request validation error.
ResourceSpec.Builder avoiding
the need to create one manually via ResourceSpec.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to resourceSpec(ResourceSpec).
resourceSpec - a consumer that will call methods on ResourceSpec.BuilderresourceSpec(ResourceSpec)CreateAppRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateAppRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2022. All rights reserved.