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

com.pulumi.azurenative.insights.inputs.ItsmReceiverArgs Maven / Gradle / Ivy

There is a newer version: 2.82.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.azurenative.insights.inputs;

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


/**
 * An Itsm receiver.
 * 
 */
public final class ItsmReceiverArgs extends com.pulumi.resources.ResourceArgs {

    public static final ItsmReceiverArgs Empty = new ItsmReceiverArgs();

    /**
     * Unique identification of ITSM connection among multiple defined in above workspace.
     * 
     */
    @Import(name="connectionId", required=true)
    private Output connectionId;

    /**
     * @return Unique identification of ITSM connection among multiple defined in above workspace.
     * 
     */
    public Output connectionId() {
        return this.connectionId;
    }

    /**
     * The name of the Itsm receiver. Names must be unique across all receivers within an action group.
     * 
     */
    @Import(name="name", required=true)
    private Output name;

    /**
     * @return The name of the Itsm receiver. Names must be unique across all receivers within an action group.
     * 
     */
    public Output name() {
        return this.name;
    }

    /**
     * Region in which workspace resides. Supported values:'centralindia','japaneast','southeastasia','australiasoutheast','uksouth','westcentralus','canadacentral','eastus','westeurope'
     * 
     */
    @Import(name="region", required=true)
    private Output region;

    /**
     * @return Region in which workspace resides. Supported values:'centralindia','japaneast','southeastasia','australiasoutheast','uksouth','westcentralus','canadacentral','eastus','westeurope'
     * 
     */
    public Output region() {
        return this.region;
    }

    /**
     * JSON blob for the configurations of the ITSM action. CreateMultipleWorkItems option will be part of this blob as well.
     * 
     */
    @Import(name="ticketConfiguration", required=true)
    private Output ticketConfiguration;

    /**
     * @return JSON blob for the configurations of the ITSM action. CreateMultipleWorkItems option will be part of this blob as well.
     * 
     */
    public Output ticketConfiguration() {
        return this.ticketConfiguration;
    }

    /**
     * OMS LA instance identifier.
     * 
     */
    @Import(name="workspaceId", required=true)
    private Output workspaceId;

    /**
     * @return OMS LA instance identifier.
     * 
     */
    public Output workspaceId() {
        return this.workspaceId;
    }

    private ItsmReceiverArgs() {}

    private ItsmReceiverArgs(ItsmReceiverArgs $) {
        this.connectionId = $.connectionId;
        this.name = $.name;
        this.region = $.region;
        this.ticketConfiguration = $.ticketConfiguration;
        this.workspaceId = $.workspaceId;
    }

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

    public static final class Builder {
        private ItsmReceiverArgs $;

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

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

        /**
         * @param connectionId Unique identification of ITSM connection among multiple defined in above workspace.
         * 
         * @return builder
         * 
         */
        public Builder connectionId(Output connectionId) {
            $.connectionId = connectionId;
            return this;
        }

        /**
         * @param connectionId Unique identification of ITSM connection among multiple defined in above workspace.
         * 
         * @return builder
         * 
         */
        public Builder connectionId(String connectionId) {
            return connectionId(Output.of(connectionId));
        }

        /**
         * @param name The name of the Itsm receiver. Names must be unique across all receivers within an action group.
         * 
         * @return builder
         * 
         */
        public Builder name(Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name The name of the Itsm receiver. Names must be unique across all receivers within an action group.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param region Region in which workspace resides. Supported values:'centralindia','japaneast','southeastasia','australiasoutheast','uksouth','westcentralus','canadacentral','eastus','westeurope'
         * 
         * @return builder
         * 
         */
        public Builder region(Output region) {
            $.region = region;
            return this;
        }

        /**
         * @param region Region in which workspace resides. Supported values:'centralindia','japaneast','southeastasia','australiasoutheast','uksouth','westcentralus','canadacentral','eastus','westeurope'
         * 
         * @return builder
         * 
         */
        public Builder region(String region) {
            return region(Output.of(region));
        }

        /**
         * @param ticketConfiguration JSON blob for the configurations of the ITSM action. CreateMultipleWorkItems option will be part of this blob as well.
         * 
         * @return builder
         * 
         */
        public Builder ticketConfiguration(Output ticketConfiguration) {
            $.ticketConfiguration = ticketConfiguration;
            return this;
        }

        /**
         * @param ticketConfiguration JSON blob for the configurations of the ITSM action. CreateMultipleWorkItems option will be part of this blob as well.
         * 
         * @return builder
         * 
         */
        public Builder ticketConfiguration(String ticketConfiguration) {
            return ticketConfiguration(Output.of(ticketConfiguration));
        }

        /**
         * @param workspaceId OMS LA instance identifier.
         * 
         * @return builder
         * 
         */
        public Builder workspaceId(Output workspaceId) {
            $.workspaceId = workspaceId;
            return this;
        }

        /**
         * @param workspaceId OMS LA instance identifier.
         * 
         * @return builder
         * 
         */
        public Builder workspaceId(String workspaceId) {
            return workspaceId(Output.of(workspaceId));
        }

        public ItsmReceiverArgs build() {
            if ($.connectionId == null) {
                throw new MissingRequiredPropertyException("ItsmReceiverArgs", "connectionId");
            }
            if ($.name == null) {
                throw new MissingRequiredPropertyException("ItsmReceiverArgs", "name");
            }
            if ($.region == null) {
                throw new MissingRequiredPropertyException("ItsmReceiverArgs", "region");
            }
            if ($.ticketConfiguration == null) {
                throw new MissingRequiredPropertyException("ItsmReceiverArgs", "ticketConfiguration");
            }
            if ($.workspaceId == null) {
                throw new MissingRequiredPropertyException("ItsmReceiverArgs", "workspaceId");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy