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

com.pulumi.aws.sfn.inputs.StateMachineTracingConfigurationArgs 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.sfn.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Boolean;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final StateMachineTracingConfigurationArgs Empty = new StateMachineTracingConfigurationArgs();

    /**
     * When set to `true`, AWS X-Ray tracing is enabled. Make sure the State Machine has the correct IAM policies for logging. See the [AWS Step Functions Developer Guide](https://docs.aws.amazon.com/step-functions/latest/dg/xray-iam.html) for details.
     * 
     */
    @Import(name="enabled")
    private @Nullable Output enabled;

    /**
     * @return When set to `true`, AWS X-Ray tracing is enabled. Make sure the State Machine has the correct IAM policies for logging. See the [AWS Step Functions Developer Guide](https://docs.aws.amazon.com/step-functions/latest/dg/xray-iam.html) for details.
     * 
     */
    public Optional> enabled() {
        return Optional.ofNullable(this.enabled);
    }

    private StateMachineTracingConfigurationArgs() {}

    private StateMachineTracingConfigurationArgs(StateMachineTracingConfigurationArgs $) {
        this.enabled = $.enabled;
    }

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

    public static final class Builder {
        private StateMachineTracingConfigurationArgs $;

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

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

        /**
         * @param enabled When set to `true`, AWS X-Ray tracing is enabled. Make sure the State Machine has the correct IAM policies for logging. See the [AWS Step Functions Developer Guide](https://docs.aws.amazon.com/step-functions/latest/dg/xray-iam.html) for details.
         * 
         * @return builder
         * 
         */
        public Builder enabled(@Nullable Output enabled) {
            $.enabled = enabled;
            return this;
        }

        /**
         * @param enabled When set to `true`, AWS X-Ray tracing is enabled. Make sure the State Machine has the correct IAM policies for logging. See the [AWS Step Functions Developer Guide](https://docs.aws.amazon.com/step-functions/latest/dg/xray-iam.html) for details.
         * 
         * @return builder
         * 
         */
        public Builder enabled(Boolean enabled) {
            return enabled(Output.of(enabled));
        }

        public StateMachineTracingConfigurationArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy