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

com.pulumi.azurenative.awsconnector.inputs.ActionDefinitionArgs Maven / Gradle / Ivy

There is a newer version: 2.78.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.awsconnector.inputs;

import com.pulumi.azurenative.awsconnector.inputs.PublishMetricActionArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Definition of ActionDefinition
 * 
 */
public final class ActionDefinitionArgs extends com.pulumi.resources.ResourceArgs {

    public static final ActionDefinitionArgs Empty = new ActionDefinitionArgs();

    /**
     * Property publishMetricAction
     * 
     */
    @Import(name="publishMetricAction")
    private @Nullable Output publishMetricAction;

    /**
     * @return Property publishMetricAction
     * 
     */
    public Optional> publishMetricAction() {
        return Optional.ofNullable(this.publishMetricAction);
    }

    private ActionDefinitionArgs() {}

    private ActionDefinitionArgs(ActionDefinitionArgs $) {
        this.publishMetricAction = $.publishMetricAction;
    }

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

    public static final class Builder {
        private ActionDefinitionArgs $;

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

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

        /**
         * @param publishMetricAction Property publishMetricAction
         * 
         * @return builder
         * 
         */
        public Builder publishMetricAction(@Nullable Output publishMetricAction) {
            $.publishMetricAction = publishMetricAction;
            return this;
        }

        /**
         * @param publishMetricAction Property publishMetricAction
         * 
         * @return builder
         * 
         */
        public Builder publishMetricAction(PublishMetricActionArgs publishMetricAction) {
            return publishMetricAction(Output.of(publishMetricAction));
        }

        public ActionDefinitionArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy