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

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


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

    public static final ResourceShareAccepterArgs Empty = new ResourceShareAccepterArgs();

    /**
     * The ARN of the resource share.
     * 
     */
    @Import(name="shareArn", required=true)
    private Output<String> shareArn;

    /**
     * @return The ARN of the resource share.
     * 
     */
    public Output<String> shareArn() {
        return this.shareArn;
    }

    private ResourceShareAccepterArgs() {}

    private ResourceShareAccepterArgs(ResourceShareAccepterArgs $) {
        this.shareArn = $.shareArn;
    }

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

    public static final class Builder {
        private ResourceShareAccepterArgs $;

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

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

        /**
         * @param shareArn The ARN of the resource share.
         * 
         * @return builder
         * 
         */
        public Builder shareArn(Output<String> shareArn) {
            $.shareArn = shareArn;
            return this;
        }

        /**
         * @param shareArn The ARN of the resource share.
         * 
         * @return builder
         * 
         */
        public Builder shareArn(String shareArn) {
            return shareArn(Output.of(shareArn));
        }

        public ResourceShareAccepterArgs build() {
            $.shareArn = Objects.requireNonNull($.shareArn, "expected parameter 'shareArn' to be non-null");
            return $;
        }
    }

}
