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

com.pulumi.aws.auditmanager.AssessmentReportArgs 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.auditmanager;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final AssessmentReportArgs Empty = new AssessmentReportArgs();

    /**
     * Unique identifier of the assessment to create the report from.
     * 
     * The following arguments are optional:
     * 
     */
    @Import(name="assessmentId", required=true)
    private Output assessmentId;

    /**
     * @return Unique identifier of the assessment to create the report from.
     * 
     * The following arguments are optional:
     * 
     */
    public Output assessmentId() {
        return this.assessmentId;
    }

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

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

    /**
     * Name of the assessment report.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return Name of the assessment report.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    private AssessmentReportArgs() {}

    private AssessmentReportArgs(AssessmentReportArgs $) {
        this.assessmentId = $.assessmentId;
        this.description = $.description;
        this.name = $.name;
    }

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

    public static final class Builder {
        private AssessmentReportArgs $;

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

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

        /**
         * @param assessmentId Unique identifier of the assessment to create the report from.
         * 
         * The following arguments are optional:
         * 
         * @return builder
         * 
         */
        public Builder assessmentId(Output assessmentId) {
            $.assessmentId = assessmentId;
            return this;
        }

        /**
         * @param assessmentId Unique identifier of the assessment to create the report from.
         * 
         * The following arguments are optional:
         * 
         * @return builder
         * 
         */
        public Builder assessmentId(String assessmentId) {
            return assessmentId(Output.of(assessmentId));
        }

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

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

        /**
         * @param name Name of the assessment report.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name Name of the assessment report.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        public AssessmentReportArgs build() {
            if ($.assessmentId == null) {
                throw new MissingRequiredPropertyException("AssessmentReportArgs", "assessmentId");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy