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

com.pulumi.aws.lambda.outputs.EventSourceMappingDestinationConfigOnFailure Maven / Gradle / Ivy

Go to download

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

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

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
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) {
            if (destinationArn == null) {
              throw new MissingRequiredPropertyException("EventSourceMappingDestinationConfigOnFailure", "destinationArn");
            }
            this.destinationArn = destinationArn;
            return this;
        }
        public EventSourceMappingDestinationConfigOnFailure build() {
            final var _resultValue = new EventSourceMappingDestinationConfigOnFailure();
            _resultValue.destinationArn = destinationArn;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy