// *** 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.gcp.apigee;

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


public final class EndpointAttachmentArgs extends com.pulumi.resources.ResourceArgs {

    public static final EndpointAttachmentArgs Empty = new EndpointAttachmentArgs();

    /**
     * ID of the endpoint attachment.
     * 
     * ***
     * 
     */
    @Import(name="endpointAttachmentId", required=true)
    private Output<String> endpointAttachmentId;

    /**
     * @return ID of the endpoint attachment.
     * 
     * ***
     * 
     */
    public Output<String> endpointAttachmentId() {
        return this.endpointAttachmentId;
    }

    /**
     * Location of the endpoint attachment.
     * 
     */
    @Import(name="location", required=true)
    private Output<String> location;

    /**
     * @return Location of the endpoint attachment.
     * 
     */
    public Output<String> location() {
        return this.location;
    }

    /**
     * The Apigee Organization associated with the Apigee instance,
     * in the format `organizations/{{org_name}}`.
     * 
     */
    @Import(name="orgId", required=true)
    private Output<String> orgId;

    /**
     * @return The Apigee Organization associated with the Apigee instance,
     * in the format `organizations/{{org_name}}`.
     * 
     */
    public Output<String> orgId() {
        return this.orgId;
    }

    /**
     * Format: projects/*{@literal /}regions/*{@literal /}serviceAttachments/*
     * 
     */
    @Import(name="serviceAttachment", required=true)
    private Output<String> serviceAttachment;

    /**
     * @return Format: projects/*{@literal /}regions/*{@literal /}serviceAttachments/*
     * 
     */
    public Output<String> serviceAttachment() {
        return this.serviceAttachment;
    }

    private EndpointAttachmentArgs() {}

    private EndpointAttachmentArgs(EndpointAttachmentArgs $) {
        this.endpointAttachmentId = $.endpointAttachmentId;
        this.location = $.location;
        this.orgId = $.orgId;
        this.serviceAttachment = $.serviceAttachment;
    }

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

    public static final class Builder {
        private EndpointAttachmentArgs $;

        public Builder() {
            $ = new EndpointAttachmentArgs();
        }

        public Builder(EndpointAttachmentArgs defaults) {
            $ = new EndpointAttachmentArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param endpointAttachmentId ID of the endpoint attachment.
         * 
         * ***
         * 
         * @return builder
         * 
         */
        public Builder endpointAttachmentId(Output<String> endpointAttachmentId) {
            $.endpointAttachmentId = endpointAttachmentId;
            return this;
        }

        /**
         * @param endpointAttachmentId ID of the endpoint attachment.
         * 
         * ***
         * 
         * @return builder
         * 
         */
        public Builder endpointAttachmentId(String endpointAttachmentId) {
            return endpointAttachmentId(Output.of(endpointAttachmentId));
        }

        /**
         * @param location Location of the endpoint attachment.
         * 
         * @return builder
         * 
         */
        public Builder location(Output<String> location) {
            $.location = location;
            return this;
        }

        /**
         * @param location Location of the endpoint attachment.
         * 
         * @return builder
         * 
         */
        public Builder location(String location) {
            return location(Output.of(location));
        }

        /**
         * @param orgId The Apigee Organization associated with the Apigee instance,
         * in the format `organizations/{{org_name}}`.
         * 
         * @return builder
         * 
         */
        public Builder orgId(Output<String> orgId) {
            $.orgId = orgId;
            return this;
        }

        /**
         * @param orgId The Apigee Organization associated with the Apigee instance,
         * in the format `organizations/{{org_name}}`.
         * 
         * @return builder
         * 
         */
        public Builder orgId(String orgId) {
            return orgId(Output.of(orgId));
        }

        /**
         * @param serviceAttachment Format: projects/*{@literal /}regions/*{@literal /}serviceAttachments/*
         * 
         * @return builder
         * 
         */
        public Builder serviceAttachment(Output<String> serviceAttachment) {
            $.serviceAttachment = serviceAttachment;
            return this;
        }

        /**
         * @param serviceAttachment Format: projects/*{@literal /}regions/*{@literal /}serviceAttachments/*
         * 
         * @return builder
         * 
         */
        public Builder serviceAttachment(String serviceAttachment) {
            return serviceAttachment(Output.of(serviceAttachment));
        }

        public EndpointAttachmentArgs build() {
            $.endpointAttachmentId = Objects.requireNonNull($.endpointAttachmentId, "expected parameter 'endpointAttachmentId' to be non-null");
            $.location = Objects.requireNonNull($.location, "expected parameter 'location' to be non-null");
            $.orgId = Objects.requireNonNull($.orgId, "expected parameter 'orgId' to be non-null");
            $.serviceAttachment = Objects.requireNonNull($.serviceAttachment, "expected parameter 'serviceAttachment' to be non-null");
            return $;
        }
    }

}
