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

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

import com.pulumi.azurenative.insights.outputs.ActionGroupResponse;
import com.pulumi.core.annotations.CustomType;
import java.util.List;
import java.util.Objects;
import javax.annotation.Nullable;

@CustomType
public final class ActionListResponse {
    /**
     * @return The list of the Action Groups.
     * 
     */
    private @Nullable List actionGroups;

    private ActionListResponse() {}
    /**
     * @return The list of the Action Groups.
     * 
     */
    public List actionGroups() {
        return this.actionGroups == null ? List.of() : this.actionGroups;
    }

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

    public static Builder builder(ActionListResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable List actionGroups;
        public Builder() {}
        public Builder(ActionListResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.actionGroups = defaults.actionGroups;
        }

        @CustomType.Setter
        public Builder actionGroups(@Nullable List actionGroups) {

            this.actionGroups = actionGroups;
            return this;
        }
        public Builder actionGroups(ActionGroupResponse... actionGroups) {
            return actionGroups(List.of(actionGroups));
        }
        public ActionListResponse build() {
            final var _resultValue = new ActionListResponse();
            _resultValue.actionGroups = actionGroups;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy