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

com.pulumi.aws.ssm.inputs.MaintenanceWindowTaskTaskInvocationParametersArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

There is a newer version: 6.66.3
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.aws.ssm.inputs;

import com.pulumi.aws.ssm.inputs.MaintenanceWindowTaskTaskInvocationParametersAutomationParametersArgs;
import com.pulumi.aws.ssm.inputs.MaintenanceWindowTaskTaskInvocationParametersLambdaParametersArgs;
import com.pulumi.aws.ssm.inputs.MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersArgs;
import com.pulumi.aws.ssm.inputs.MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class MaintenanceWindowTaskTaskInvocationParametersArgs extends com.pulumi.resources.ResourceArgs {

    public static final MaintenanceWindowTaskTaskInvocationParametersArgs Empty = new MaintenanceWindowTaskTaskInvocationParametersArgs();

    /**
     * The parameters for an AUTOMATION task type. Documented below.
     * 
     */
    @Import(name="automationParameters")
    private @Nullable Output automationParameters;

    /**
     * @return The parameters for an AUTOMATION task type. Documented below.
     * 
     */
    public Optional> automationParameters() {
        return Optional.ofNullable(this.automationParameters);
    }

    /**
     * The parameters for a LAMBDA task type. Documented below.
     * 
     */
    @Import(name="lambdaParameters")
    private @Nullable Output lambdaParameters;

    /**
     * @return The parameters for a LAMBDA task type. Documented below.
     * 
     */
    public Optional> lambdaParameters() {
        return Optional.ofNullable(this.lambdaParameters);
    }

    /**
     * The parameters for a RUN_COMMAND task type. Documented below.
     * 
     */
    @Import(name="runCommandParameters")
    private @Nullable Output runCommandParameters;

    /**
     * @return The parameters for a RUN_COMMAND task type. Documented below.
     * 
     */
    public Optional> runCommandParameters() {
        return Optional.ofNullable(this.runCommandParameters);
    }

    /**
     * The parameters for a STEP_FUNCTIONS task type. Documented below.
     * 
     */
    @Import(name="stepFunctionsParameters")
    private @Nullable Output stepFunctionsParameters;

    /**
     * @return The parameters for a STEP_FUNCTIONS task type. Documented below.
     * 
     */
    public Optional> stepFunctionsParameters() {
        return Optional.ofNullable(this.stepFunctionsParameters);
    }

    private MaintenanceWindowTaskTaskInvocationParametersArgs() {}

    private MaintenanceWindowTaskTaskInvocationParametersArgs(MaintenanceWindowTaskTaskInvocationParametersArgs $) {
        this.automationParameters = $.automationParameters;
        this.lambdaParameters = $.lambdaParameters;
        this.runCommandParameters = $.runCommandParameters;
        this.stepFunctionsParameters = $.stepFunctionsParameters;
    }

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

    public static final class Builder {
        private MaintenanceWindowTaskTaskInvocationParametersArgs $;

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

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

        /**
         * @param automationParameters The parameters for an AUTOMATION task type. Documented below.
         * 
         * @return builder
         * 
         */
        public Builder automationParameters(@Nullable Output automationParameters) {
            $.automationParameters = automationParameters;
            return this;
        }

        /**
         * @param automationParameters The parameters for an AUTOMATION task type. Documented below.
         * 
         * @return builder
         * 
         */
        public Builder automationParameters(MaintenanceWindowTaskTaskInvocationParametersAutomationParametersArgs automationParameters) {
            return automationParameters(Output.of(automationParameters));
        }

        /**
         * @param lambdaParameters The parameters for a LAMBDA task type. Documented below.
         * 
         * @return builder
         * 
         */
        public Builder lambdaParameters(@Nullable Output lambdaParameters) {
            $.lambdaParameters = lambdaParameters;
            return this;
        }

        /**
         * @param lambdaParameters The parameters for a LAMBDA task type. Documented below.
         * 
         * @return builder
         * 
         */
        public Builder lambdaParameters(MaintenanceWindowTaskTaskInvocationParametersLambdaParametersArgs lambdaParameters) {
            return lambdaParameters(Output.of(lambdaParameters));
        }

        /**
         * @param runCommandParameters The parameters for a RUN_COMMAND task type. Documented below.
         * 
         * @return builder
         * 
         */
        public Builder runCommandParameters(@Nullable Output runCommandParameters) {
            $.runCommandParameters = runCommandParameters;
            return this;
        }

        /**
         * @param runCommandParameters The parameters for a RUN_COMMAND task type. Documented below.
         * 
         * @return builder
         * 
         */
        public Builder runCommandParameters(MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersArgs runCommandParameters) {
            return runCommandParameters(Output.of(runCommandParameters));
        }

        /**
         * @param stepFunctionsParameters The parameters for a STEP_FUNCTIONS task type. Documented below.
         * 
         * @return builder
         * 
         */
        public Builder stepFunctionsParameters(@Nullable Output stepFunctionsParameters) {
            $.stepFunctionsParameters = stepFunctionsParameters;
            return this;
        }

        /**
         * @param stepFunctionsParameters The parameters for a STEP_FUNCTIONS task type. Documented below.
         * 
         * @return builder
         * 
         */
        public Builder stepFunctionsParameters(MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersArgs stepFunctionsParameters) {
            return stepFunctionsParameters(Output.of(stepFunctionsParameters));
        }

        public MaintenanceWindowTaskTaskInvocationParametersArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy