com.pulumi.aws.sagemaker.outputs.SpaceSpaceSettingsKernelGatewayAppSettings Maven / Gradle / Ivy
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.aws.sagemaker.outputs;
import com.pulumi.aws.sagemaker.outputs.SpaceSpaceSettingsKernelGatewayAppSettingsCustomImage;
import com.pulumi.aws.sagemaker.outputs.SpaceSpaceSettingsKernelGatewayAppSettingsDefaultResourceSpec;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import javax.annotation.Nullable;
@CustomType
public final class SpaceSpaceSettingsKernelGatewayAppSettings {
/**
* @return A list of custom SageMaker images that are configured to run as a KernelGateway app. See `custom_image` Block below.
*
*/
private @Nullable List customImages;
/**
* @return The default instance type and the Amazon Resource Name (ARN) of the SageMaker image created on the instance. See `default_resource_spec` Block below.
*
*/
private SpaceSpaceSettingsKernelGatewayAppSettingsDefaultResourceSpec defaultResourceSpec;
/**
* @return The Amazon Resource Name (ARN) of the Lifecycle Configurations.
*
*/
private @Nullable List lifecycleConfigArns;
private SpaceSpaceSettingsKernelGatewayAppSettings() {}
/**
* @return A list of custom SageMaker images that are configured to run as a KernelGateway app. See `custom_image` Block below.
*
*/
public List customImages() {
return this.customImages == null ? List.of() : this.customImages;
}
/**
* @return The default instance type and the Amazon Resource Name (ARN) of the SageMaker image created on the instance. See `default_resource_spec` Block below.
*
*/
public SpaceSpaceSettingsKernelGatewayAppSettingsDefaultResourceSpec defaultResourceSpec() {
return this.defaultResourceSpec;
}
/**
* @return The Amazon Resource Name (ARN) of the Lifecycle Configurations.
*
*/
public List lifecycleConfigArns() {
return this.lifecycleConfigArns == null ? List.of() : this.lifecycleConfigArns;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(SpaceSpaceSettingsKernelGatewayAppSettings defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable List customImages;
private SpaceSpaceSettingsKernelGatewayAppSettingsDefaultResourceSpec defaultResourceSpec;
private @Nullable List lifecycleConfigArns;
public Builder() {}
public Builder(SpaceSpaceSettingsKernelGatewayAppSettings defaults) {
Objects.requireNonNull(defaults);
this.customImages = defaults.customImages;
this.defaultResourceSpec = defaults.defaultResourceSpec;
this.lifecycleConfigArns = defaults.lifecycleConfigArns;
}
@CustomType.Setter
public Builder customImages(@Nullable List customImages) {
this.customImages = customImages;
return this;
}
public Builder customImages(SpaceSpaceSettingsKernelGatewayAppSettingsCustomImage... customImages) {
return customImages(List.of(customImages));
}
@CustomType.Setter
public Builder defaultResourceSpec(SpaceSpaceSettingsKernelGatewayAppSettingsDefaultResourceSpec defaultResourceSpec) {
if (defaultResourceSpec == null) {
throw new MissingRequiredPropertyException("SpaceSpaceSettingsKernelGatewayAppSettings", "defaultResourceSpec");
}
this.defaultResourceSpec = defaultResourceSpec;
return this;
}
@CustomType.Setter
public Builder lifecycleConfigArns(@Nullable List lifecycleConfigArns) {
this.lifecycleConfigArns = lifecycleConfigArns;
return this;
}
public Builder lifecycleConfigArns(String... lifecycleConfigArns) {
return lifecycleConfigArns(List.of(lifecycleConfigArns));
}
public SpaceSpaceSettingsKernelGatewayAppSettings build() {
final var _resultValue = new SpaceSpaceSettingsKernelGatewayAppSettings();
_resultValue.customImages = customImages;
_resultValue.defaultResourceSpec = defaultResourceSpec;
_resultValue.lifecycleConfigArns = lifecycleConfigArns;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy