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

com.pulumi.azurenative.awsconnector.inputs.GranteeArgs Maven / Gradle / Ivy

There is a newer version: 2.82.0
Show 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.azurenative.awsconnector.inputs;

import com.pulumi.azurenative.awsconnector.inputs.TypeEnumValueArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Definition of Grantee
 * 
 */
public final class GranteeArgs extends com.pulumi.resources.ResourceArgs {

    public static final GranteeArgs Empty = new GranteeArgs();

    /**
     * <p>Screen name of the grantee.</p>
     * 
     */
    @Import(name="displayName")
    private @Nullable Output displayName;

    /**
     * @return <p>Screen name of the grantee.</p>
     * 
     */
    public Optional> displayName() {
        return Optional.ofNullable(this.displayName);
    }

    /**
     * <p>Email address of the grantee.</p> <note> <p>Using email addresses to specify a grantee is only supported in the following Amazon Web Services Regions: </p> <ul> <li> <p>US East (N. Virginia)</p> </li> <li> <p>US West (N. California)</p> </li> <li> <p> US West (Oregon)</p> </li> <li> <p> Asia Pacific (Singapore)</p> </li> <li> <p>Asia Pacific (Sydney)</p> </li> <li> <p>Asia Pacific (Tokyo)</p> </li> <li> <p>Europe (Ireland)</p> </li> <li> <p>South America (São Paulo)</p> </li> </ul> <p>For a list of all the Amazon S3 supported Regions and endpoints, see <a href='https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region'>Regions and Endpoints</a> in the Amazon Web Services General Reference.</p> </note>
     * 
     */
    @Import(name="emailAddress")
    private @Nullable Output emailAddress;

    /**
     * @return <p>Email address of the grantee.</p> <note> <p>Using email addresses to specify a grantee is only supported in the following Amazon Web Services Regions: </p> <ul> <li> <p>US East (N. Virginia)</p> </li> <li> <p>US West (N. California)</p> </li> <li> <p> US West (Oregon)</p> </li> <li> <p> Asia Pacific (Singapore)</p> </li> <li> <p>Asia Pacific (Sydney)</p> </li> <li> <p>Asia Pacific (Tokyo)</p> </li> <li> <p>Europe (Ireland)</p> </li> <li> <p>South America (São Paulo)</p> </li> </ul> <p>For a list of all the Amazon S3 supported Regions and endpoints, see <a href='https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region'>Regions and Endpoints</a> in the Amazon Web Services General Reference.</p> </note>
     * 
     */
    public Optional> emailAddress() {
        return Optional.ofNullable(this.emailAddress);
    }

    /**
     * <p>The canonical user ID of the grantee.</p>
     * 
     */
    @Import(name="id")
    private @Nullable Output id;

    /**
     * @return <p>The canonical user ID of the grantee.</p>
     * 
     */
    public Optional> id() {
        return Optional.ofNullable(this.id);
    }

    /**
     * <p>Type of grantee</p>
     * 
     */
    @Import(name="type")
    private @Nullable Output type;

    /**
     * @return <p>Type of grantee</p>
     * 
     */
    public Optional> type() {
        return Optional.ofNullable(this.type);
    }

    /**
     * <p>URI of the grantee group.</p>
     * 
     */
    @Import(name="uri")
    private @Nullable Output uri;

    /**
     * @return <p>URI of the grantee group.</p>
     * 
     */
    public Optional> uri() {
        return Optional.ofNullable(this.uri);
    }

    private GranteeArgs() {}

    private GranteeArgs(GranteeArgs $) {
        this.displayName = $.displayName;
        this.emailAddress = $.emailAddress;
        this.id = $.id;
        this.type = $.type;
        this.uri = $.uri;
    }

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

    public static final class Builder {
        private GranteeArgs $;

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

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

        /**
         * @param displayName <p>Screen name of the grantee.</p>
         * 
         * @return builder
         * 
         */
        public Builder displayName(@Nullable Output displayName) {
            $.displayName = displayName;
            return this;
        }

        /**
         * @param displayName <p>Screen name of the grantee.</p>
         * 
         * @return builder
         * 
         */
        public Builder displayName(String displayName) {
            return displayName(Output.of(displayName));
        }

        /**
         * @param emailAddress <p>Email address of the grantee.</p> <note> <p>Using email addresses to specify a grantee is only supported in the following Amazon Web Services Regions: </p> <ul> <li> <p>US East (N. Virginia)</p> </li> <li> <p>US West (N. California)</p> </li> <li> <p> US West (Oregon)</p> </li> <li> <p> Asia Pacific (Singapore)</p> </li> <li> <p>Asia Pacific (Sydney)</p> </li> <li> <p>Asia Pacific (Tokyo)</p> </li> <li> <p>Europe (Ireland)</p> </li> <li> <p>South America (São Paulo)</p> </li> </ul> <p>For a list of all the Amazon S3 supported Regions and endpoints, see <a href='https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region'>Regions and Endpoints</a> in the Amazon Web Services General Reference.</p> </note>
         * 
         * @return builder
         * 
         */
        public Builder emailAddress(@Nullable Output emailAddress) {
            $.emailAddress = emailAddress;
            return this;
        }

        /**
         * @param emailAddress <p>Email address of the grantee.</p> <note> <p>Using email addresses to specify a grantee is only supported in the following Amazon Web Services Regions: </p> <ul> <li> <p>US East (N. Virginia)</p> </li> <li> <p>US West (N. California)</p> </li> <li> <p> US West (Oregon)</p> </li> <li> <p> Asia Pacific (Singapore)</p> </li> <li> <p>Asia Pacific (Sydney)</p> </li> <li> <p>Asia Pacific (Tokyo)</p> </li> <li> <p>Europe (Ireland)</p> </li> <li> <p>South America (São Paulo)</p> </li> </ul> <p>For a list of all the Amazon S3 supported Regions and endpoints, see <a href='https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region'>Regions and Endpoints</a> in the Amazon Web Services General Reference.</p> </note>
         * 
         * @return builder
         * 
         */
        public Builder emailAddress(String emailAddress) {
            return emailAddress(Output.of(emailAddress));
        }

        /**
         * @param id <p>The canonical user ID of the grantee.</p>
         * 
         * @return builder
         * 
         */
        public Builder id(@Nullable Output id) {
            $.id = id;
            return this;
        }

        /**
         * @param id <p>The canonical user ID of the grantee.</p>
         * 
         * @return builder
         * 
         */
        public Builder id(String id) {
            return id(Output.of(id));
        }

        /**
         * @param type <p>Type of grantee</p>
         * 
         * @return builder
         * 
         */
        public Builder type(@Nullable Output type) {
            $.type = type;
            return this;
        }

        /**
         * @param type <p>Type of grantee</p>
         * 
         * @return builder
         * 
         */
        public Builder type(TypeEnumValueArgs type) {
            return type(Output.of(type));
        }

        /**
         * @param uri <p>URI of the grantee group.</p>
         * 
         * @return builder
         * 
         */
        public Builder uri(@Nullable Output uri) {
            $.uri = uri;
            return this;
        }

        /**
         * @param uri <p>URI of the grantee group.</p>
         * 
         * @return builder
         * 
         */
        public Builder uri(String uri) {
            return uri(Output.of(uri));
        }

        public GranteeArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy