All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.aws.ram.ResourceShareAccepterArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

The newest version!
// *** 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 com.pulumi.exceptions.MissingRequiredPropertyException;
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 shareArn;

    /**
     * @return The ARN of the resource share.
     * 
     */
    public Output 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 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() {
            if ($.shareArn == null) {
                throw new MissingRequiredPropertyException("ResourceShareAccepterArgs", "shareArn");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy