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

com.pulumi.aws.networkfirewall.outputs.GetFirewallPolicyFirewallPolicyStatelessCustomActionActionDefinition 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.aws.networkfirewall.outputs;

import com.pulumi.aws.networkfirewall.outputs.GetFirewallPolicyFirewallPolicyStatelessCustomActionActionDefinitionPublishMetricAction;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.util.List;
import java.util.Objects;

@CustomType
public final class GetFirewallPolicyFirewallPolicyStatelessCustomActionActionDefinition {
    private List publishMetricActions;

    private GetFirewallPolicyFirewallPolicyStatelessCustomActionActionDefinition() {}
    public List publishMetricActions() {
        return this.publishMetricActions;
    }

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

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

        @CustomType.Setter
        public Builder publishMetricActions(List publishMetricActions) {
            if (publishMetricActions == null) {
              throw new MissingRequiredPropertyException("GetFirewallPolicyFirewallPolicyStatelessCustomActionActionDefinition", "publishMetricActions");
            }
            this.publishMetricActions = publishMetricActions;
            return this;
        }
        public Builder publishMetricActions(GetFirewallPolicyFirewallPolicyStatelessCustomActionActionDefinitionPublishMetricAction... publishMetricActions) {
            return publishMetricActions(List.of(publishMetricActions));
        }
        public GetFirewallPolicyFirewallPolicyStatelessCustomActionActionDefinition build() {
            final var _resultValue = new GetFirewallPolicyFirewallPolicyStatelessCustomActionActionDefinition();
            _resultValue.publishMetricActions = publishMetricActions;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy