// *** 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 GetAliasResult {
    /**
     * @return ARN identifying the Lambda function alias.
     * 
     */
    private String arn;
    /**
     * @return Description of alias.
     * 
     */
    private String description;
    private String functionName;
    /**
     * @return Lambda function version which the alias uses.
     * 
     */
    private String functionVersion;
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    private String id;
    /**
     * @return ARN to be used for invoking Lambda Function from API Gateway - to be used in aws_api_gateway_integration&#39;s `uri`.
     * 
     */
    private String invokeArn;
    private String name;

    private GetAliasResult() {}
    /**
     * @return ARN identifying the Lambda function alias.
     * 
     */
    public String arn() {
        return this.arn;
    }
    /**
     * @return Description of alias.
     * 
     */
    public String description() {
        return this.description;
    }
    public String functionName() {
        return this.functionName;
    }
    /**
     * @return Lambda function version which the alias uses.
     * 
     */
    public String functionVersion() {
        return this.functionVersion;
    }
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return ARN to be used for invoking Lambda Function from API Gateway - to be used in aws_api_gateway_integration&#39;s `uri`.
     * 
     */
    public String invokeArn() {
        return this.invokeArn;
    }
    public String name() {
        return this.name;
    }

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

    public static Builder builder(GetAliasResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String arn;
        private String description;
        private String functionName;
        private String functionVersion;
        private String id;
        private String invokeArn;
        private String name;
        public Builder() {}
        public Builder(GetAliasResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.arn = defaults.arn;
    	      this.description = defaults.description;
    	      this.functionName = defaults.functionName;
    	      this.functionVersion = defaults.functionVersion;
    	      this.id = defaults.id;
    	      this.invokeArn = defaults.invokeArn;
    	      this.name = defaults.name;
        }

        @CustomType.Setter
        public Builder arn(String arn) {
            this.arn = Objects.requireNonNull(arn);
            return this;
        }
        @CustomType.Setter
        public Builder description(String description) {
            this.description = Objects.requireNonNull(description);
            return this;
        }
        @CustomType.Setter
        public Builder functionName(String functionName) {
            this.functionName = Objects.requireNonNull(functionName);
            return this;
        }
        @CustomType.Setter
        public Builder functionVersion(String functionVersion) {
            this.functionVersion = Objects.requireNonNull(functionVersion);
            return this;
        }
        @CustomType.Setter
        public Builder id(String id) {
            this.id = Objects.requireNonNull(id);
            return this;
        }
        @CustomType.Setter
        public Builder invokeArn(String invokeArn) {
            this.invokeArn = Objects.requireNonNull(invokeArn);
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            this.name = Objects.requireNonNull(name);
            return this;
        }
        public GetAliasResult build() {
            final var o = new GetAliasResult();
            o.arn = arn;
            o.description = description;
            o.functionName = functionName;
            o.functionVersion = functionVersion;
            o.id = id;
            o.invokeArn = invokeArn;
            o.name = name;
            return o;
        }
    }
}
