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

com.pulumi.alicloud.sls.inputs.AlertConfigurationTemplateConfigurationArgs Maven / Gradle / Ivy

There is a newer version: 3.63.0-alpha.1727424957
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.alicloud.sls.inputs;

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


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

    public static final AlertConfigurationTemplateConfigurationArgs Empty = new AlertConfigurationTemplateConfigurationArgs();

    /**
     * Template Annotations.
     * 
     */
    @Import(name="annotations")
    private @Nullable Output> annotations;

    /**
     * @return Template Annotations.
     * 
     */
    public Optional>> annotations() {
        return Optional.ofNullable(this.annotations);
    }

    /**
     * Template Language.
     * 
     */
    @Import(name="lang")
    private @Nullable Output lang;

    /**
     * @return Template Language.
     * 
     */
    public Optional> lang() {
        return Optional.ofNullable(this.lang);
    }

    /**
     * Template ID.
     * 
     */
    @Import(name="templateId")
    private @Nullable Output templateId;

    /**
     * @return Template ID.
     * 
     */
    public Optional> templateId() {
        return Optional.ofNullable(this.templateId);
    }

    /**
     * Template Variables.
     * 
     */
    @Import(name="tokens")
    private @Nullable Output> tokens;

    /**
     * @return Template Variables.
     * 
     */
    public Optional>> tokens() {
        return Optional.ofNullable(this.tokens);
    }

    @Import(name="type")
    private @Nullable Output type;

    public Optional> type() {
        return Optional.ofNullable(this.type);
    }

    /**
     * Template Version.
     * 
     */
    @Import(name="version")
    private @Nullable Output version;

    /**
     * @return Template Version.
     * 
     */
    public Optional> version() {
        return Optional.ofNullable(this.version);
    }

    private AlertConfigurationTemplateConfigurationArgs() {}

    private AlertConfigurationTemplateConfigurationArgs(AlertConfigurationTemplateConfigurationArgs $) {
        this.annotations = $.annotations;
        this.lang = $.lang;
        this.templateId = $.templateId;
        this.tokens = $.tokens;
        this.type = $.type;
        this.version = $.version;
    }

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

    public static final class Builder {
        private AlertConfigurationTemplateConfigurationArgs $;

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

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

        /**
         * @param annotations Template Annotations.
         * 
         * @return builder
         * 
         */
        public Builder annotations(@Nullable Output> annotations) {
            $.annotations = annotations;
            return this;
        }

        /**
         * @param annotations Template Annotations.
         * 
         * @return builder
         * 
         */
        public Builder annotations(Map annotations) {
            return annotations(Output.of(annotations));
        }

        /**
         * @param lang Template Language.
         * 
         * @return builder
         * 
         */
        public Builder lang(@Nullable Output lang) {
            $.lang = lang;
            return this;
        }

        /**
         * @param lang Template Language.
         * 
         * @return builder
         * 
         */
        public Builder lang(String lang) {
            return lang(Output.of(lang));
        }

        /**
         * @param templateId Template ID.
         * 
         * @return builder
         * 
         */
        public Builder templateId(@Nullable Output templateId) {
            $.templateId = templateId;
            return this;
        }

        /**
         * @param templateId Template ID.
         * 
         * @return builder
         * 
         */
        public Builder templateId(String templateId) {
            return templateId(Output.of(templateId));
        }

        /**
         * @param tokens Template Variables.
         * 
         * @return builder
         * 
         */
        public Builder tokens(@Nullable Output> tokens) {
            $.tokens = tokens;
            return this;
        }

        /**
         * @param tokens Template Variables.
         * 
         * @return builder
         * 
         */
        public Builder tokens(Map tokens) {
            return tokens(Output.of(tokens));
        }

        public Builder type(@Nullable Output type) {
            $.type = type;
            return this;
        }

        public Builder type(String type) {
            return type(Output.of(type));
        }

        /**
         * @param version Template Version.
         * 
         * @return builder
         * 
         */
        public Builder version(@Nullable Output version) {
            $.version = version;
            return this;
        }

        /**
         * @param version Template Version.
         * 
         * @return builder
         * 
         */
        public Builder version(String version) {
            return version(Output.of(version));
        }

        public AlertConfigurationTemplateConfigurationArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy