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

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

@CustomType
public final class GetExportResult {
    private String apiId;
    /**
     * @return ID of the API.
     * 
     */
    private String body;
    private @Nullable String exportVersion;
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    private String id;
    private @Nullable Boolean includeExtensions;
    private String outputType;
    private String specification;
    private @Nullable String stageName;

    private GetExportResult() {}
    public String apiId() {
        return this.apiId;
    }
    /**
     * @return ID of the API.
     * 
     */
    public String body() {
        return this.body;
    }
    public Optional<String> exportVersion() {
        return Optional.ofNullable(this.exportVersion);
    }
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    public String id() {
        return this.id;
    }
    public Optional<Boolean> includeExtensions() {
        return Optional.ofNullable(this.includeExtensions);
    }
    public String outputType() {
        return this.outputType;
    }
    public String specification() {
        return this.specification;
    }
    public Optional<String> stageName() {
        return Optional.ofNullable(this.stageName);
    }

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

    public static Builder builder(GetExportResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String apiId;
        private String body;
        private @Nullable String exportVersion;
        private String id;
        private @Nullable Boolean includeExtensions;
        private String outputType;
        private String specification;
        private @Nullable String stageName;
        public Builder() {}
        public Builder(GetExportResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.apiId = defaults.apiId;
    	      this.body = defaults.body;
    	      this.exportVersion = defaults.exportVersion;
    	      this.id = defaults.id;
    	      this.includeExtensions = defaults.includeExtensions;
    	      this.outputType = defaults.outputType;
    	      this.specification = defaults.specification;
    	      this.stageName = defaults.stageName;
        }

        @CustomType.Setter
        public Builder apiId(String apiId) {
            this.apiId = Objects.requireNonNull(apiId);
            return this;
        }
        @CustomType.Setter
        public Builder body(String body) {
            this.body = Objects.requireNonNull(body);
            return this;
        }
        @CustomType.Setter
        public Builder exportVersion(@Nullable String exportVersion) {
            this.exportVersion = exportVersion;
            return this;
        }
        @CustomType.Setter
        public Builder id(String id) {
            this.id = Objects.requireNonNull(id);
            return this;
        }
        @CustomType.Setter
        public Builder includeExtensions(@Nullable Boolean includeExtensions) {
            this.includeExtensions = includeExtensions;
            return this;
        }
        @CustomType.Setter
        public Builder outputType(String outputType) {
            this.outputType = Objects.requireNonNull(outputType);
            return this;
        }
        @CustomType.Setter
        public Builder specification(String specification) {
            this.specification = Objects.requireNonNull(specification);
            return this;
        }
        @CustomType.Setter
        public Builder stageName(@Nullable String stageName) {
            this.stageName = stageName;
            return this;
        }
        public GetExportResult build() {
            final var o = new GetExportResult();
            o.apiId = apiId;
            o.body = body;
            o.exportVersion = exportVersion;
            o.id = id;
            o.includeExtensions = includeExtensions;
            o.outputType = outputType;
            o.specification = specification;
            o.stageName = stageName;
            return o;
        }
    }
}
