Interface CreateAppImageConfigRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateAppImageConfigRequest.Builder,,CreateAppImageConfigRequest> SageMakerRequest.Builder,SdkBuilder<CreateAppImageConfigRequest.Builder,,CreateAppImageConfigRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateAppImageConfigRequest
-
Method Summary
Modifier and TypeMethodDescriptionappImageConfigName(String appImageConfigName) The name of the AppImageConfig.kernelGatewayImageConfig(Consumer<KernelGatewayImageConfig.Builder> kernelGatewayImageConfig) The KernelGatewayImageConfig.kernelGatewayImageConfig(KernelGatewayImageConfig kernelGatewayImageConfig) The KernelGatewayImageConfig.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.tags(Collection<Tag> tags) A list of tags to apply to the AppImageConfig.tags(Consumer<Tag.Builder>... tags) A list of tags to apply to the AppImageConfig.A list of tags to apply to the AppImageConfig.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
-
appImageConfigName
The name of the AppImageConfig. Must be unique to your account.
- Parameters:
appImageConfigName- The name of the AppImageConfig. Must be unique to your account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A list of tags to apply to the AppImageConfig.
- Parameters:
tags- A list of tags to apply to the AppImageConfig.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A list of tags to apply to the AppImageConfig.
- Parameters:
tags- A list of tags to apply to the AppImageConfig.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A list of tags to apply to the AppImageConfig.
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:
-
kernelGatewayImageConfig
CreateAppImageConfigRequest.Builder kernelGatewayImageConfig(KernelGatewayImageConfig kernelGatewayImageConfig) The KernelGatewayImageConfig. You can only specify one image kernel in the AppImageConfig API. This kernel will be shown to users before the image starts. Once the image runs, all kernels are visible in JupyterLab.
- Parameters:
kernelGatewayImageConfig- The KernelGatewayImageConfig. You can only specify one image kernel in the AppImageConfig API. This kernel will be shown to users before the image starts. Once the image runs, all kernels are visible in JupyterLab.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kernelGatewayImageConfig
default CreateAppImageConfigRequest.Builder kernelGatewayImageConfig(Consumer<KernelGatewayImageConfig.Builder> kernelGatewayImageConfig) The KernelGatewayImageConfig. You can only specify one image kernel in the AppImageConfig API. This kernel will be shown to users before the image starts. Once the image runs, all kernels are visible in JupyterLab.
This is a convenience method that creates an instance of theKernelGatewayImageConfig.Builderavoiding the need to create one manually viaKernelGatewayImageConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tokernelGatewayImageConfig(KernelGatewayImageConfig).- Parameters:
kernelGatewayImageConfig- a consumer that will call methods onKernelGatewayImageConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateAppImageConfigRequest.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
CreateAppImageConfigRequest.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.
-