Interface CreateAppRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateAppRequest.Builder,,CreateAppRequest> SageMakerRequest.Builder,SdkBuilder<CreateAppRequest.Builder,,CreateAppRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateAppRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the app.The type of app.The type of app.The domain ID.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default CreateAppRequest.BuilderresourceSpec(Consumer<ResourceSpec.Builder> resourceSpec) The instance type and the Amazon Resource Name (ARN) of the SageMaker image created on the instance.resourceSpec(ResourceSpec resourceSpec) The instance type and the Amazon Resource Name (ARN) of the SageMaker image created on the instance.The name of the space.tags(Collection<Tag> tags) Each tag consists of a key and an optional value.tags(Consumer<Tag.Builder>... tags) Each tag consists of a key and an optional value.Each tag consists of a key and an optional value.userProfileName(String userProfileName) The user profile name.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
domainId
The domain ID.
- Parameters:
domainId- The domain ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userProfileName
The user profile name. If this value is not set, then
SpaceNamemust be set.- Parameters:
userProfileName- The user profile name. If this value is not set, thenSpaceNamemust be set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
spaceName
The name of the space. If this value is not set, then
UserProfileNamemust be set.- Parameters:
spaceName- The name of the space. If this value is not set, thenUserProfileNamemust be set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
appType
The type of app.
- Parameters:
appType- The type of app.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
appType
The type of app.
- Parameters:
appType- The type of app.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
appName
The name of the app.
- Parameters:
appName- The name of the app.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Each tag consists of a key and an optional value. Tag keys must be unique per resource.
- Parameters:
tags- Each tag consists of a key and an optional value. Tag keys must be unique per resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Each tag consists of a key and an optional value. Tag keys must be unique per resource.
- Parameters:
tags- Each tag consists of a key and an optional value. Tag keys must be unique per resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<Tag>).- Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resourceSpec
The instance type and the Amazon Resource Name (ARN) of the SageMaker image created on the instance.
The value of
InstanceTypepassed as part of theResourceSpecin theCreateAppcall overrides the value passed as part of theResourceSpecconfigured for the user profile or the domain. IfInstanceTypeis not specified in any of those threeResourceSpecvalues for aKernelGatewayapp, theCreateAppcall fails with a request validation error.- Parameters:
resourceSpec- The instance type and the Amazon Resource Name (ARN) of the SageMaker image created on the instance.The value of
InstanceTypepassed as part of theResourceSpecin theCreateAppcall overrides the value passed as part of theResourceSpecconfigured for the user profile or the domain. IfInstanceTypeis not specified in any of those threeResourceSpecvalues for aKernelGatewayapp, theCreateAppcall fails with a request validation error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceSpec
The instance type and the Amazon Resource Name (ARN) of the SageMaker image created on the instance.
This is a convenience method that creates an instance of theThe value of
InstanceTypepassed as part of theResourceSpecin theCreateAppcall overrides the value passed as part of theResourceSpecconfigured for the user profile or the domain. IfInstanceTypeis not specified in any of those threeResourceSpecvalues for aKernelGatewayapp, theCreateAppcall fails with a request validation error.ResourceSpec.Builderavoiding the need to create one manually viaResourceSpec.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresourceSpec(ResourceSpec).- Parameters:
resourceSpec- a consumer that will call methods onResourceSpec.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateAppRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateAppRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-