Interface EnvironmentConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<EnvironmentConfig.Builder,,EnvironmentConfig> SdkBuilder<EnvironmentConfig.Builder,,EnvironmentConfig> SdkPojo
- Enclosing class:
EnvironmentConfig
@Mutable
@NotThreadSafe
public static interface EnvironmentConfig.Builder
extends SdkPojo, CopyableBuilder<EnvironmentConfig.Builder,EnvironmentConfig>
-
Method Summary
Modifier and TypeMethodDescriptionimageVersion(String imageVersion) The image version for the notebook run environment.default EnvironmentConfig.BuilderpackageConfig(Consumer<PackageConfig.Builder> packageConfig) The package configuration for the notebook run environment.packageConfig(PackageConfig packageConfig) The package configuration for the notebook run environment.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
imageVersion
The image version for the notebook run environment.
- Parameters:
imageVersion- The image version for the notebook run environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
packageConfig
The package configuration for the notebook run environment.
- Parameters:
packageConfig- The package configuration for the notebook run environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
packageConfig
The package configuration for the notebook run environment.
This is a convenience method that creates an instance of thePackageConfig.Builderavoiding the need to create one manually viaPackageConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topackageConfig(PackageConfig).- Parameters:
packageConfig- a consumer that will call methods onPackageConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-