// *** 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.lambda.outputs;

import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class EventSourceMappingDestinationConfigOnFailure {
    /**
     * @return The Amazon Resource Name (ARN) of the destination resource.
     * 
     */
    private String destinationArn;

    private EventSourceMappingDestinationConfigOnFailure() {}
    /**
     * @return The Amazon Resource Name (ARN) of the destination resource.
     * 
     */
    public String destinationArn() {
        return this.destinationArn;
    }

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

    public static Builder builder(EventSourceMappingDestinationConfigOnFailure defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String destinationArn;
        public Builder() {}
        public Builder(EventSourceMappingDestinationConfigOnFailure defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.destinationArn = defaults.destinationArn;
        }

        @CustomType.Setter
        public Builder destinationArn(String destinationArn) {
            this.destinationArn = Objects.requireNonNull(destinationArn);
            return this;
        }
        public EventSourceMappingDestinationConfigOnFailure build() {
            final var o = new EventSourceMappingDestinationConfigOnFailure();
            o.destinationArn = destinationArn;
            return o;
        }
    }
}
