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

com.pulumi.azurenative.alertsmanagement.outputs.ActionGroupsInformationResponse Maven / Gradle / Ivy

// *** 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.alertsmanagement.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class ActionGroupsInformationResponse {
    /**
     * @return An optional custom email subject to use in email notifications.
     * 
     */
    private @Nullable String customEmailSubject;
    /**
     * @return An optional custom web-hook payload to use in web-hook notifications.
     * 
     */
    private @Nullable String customWebhookPayload;
    /**
     * @return The Action Group resource IDs.
     * 
     */
    private List groupIds;

    private ActionGroupsInformationResponse() {}
    /**
     * @return An optional custom email subject to use in email notifications.
     * 
     */
    public Optional customEmailSubject() {
        return Optional.ofNullable(this.customEmailSubject);
    }
    /**
     * @return An optional custom web-hook payload to use in web-hook notifications.
     * 
     */
    public Optional customWebhookPayload() {
        return Optional.ofNullable(this.customWebhookPayload);
    }
    /**
     * @return The Action Group resource IDs.
     * 
     */
    public List groupIds() {
        return this.groupIds;
    }

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

    public static Builder builder(ActionGroupsInformationResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String customEmailSubject;
        private @Nullable String customWebhookPayload;
        private List groupIds;
        public Builder() {}
        public Builder(ActionGroupsInformationResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.customEmailSubject = defaults.customEmailSubject;
    	      this.customWebhookPayload = defaults.customWebhookPayload;
    	      this.groupIds = defaults.groupIds;
        }

        @CustomType.Setter
        public Builder customEmailSubject(@Nullable String customEmailSubject) {

            this.customEmailSubject = customEmailSubject;
            return this;
        }
        @CustomType.Setter
        public Builder customWebhookPayload(@Nullable String customWebhookPayload) {

            this.customWebhookPayload = customWebhookPayload;
            return this;
        }
        @CustomType.Setter
        public Builder groupIds(List groupIds) {
            if (groupIds == null) {
              throw new MissingRequiredPropertyException("ActionGroupsInformationResponse", "groupIds");
            }
            this.groupIds = groupIds;
            return this;
        }
        public Builder groupIds(String... groupIds) {
            return groupIds(List.of(groupIds));
        }
        public ActionGroupsInformationResponse build() {
            final var _resultValue = new ActionGroupsInformationResponse();
            _resultValue.customEmailSubject = customEmailSubject;
            _resultValue.customWebhookPayload = customWebhookPayload;
            _resultValue.groupIds = groupIds;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy