// *** 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.signer.inputs;

import com.pulumi.aws.signer.inputs.SigningJobDestinationS3Args;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.util.Objects;


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

    public static final SigningJobDestinationArgs Empty = new SigningJobDestinationArgs();

    /**
     * A configuration block describing the S3 Destination object: See S3 Destination below for details.
     * 
     */
    @Import(name="s3", required=true)
    private Output<SigningJobDestinationS3Args> s3;

    /**
     * @return A configuration block describing the S3 Destination object: See S3 Destination below for details.
     * 
     */
    public Output<SigningJobDestinationS3Args> s3() {
        return this.s3;
    }

    private SigningJobDestinationArgs() {}

    private SigningJobDestinationArgs(SigningJobDestinationArgs $) {
        this.s3 = $.s3;
    }

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

    public static final class Builder {
        private SigningJobDestinationArgs $;

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

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

        /**
         * @param s3 A configuration block describing the S3 Destination object: See S3 Destination below for details.
         * 
         * @return builder
         * 
         */
        public Builder s3(Output<SigningJobDestinationS3Args> s3) {
            $.s3 = s3;
            return this;
        }

        /**
         * @param s3 A configuration block describing the S3 Destination object: See S3 Destination below for details.
         * 
         * @return builder
         * 
         */
        public Builder s3(SigningJobDestinationS3Args s3) {
            return s3(Output.of(s3));
        }

        public SigningJobDestinationArgs build() {
            $.s3 = Objects.requireNonNull($.s3, "expected parameter 's3' to be non-null");
            return $;
        }
    }

}
