All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.aws.glue.inputs.MLTransformState Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

There is a newer version: 6.60.0-alpha.1731982519
Show newest version
// *** 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.glue.inputs;

import com.pulumi.aws.glue.inputs.MLTransformInputRecordTableArgs;
import com.pulumi.aws.glue.inputs.MLTransformParametersArgs;
import com.pulumi.aws.glue.inputs.MLTransformSchemaArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Double;
import java.lang.Integer;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class MLTransformState extends com.pulumi.resources.ResourceArgs {

    public static final MLTransformState Empty = new MLTransformState();

    /**
     * Amazon Resource Name (ARN) of Glue ML Transform.
     * 
     */
    @Import(name="arn")
    private @Nullable Output arn;

    /**
     * @return Amazon Resource Name (ARN) of Glue ML Transform.
     * 
     */
    public Optional> arn() {
        return Optional.ofNullable(this.arn);
    }

    /**
     * Description of the ML Transform.
     * 
     */
    @Import(name="description")
    private @Nullable Output description;

    /**
     * @return Description of the ML Transform.
     * 
     */
    public Optional> description() {
        return Optional.ofNullable(this.description);
    }

    /**
     * The version of glue to use, for example "1.0". For information about available versions, see the [AWS Glue Release Notes](https://docs.aws.amazon.com/glue/latest/dg/release-notes.html).
     * 
     */
    @Import(name="glueVersion")
    private @Nullable Output glueVersion;

    /**
     * @return The version of glue to use, for example "1.0". For information about available versions, see the [AWS Glue Release Notes](https://docs.aws.amazon.com/glue/latest/dg/release-notes.html).
     * 
     */
    public Optional> glueVersion() {
        return Optional.ofNullable(this.glueVersion);
    }

    /**
     * A list of AWS Glue table definitions used by the transform. see Input Record Tables.
     * 
     */
    @Import(name="inputRecordTables")
    private @Nullable Output> inputRecordTables;

    /**
     * @return A list of AWS Glue table definitions used by the transform. see Input Record Tables.
     * 
     */
    public Optional>> inputRecordTables() {
        return Optional.ofNullable(this.inputRecordTables);
    }

    /**
     * The number of labels available for this transform.
     * 
     */
    @Import(name="labelCount")
    private @Nullable Output labelCount;

    /**
     * @return The number of labels available for this transform.
     * 
     */
    public Optional> labelCount() {
        return Optional.ofNullable(this.labelCount);
    }

    /**
     * The number of AWS Glue data processing units (DPUs) that are allocated to task runs for this transform. You can allocate from `2` to `100` DPUs; the default is `10`. `max_capacity` is a mutually exclusive option with `number_of_workers` and `worker_type`.
     * 
     */
    @Import(name="maxCapacity")
    private @Nullable Output maxCapacity;

    /**
     * @return The number of AWS Glue data processing units (DPUs) that are allocated to task runs for this transform. You can allocate from `2` to `100` DPUs; the default is `10`. `max_capacity` is a mutually exclusive option with `number_of_workers` and `worker_type`.
     * 
     */
    public Optional> maxCapacity() {
        return Optional.ofNullable(this.maxCapacity);
    }

    /**
     * The maximum number of times to retry this ML Transform if it fails.
     * 
     */
    @Import(name="maxRetries")
    private @Nullable Output maxRetries;

    /**
     * @return The maximum number of times to retry this ML Transform if it fails.
     * 
     */
    public Optional> maxRetries() {
        return Optional.ofNullable(this.maxRetries);
    }

    /**
     * The name you assign to this ML Transform. It must be unique in your account.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return The name you assign to this ML Transform. It must be unique in your account.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * The number of workers of a defined `worker_type` that are allocated when an ML Transform runs. Required with `worker_type`.
     * 
     */
    @Import(name="numberOfWorkers")
    private @Nullable Output numberOfWorkers;

    /**
     * @return The number of workers of a defined `worker_type` that are allocated when an ML Transform runs. Required with `worker_type`.
     * 
     */
    public Optional> numberOfWorkers() {
        return Optional.ofNullable(this.numberOfWorkers);
    }

    /**
     * The algorithmic parameters that are specific to the transform type used. Conditionally dependent on the transform type. see Parameters.
     * 
     */
    @Import(name="parameters")
    private @Nullable Output parameters;

    /**
     * @return The algorithmic parameters that are specific to the transform type used. Conditionally dependent on the transform type. see Parameters.
     * 
     */
    public Optional> parameters() {
        return Optional.ofNullable(this.parameters);
    }

    /**
     * The ARN of the IAM role associated with this ML Transform.
     * 
     */
    @Import(name="roleArn")
    private @Nullable Output roleArn;

    /**
     * @return The ARN of the IAM role associated with this ML Transform.
     * 
     */
    public Optional> roleArn() {
        return Optional.ofNullable(this.roleArn);
    }

    /**
     * The object that represents the schema that this transform accepts. see Schema.
     * 
     */
    @Import(name="schemas")
    private @Nullable Output> schemas;

    /**
     * @return The object that represents the schema that this transform accepts. see Schema.
     * 
     */
    public Optional>> schemas() {
        return Optional.ofNullable(this.schemas);
    }

    /**
     * Key-value map of resource tags. .If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
     * 
     */
    @Import(name="tags")
    private @Nullable Output> tags;

    /**
     * @return Key-value map of resource tags. .If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
     * 
     */
    public Optional>> tags() {
        return Optional.ofNullable(this.tags);
    }

    /**
     * A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
     * 
     * @deprecated
     * Please use `tags` instead.
     * 
     */
    @Deprecated /* Please use `tags` instead. */
    @Import(name="tagsAll")
    private @Nullable Output> tagsAll;

    /**
     * @return A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
     * 
     * @deprecated
     * Please use `tags` instead.
     * 
     */
    @Deprecated /* Please use `tags` instead. */
    public Optional>> tagsAll() {
        return Optional.ofNullable(this.tagsAll);
    }

    /**
     * The ML Transform timeout in minutes. The default is 2880 minutes (48 hours).
     * 
     */
    @Import(name="timeout")
    private @Nullable Output timeout;

    /**
     * @return The ML Transform timeout in minutes. The default is 2880 minutes (48 hours).
     * 
     */
    public Optional> timeout() {
        return Optional.ofNullable(this.timeout);
    }

    /**
     * The type of predefined worker that is allocated when an ML Transform runs. Accepts a value of `Standard`, `G.1X`, or `G.2X`. Required with `number_of_workers`.
     * 
     */
    @Import(name="workerType")
    private @Nullable Output workerType;

    /**
     * @return The type of predefined worker that is allocated when an ML Transform runs. Accepts a value of `Standard`, `G.1X`, or `G.2X`. Required with `number_of_workers`.
     * 
     */
    public Optional> workerType() {
        return Optional.ofNullable(this.workerType);
    }

    private MLTransformState() {}

    private MLTransformState(MLTransformState $) {
        this.arn = $.arn;
        this.description = $.description;
        this.glueVersion = $.glueVersion;
        this.inputRecordTables = $.inputRecordTables;
        this.labelCount = $.labelCount;
        this.maxCapacity = $.maxCapacity;
        this.maxRetries = $.maxRetries;
        this.name = $.name;
        this.numberOfWorkers = $.numberOfWorkers;
        this.parameters = $.parameters;
        this.roleArn = $.roleArn;
        this.schemas = $.schemas;
        this.tags = $.tags;
        this.tagsAll = $.tagsAll;
        this.timeout = $.timeout;
        this.workerType = $.workerType;
    }

    public static Builder builder() {
        return new Builder();
    }
    public static Builder builder(MLTransformState defaults) {
        return new Builder(defaults);
    }

    public static final class Builder {
        private MLTransformState $;

        public Builder() {
            $ = new MLTransformState();
        }

        public Builder(MLTransformState defaults) {
            $ = new MLTransformState(Objects.requireNonNull(defaults));
        }

        /**
         * @param arn Amazon Resource Name (ARN) of Glue ML Transform.
         * 
         * @return builder
         * 
         */
        public Builder arn(@Nullable Output arn) {
            $.arn = arn;
            return this;
        }

        /**
         * @param arn Amazon Resource Name (ARN) of Glue ML Transform.
         * 
         * @return builder
         * 
         */
        public Builder arn(String arn) {
            return arn(Output.of(arn));
        }

        /**
         * @param description Description of the ML Transform.
         * 
         * @return builder
         * 
         */
        public Builder description(@Nullable Output description) {
            $.description = description;
            return this;
        }

        /**
         * @param description Description of the ML Transform.
         * 
         * @return builder
         * 
         */
        public Builder description(String description) {
            return description(Output.of(description));
        }

        /**
         * @param glueVersion The version of glue to use, for example "1.0". For information about available versions, see the [AWS Glue Release Notes](https://docs.aws.amazon.com/glue/latest/dg/release-notes.html).
         * 
         * @return builder
         * 
         */
        public Builder glueVersion(@Nullable Output glueVersion) {
            $.glueVersion = glueVersion;
            return this;
        }

        /**
         * @param glueVersion The version of glue to use, for example "1.0". For information about available versions, see the [AWS Glue Release Notes](https://docs.aws.amazon.com/glue/latest/dg/release-notes.html).
         * 
         * @return builder
         * 
         */
        public Builder glueVersion(String glueVersion) {
            return glueVersion(Output.of(glueVersion));
        }

        /**
         * @param inputRecordTables A list of AWS Glue table definitions used by the transform. see Input Record Tables.
         * 
         * @return builder
         * 
         */
        public Builder inputRecordTables(@Nullable Output> inputRecordTables) {
            $.inputRecordTables = inputRecordTables;
            return this;
        }

        /**
         * @param inputRecordTables A list of AWS Glue table definitions used by the transform. see Input Record Tables.
         * 
         * @return builder
         * 
         */
        public Builder inputRecordTables(List inputRecordTables) {
            return inputRecordTables(Output.of(inputRecordTables));
        }

        /**
         * @param inputRecordTables A list of AWS Glue table definitions used by the transform. see Input Record Tables.
         * 
         * @return builder
         * 
         */
        public Builder inputRecordTables(MLTransformInputRecordTableArgs... inputRecordTables) {
            return inputRecordTables(List.of(inputRecordTables));
        }

        /**
         * @param labelCount The number of labels available for this transform.
         * 
         * @return builder
         * 
         */
        public Builder labelCount(@Nullable Output labelCount) {
            $.labelCount = labelCount;
            return this;
        }

        /**
         * @param labelCount The number of labels available for this transform.
         * 
         * @return builder
         * 
         */
        public Builder labelCount(Integer labelCount) {
            return labelCount(Output.of(labelCount));
        }

        /**
         * @param maxCapacity The number of AWS Glue data processing units (DPUs) that are allocated to task runs for this transform. You can allocate from `2` to `100` DPUs; the default is `10`. `max_capacity` is a mutually exclusive option with `number_of_workers` and `worker_type`.
         * 
         * @return builder
         * 
         */
        public Builder maxCapacity(@Nullable Output maxCapacity) {
            $.maxCapacity = maxCapacity;
            return this;
        }

        /**
         * @param maxCapacity The number of AWS Glue data processing units (DPUs) that are allocated to task runs for this transform. You can allocate from `2` to `100` DPUs; the default is `10`. `max_capacity` is a mutually exclusive option with `number_of_workers` and `worker_type`.
         * 
         * @return builder
         * 
         */
        public Builder maxCapacity(Double maxCapacity) {
            return maxCapacity(Output.of(maxCapacity));
        }

        /**
         * @param maxRetries The maximum number of times to retry this ML Transform if it fails.
         * 
         * @return builder
         * 
         */
        public Builder maxRetries(@Nullable Output maxRetries) {
            $.maxRetries = maxRetries;
            return this;
        }

        /**
         * @param maxRetries The maximum number of times to retry this ML Transform if it fails.
         * 
         * @return builder
         * 
         */
        public Builder maxRetries(Integer maxRetries) {
            return maxRetries(Output.of(maxRetries));
        }

        /**
         * @param name The name you assign to this ML Transform. It must be unique in your account.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name The name you assign to this ML Transform. It must be unique in your account.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param numberOfWorkers The number of workers of a defined `worker_type` that are allocated when an ML Transform runs. Required with `worker_type`.
         * 
         * @return builder
         * 
         */
        public Builder numberOfWorkers(@Nullable Output numberOfWorkers) {
            $.numberOfWorkers = numberOfWorkers;
            return this;
        }

        /**
         * @param numberOfWorkers The number of workers of a defined `worker_type` that are allocated when an ML Transform runs. Required with `worker_type`.
         * 
         * @return builder
         * 
         */
        public Builder numberOfWorkers(Integer numberOfWorkers) {
            return numberOfWorkers(Output.of(numberOfWorkers));
        }

        /**
         * @param parameters The algorithmic parameters that are specific to the transform type used. Conditionally dependent on the transform type. see Parameters.
         * 
         * @return builder
         * 
         */
        public Builder parameters(@Nullable Output parameters) {
            $.parameters = parameters;
            return this;
        }

        /**
         * @param parameters The algorithmic parameters that are specific to the transform type used. Conditionally dependent on the transform type. see Parameters.
         * 
         * @return builder
         * 
         */
        public Builder parameters(MLTransformParametersArgs parameters) {
            return parameters(Output.of(parameters));
        }

        /**
         * @param roleArn The ARN of the IAM role associated with this ML Transform.
         * 
         * @return builder
         * 
         */
        public Builder roleArn(@Nullable Output roleArn) {
            $.roleArn = roleArn;
            return this;
        }

        /**
         * @param roleArn The ARN of the IAM role associated with this ML Transform.
         * 
         * @return builder
         * 
         */
        public Builder roleArn(String roleArn) {
            return roleArn(Output.of(roleArn));
        }

        /**
         * @param schemas The object that represents the schema that this transform accepts. see Schema.
         * 
         * @return builder
         * 
         */
        public Builder schemas(@Nullable Output> schemas) {
            $.schemas = schemas;
            return this;
        }

        /**
         * @param schemas The object that represents the schema that this transform accepts. see Schema.
         * 
         * @return builder
         * 
         */
        public Builder schemas(List schemas) {
            return schemas(Output.of(schemas));
        }

        /**
         * @param schemas The object that represents the schema that this transform accepts. see Schema.
         * 
         * @return builder
         * 
         */
        public Builder schemas(MLTransformSchemaArgs... schemas) {
            return schemas(List.of(schemas));
        }

        /**
         * @param tags Key-value map of resource tags. .If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
         * 
         * @return builder
         * 
         */
        public Builder tags(@Nullable Output> tags) {
            $.tags = tags;
            return this;
        }

        /**
         * @param tags Key-value map of resource tags. .If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
         * 
         * @return builder
         * 
         */
        public Builder tags(Map tags) {
            return tags(Output.of(tags));
        }

        /**
         * @param tagsAll A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
         * 
         * @return builder
         * 
         * @deprecated
         * Please use `tags` instead.
         * 
         */
        @Deprecated /* Please use `tags` instead. */
        public Builder tagsAll(@Nullable Output> tagsAll) {
            $.tagsAll = tagsAll;
            return this;
        }

        /**
         * @param tagsAll A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
         * 
         * @return builder
         * 
         * @deprecated
         * Please use `tags` instead.
         * 
         */
        @Deprecated /* Please use `tags` instead. */
        public Builder tagsAll(Map tagsAll) {
            return tagsAll(Output.of(tagsAll));
        }

        /**
         * @param timeout The ML Transform timeout in minutes. The default is 2880 minutes (48 hours).
         * 
         * @return builder
         * 
         */
        public Builder timeout(@Nullable Output timeout) {
            $.timeout = timeout;
            return this;
        }

        /**
         * @param timeout The ML Transform timeout in minutes. The default is 2880 minutes (48 hours).
         * 
         * @return builder
         * 
         */
        public Builder timeout(Integer timeout) {
            return timeout(Output.of(timeout));
        }

        /**
         * @param workerType The type of predefined worker that is allocated when an ML Transform runs. Accepts a value of `Standard`, `G.1X`, or `G.2X`. Required with `number_of_workers`.
         * 
         * @return builder
         * 
         */
        public Builder workerType(@Nullable Output workerType) {
            $.workerType = workerType;
            return this;
        }

        /**
         * @param workerType The type of predefined worker that is allocated when an ML Transform runs. Accepts a value of `Standard`, `G.1X`, or `G.2X`. Required with `number_of_workers`.
         * 
         * @return builder
         * 
         */
        public Builder workerType(String workerType) {
            return workerType(Output.of(workerType));
        }

        public MLTransformState build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy