
com.pulumi.aws.sagemaker.outputs.UserProfileUserSettingsCanvasAppSettingsEmrServerlessSettings Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
// *** 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.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class UserProfileUserSettingsCanvasAppSettingsEmrServerlessSettings {
/**
* @return The Amazon Resource Name (ARN) of the AWS IAM role that is assumed for running Amazon EMR Serverless jobs in SageMaker Canvas. This role should have the necessary permissions to read and write data attached and a trust relationship with EMR Serverless.
*
*/
private @Nullable String executionRoleArn;
/**
* @return Describes whether Amazon EMR Serverless job capabilities are enabled or disabled in the SageMaker Canvas application. Valid values are: `ENABLED` and `DISABLED`.
*
*/
private @Nullable String status;
private UserProfileUserSettingsCanvasAppSettingsEmrServerlessSettings() {}
/**
* @return The Amazon Resource Name (ARN) of the AWS IAM role that is assumed for running Amazon EMR Serverless jobs in SageMaker Canvas. This role should have the necessary permissions to read and write data attached and a trust relationship with EMR Serverless.
*
*/
public Optional executionRoleArn() {
return Optional.ofNullable(this.executionRoleArn);
}
/**
* @return Describes whether Amazon EMR Serverless job capabilities are enabled or disabled in the SageMaker Canvas application. Valid values are: `ENABLED` and `DISABLED`.
*
*/
public Optional status() {
return Optional.ofNullable(this.status);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(UserProfileUserSettingsCanvasAppSettingsEmrServerlessSettings defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String executionRoleArn;
private @Nullable String status;
public Builder() {}
public Builder(UserProfileUserSettingsCanvasAppSettingsEmrServerlessSettings defaults) {
Objects.requireNonNull(defaults);
this.executionRoleArn = defaults.executionRoleArn;
this.status = defaults.status;
}
@CustomType.Setter
public Builder executionRoleArn(@Nullable String executionRoleArn) {
this.executionRoleArn = executionRoleArn;
return this;
}
@CustomType.Setter
public Builder status(@Nullable String status) {
this.status = status;
return this;
}
public UserProfileUserSettingsCanvasAppSettingsEmrServerlessSettings build() {
final var _resultValue = new UserProfileUserSettingsCanvasAppSettingsEmrServerlessSettings();
_resultValue.executionRoleArn = executionRoleArn;
_resultValue.status = status;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy