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

com.pulumi.azurenative.insights.outputs.ItsmReceiverResponse 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.outputs;

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

@CustomType
public final class ItsmReceiverResponse {
    /**
     * @return Unique identification of ITSM connection among multiple defined in above workspace.
     * 
     */
    private String connectionId;
    /**
     * @return The name of the Itsm receiver. Names must be unique across all receivers within an action group.
     * 
     */
    private String name;
    /**
     * @return Region in which workspace resides. Supported values:'centralindia','japaneast','southeastasia','australiasoutheast','uksouth','westcentralus','canadacentral','eastus','westeurope'
     * 
     */
    private String region;
    /**
     * @return JSON blob for the configurations of the ITSM action. CreateMultipleWorkItems option will be part of this blob as well.
     * 
     */
    private String ticketConfiguration;
    /**
     * @return OMS LA instance identifier.
     * 
     */
    private String workspaceId;

    private ItsmReceiverResponse() {}
    /**
     * @return Unique identification of ITSM connection among multiple defined in above workspace.
     * 
     */
    public String connectionId() {
        return this.connectionId;
    }
    /**
     * @return The name of the Itsm receiver. Names must be unique across all receivers within an action group.
     * 
     */
    public String name() {
        return this.name;
    }
    /**
     * @return Region in which workspace resides. Supported values:'centralindia','japaneast','southeastasia','australiasoutheast','uksouth','westcentralus','canadacentral','eastus','westeurope'
     * 
     */
    public String region() {
        return this.region;
    }
    /**
     * @return JSON blob for the configurations of the ITSM action. CreateMultipleWorkItems option will be part of this blob as well.
     * 
     */
    public String ticketConfiguration() {
        return this.ticketConfiguration;
    }
    /**
     * @return OMS LA instance identifier.
     * 
     */
    public String workspaceId() {
        return this.workspaceId;
    }

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

    public static Builder builder(ItsmReceiverResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String connectionId;
        private String name;
        private String region;
        private String ticketConfiguration;
        private String workspaceId;
        public Builder() {}
        public Builder(ItsmReceiverResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.connectionId = defaults.connectionId;
    	      this.name = defaults.name;
    	      this.region = defaults.region;
    	      this.ticketConfiguration = defaults.ticketConfiguration;
    	      this.workspaceId = defaults.workspaceId;
        }

        @CustomType.Setter
        public Builder connectionId(String connectionId) {
            if (connectionId == null) {
              throw new MissingRequiredPropertyException("ItsmReceiverResponse", "connectionId");
            }
            this.connectionId = connectionId;
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            if (name == null) {
              throw new MissingRequiredPropertyException("ItsmReceiverResponse", "name");
            }
            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder region(String region) {
            if (region == null) {
              throw new MissingRequiredPropertyException("ItsmReceiverResponse", "region");
            }
            this.region = region;
            return this;
        }
        @CustomType.Setter
        public Builder ticketConfiguration(String ticketConfiguration) {
            if (ticketConfiguration == null) {
              throw new MissingRequiredPropertyException("ItsmReceiverResponse", "ticketConfiguration");
            }
            this.ticketConfiguration = ticketConfiguration;
            return this;
        }
        @CustomType.Setter
        public Builder workspaceId(String workspaceId) {
            if (workspaceId == null) {
              throw new MissingRequiredPropertyException("ItsmReceiverResponse", "workspaceId");
            }
            this.workspaceId = workspaceId;
            return this;
        }
        public ItsmReceiverResponse build() {
            final var _resultValue = new ItsmReceiverResponse();
            _resultValue.connectionId = connectionId;
            _resultValue.name = name;
            _resultValue.region = region;
            _resultValue.ticketConfiguration = ticketConfiguration;
            _resultValue.workspaceId = workspaceId;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy