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

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

@CustomType
public final class ExperienceEndpoint {
    /**
     * @return The endpoint of your Amazon Kendra experience.
     * 
     */
    private @Nullable String endpoint;
    /**
     * @return The type of endpoint for your Amazon Kendra experience.
     * 
     */
    private @Nullable String endpointType;

    private ExperienceEndpoint() {}
    /**
     * @return The endpoint of your Amazon Kendra experience.
     * 
     */
    public Optional<String> endpoint() {
        return Optional.ofNullable(this.endpoint);
    }
    /**
     * @return The type of endpoint for your Amazon Kendra experience.
     * 
     */
    public Optional<String> endpointType() {
        return Optional.ofNullable(this.endpointType);
    }

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

    public static Builder builder(ExperienceEndpoint defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String endpoint;
        private @Nullable String endpointType;
        public Builder() {}
        public Builder(ExperienceEndpoint defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.endpoint = defaults.endpoint;
    	      this.endpointType = defaults.endpointType;
        }

        @CustomType.Setter
        public Builder endpoint(@Nullable String endpoint) {
            this.endpoint = endpoint;
            return this;
        }
        @CustomType.Setter
        public Builder endpointType(@Nullable String endpointType) {
            this.endpointType = endpointType;
            return this;
        }
        public ExperienceEndpoint build() {
            final var o = new ExperienceEndpoint();
            o.endpoint = endpoint;
            o.endpointType = endpointType;
            return o;
        }
    }
}
