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

com.pulumi.aws.amp.inputs.RuleGroupNamespaceState 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.amp.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 RuleGroupNamespaceState extends com.pulumi.resources.ResourceArgs {

    public static final RuleGroupNamespaceState Empty = new RuleGroupNamespaceState();

    /**
     * the rule group namespace data that you want to be applied. See more [in AWS Docs](https://docs.aws.amazon.com/prometheus/latest/userguide/AMP-Ruler.html).
     * 
     */
    @Import(name="data")
    private @Nullable Output data;

    /**
     * @return the rule group namespace data that you want to be applied. See more [in AWS Docs](https://docs.aws.amazon.com/prometheus/latest/userguide/AMP-Ruler.html).
     * 
     */
    public Optional> data() {
        return Optional.ofNullable(this.data);
    }

    /**
     * The name of the rule group namespace
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return The name of the rule group namespace
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * ID of the prometheus workspace the rule group namespace should be linked to
     * 
     */
    @Import(name="workspaceId")
    private @Nullable Output workspaceId;

    /**
     * @return ID of the prometheus workspace the rule group namespace should be linked to
     * 
     */
    public Optional> workspaceId() {
        return Optional.ofNullable(this.workspaceId);
    }

    private RuleGroupNamespaceState() {}

    private RuleGroupNamespaceState(RuleGroupNamespaceState $) {
        this.data = $.data;
        this.name = $.name;
        this.workspaceId = $.workspaceId;
    }

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

    public static final class Builder {
        private RuleGroupNamespaceState $;

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

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

        /**
         * @param data the rule group namespace data that you want to be applied. See more [in AWS Docs](https://docs.aws.amazon.com/prometheus/latest/userguide/AMP-Ruler.html).
         * 
         * @return builder
         * 
         */
        public Builder data(@Nullable Output data) {
            $.data = data;
            return this;
        }

        /**
         * @param data the rule group namespace data that you want to be applied. See more [in AWS Docs](https://docs.aws.amazon.com/prometheus/latest/userguide/AMP-Ruler.html).
         * 
         * @return builder
         * 
         */
        public Builder data(String data) {
            return data(Output.of(data));
        }

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

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

        /**
         * @param workspaceId ID of the prometheus workspace the rule group namespace should be linked to
         * 
         * @return builder
         * 
         */
        public Builder workspaceId(@Nullable Output workspaceId) {
            $.workspaceId = workspaceId;
            return this;
        }

        /**
         * @param workspaceId ID of the prometheus workspace the rule group namespace should be linked to
         * 
         * @return builder
         * 
         */
        public Builder workspaceId(String workspaceId) {
            return workspaceId(Output.of(workspaceId));
        }

        public RuleGroupNamespaceState build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy