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

com.pulumi.aws.cur.inputs.GetReportDefinitionArgs Maven / Gradle / Ivy

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

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


public final class GetReportDefinitionArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetReportDefinitionArgs Empty = new GetReportDefinitionArgs();

    /**
     * Name of the report definition to match.
     * 
     */
    @Import(name="reportName", required=true)
    private Output reportName;

    /**
     * @return Name of the report definition to match.
     * 
     */
    public Output reportName() {
        return this.reportName;
    }

    /**
     * Map of key-value pairs assigned to the resource.
     * 
     */
    @Import(name="tags")
    private @Nullable Output> tags;

    /**
     * @return Map of key-value pairs assigned to the resource.
     * 
     */
    public Optional>> tags() {
        return Optional.ofNullable(this.tags);
    }

    private GetReportDefinitionArgs() {}

    private GetReportDefinitionArgs(GetReportDefinitionArgs $) {
        this.reportName = $.reportName;
        this.tags = $.tags;
    }

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

    public static final class Builder {
        private GetReportDefinitionArgs $;

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

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

        /**
         * @param reportName Name of the report definition to match.
         * 
         * @return builder
         * 
         */
        public Builder reportName(Output reportName) {
            $.reportName = reportName;
            return this;
        }

        /**
         * @param reportName Name of the report definition to match.
         * 
         * @return builder
         * 
         */
        public Builder reportName(String reportName) {
            return reportName(Output.of(reportName));
        }

        /**
         * @param tags Map of key-value pairs assigned to the resource.
         * 
         * @return builder
         * 
         */
        public Builder tags(@Nullable Output> tags) {
            $.tags = tags;
            return this;
        }

        /**
         * @param tags Map of key-value pairs assigned to the resource.
         * 
         * @return builder
         * 
         */
        public Builder tags(Map tags) {
            return tags(Output.of(tags));
        }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy