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

com.pulumi.aws.cloudwatch.inputs.DashboardState 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.72.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.aws.cloudwatch.inputs;

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


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

    public static final DashboardState Empty = new DashboardState();

    /**
     * The Amazon Resource Name (ARN) of the dashboard.
     * 
     */
    @Import(name="dashboardArn")
    private @Nullable Output dashboardArn;

    /**
     * @return The Amazon Resource Name (ARN) of the dashboard.
     * 
     */
    public Optional> dashboardArn() {
        return Optional.ofNullable(this.dashboardArn);
    }

    /**
     * The detailed information about the dashboard, including what widgets are included and their location on the dashboard. You can read more about the body structure in the [documentation](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/CloudWatch-Dashboard-Body-Structure.html).
     * 
     */
    @Import(name="dashboardBody")
    private @Nullable Output dashboardBody;

    /**
     * @return The detailed information about the dashboard, including what widgets are included and their location on the dashboard. You can read more about the body structure in the [documentation](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/CloudWatch-Dashboard-Body-Structure.html).
     * 
     */
    public Optional> dashboardBody() {
        return Optional.ofNullable(this.dashboardBody);
    }

    /**
     * The name of the dashboard.
     * 
     */
    @Import(name="dashboardName")
    private @Nullable Output dashboardName;

    /**
     * @return The name of the dashboard.
     * 
     */
    public Optional> dashboardName() {
        return Optional.ofNullable(this.dashboardName);
    }

    private DashboardState() {}

    private DashboardState(DashboardState $) {
        this.dashboardArn = $.dashboardArn;
        this.dashboardBody = $.dashboardBody;
        this.dashboardName = $.dashboardName;
    }

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

    public static final class Builder {
        private DashboardState $;

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

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

        /**
         * @param dashboardArn The Amazon Resource Name (ARN) of the dashboard.
         * 
         * @return builder
         * 
         */
        public Builder dashboardArn(@Nullable Output dashboardArn) {
            $.dashboardArn = dashboardArn;
            return this;
        }

        /**
         * @param dashboardArn The Amazon Resource Name (ARN) of the dashboard.
         * 
         * @return builder
         * 
         */
        public Builder dashboardArn(String dashboardArn) {
            return dashboardArn(Output.of(dashboardArn));
        }

        /**
         * @param dashboardBody The detailed information about the dashboard, including what widgets are included and their location on the dashboard. You can read more about the body structure in the [documentation](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/CloudWatch-Dashboard-Body-Structure.html).
         * 
         * @return builder
         * 
         */
        public Builder dashboardBody(@Nullable Output dashboardBody) {
            $.dashboardBody = dashboardBody;
            return this;
        }

        /**
         * @param dashboardBody The detailed information about the dashboard, including what widgets are included and their location on the dashboard. You can read more about the body structure in the [documentation](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/CloudWatch-Dashboard-Body-Structure.html).
         * 
         * @return builder
         * 
         */
        public Builder dashboardBody(String dashboardBody) {
            return dashboardBody(Output.of(dashboardBody));
        }

        /**
         * @param dashboardName The name of the dashboard.
         * 
         * @return builder
         * 
         */
        public Builder dashboardName(@Nullable Output dashboardName) {
            $.dashboardName = dashboardName;
            return this;
        }

        /**
         * @param dashboardName The name of the dashboard.
         * 
         * @return builder
         * 
         */
        public Builder dashboardName(String dashboardName) {
            return dashboardName(Output.of(dashboardName));
        }

        public DashboardState build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy