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

com.pulumi.azurenative.awsconnector.inputs.LastRunErrorStatusArgs Maven / Gradle / Ivy

There is a newer version: 2.82.0
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.azurenative.awsconnector.inputs;

import com.pulumi.azurenative.awsconnector.inputs.LastRunErrorStatusCodeEnumValueArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Definition of LastRunErrorStatus
 * 
 */
public final class LastRunErrorStatusArgs extends com.pulumi.resources.ResourceArgs {

    public static final LastRunErrorStatusArgs Empty = new LastRunErrorStatusArgs();

    /**
     * <p>Specifies whether any account- or bucket-level access errors occurred when the job ran. For a recurring job, this value indicates the error status of the job's most recent run. Possible values are:</p> <ul><li><p>ERROR - One or more errors occurred. Amazon Macie didn't process all the data specified for the job.</p></li> <li><p>NONE - No errors occurred. Macie processed all the data specified for the job.</p></li></ul>
     * 
     */
    @Import(name="code")
    private @Nullable Output code;

    /**
     * @return <p>Specifies whether any account- or bucket-level access errors occurred when the job ran. For a recurring job, this value indicates the error status of the job's most recent run. Possible values are:</p> <ul><li><p>ERROR - One or more errors occurred. Amazon Macie didn't process all the data specified for the job.</p></li> <li><p>NONE - No errors occurred. Macie processed all the data specified for the job.</p></li></ul>
     * 
     */
    public Optional> code() {
        return Optional.ofNullable(this.code);
    }

    private LastRunErrorStatusArgs() {}

    private LastRunErrorStatusArgs(LastRunErrorStatusArgs $) {
        this.code = $.code;
    }

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

    public static final class Builder {
        private LastRunErrorStatusArgs $;

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

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

        /**
         * @param code <p>Specifies whether any account- or bucket-level access errors occurred when the job ran. For a recurring job, this value indicates the error status of the job's most recent run. Possible values are:</p> <ul><li><p>ERROR - One or more errors occurred. Amazon Macie didn't process all the data specified for the job.</p></li> <li><p>NONE - No errors occurred. Macie processed all the data specified for the job.</p></li></ul>
         * 
         * @return builder
         * 
         */
        public Builder code(@Nullable Output code) {
            $.code = code;
            return this;
        }

        /**
         * @param code <p>Specifies whether any account- or bucket-level access errors occurred when the job ran. For a recurring job, this value indicates the error status of the job's most recent run. Possible values are:</p> <ul><li><p>ERROR - One or more errors occurred. Amazon Macie didn't process all the data specified for the job.</p></li> <li><p>NONE - No errors occurred. Macie processed all the data specified for the job.</p></li></ul>
         * 
         * @return builder
         * 
         */
        public Builder code(LastRunErrorStatusCodeEnumValueArgs code) {
            return code(Output.of(code));
        }

        public LastRunErrorStatusArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy