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

com.pulumi.aws.elastictranscoder.inputs.PipelineThumbnailConfigPermissionArgs Maven / Gradle / Ivy

Go to download

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

There is a newer version: 6.60.0-alpha.1731982519
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.aws.elastictranscoder.inputs;

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


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

    public static final PipelineThumbnailConfigPermissionArgs Empty = new PipelineThumbnailConfigPermissionArgs();

    /**
     * The permission that you want to give to the AWS user that you specified in `thumbnail_config_permissions.grantee`. Valid values are `Read`, `ReadAcp`, `WriteAcp` or `FullControl`.
     * 
     */
    @Import(name="accesses")
    private @Nullable Output> accesses;

    /**
     * @return The permission that you want to give to the AWS user that you specified in `thumbnail_config_permissions.grantee`. Valid values are `Read`, `ReadAcp`, `WriteAcp` or `FullControl`.
     * 
     */
    public Optional>> accesses() {
        return Optional.ofNullable(this.accesses);
    }

    /**
     * The AWS user or group that you want to have access to thumbnail files.
     * 
     */
    @Import(name="grantee")
    private @Nullable Output grantee;

    /**
     * @return The AWS user or group that you want to have access to thumbnail files.
     * 
     */
    public Optional> grantee() {
        return Optional.ofNullable(this.grantee);
    }

    /**
     * Specify the type of value that appears in the `thumbnail_config_permissions.grantee` object. Valid values are `Canonical`, `Email` or `Group`.
     * 
     */
    @Import(name="granteeType")
    private @Nullable Output granteeType;

    /**
     * @return Specify the type of value that appears in the `thumbnail_config_permissions.grantee` object. Valid values are `Canonical`, `Email` or `Group`.
     * 
     */
    public Optional> granteeType() {
        return Optional.ofNullable(this.granteeType);
    }

    private PipelineThumbnailConfigPermissionArgs() {}

    private PipelineThumbnailConfigPermissionArgs(PipelineThumbnailConfigPermissionArgs $) {
        this.accesses = $.accesses;
        this.grantee = $.grantee;
        this.granteeType = $.granteeType;
    }

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

    public static final class Builder {
        private PipelineThumbnailConfigPermissionArgs $;

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

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

        /**
         * @param accesses The permission that you want to give to the AWS user that you specified in `thumbnail_config_permissions.grantee`. Valid values are `Read`, `ReadAcp`, `WriteAcp` or `FullControl`.
         * 
         * @return builder
         * 
         */
        public Builder accesses(@Nullable Output> accesses) {
            $.accesses = accesses;
            return this;
        }

        /**
         * @param accesses The permission that you want to give to the AWS user that you specified in `thumbnail_config_permissions.grantee`. Valid values are `Read`, `ReadAcp`, `WriteAcp` or `FullControl`.
         * 
         * @return builder
         * 
         */
        public Builder accesses(List accesses) {
            return accesses(Output.of(accesses));
        }

        /**
         * @param accesses The permission that you want to give to the AWS user that you specified in `thumbnail_config_permissions.grantee`. Valid values are `Read`, `ReadAcp`, `WriteAcp` or `FullControl`.
         * 
         * @return builder
         * 
         */
        public Builder accesses(String... accesses) {
            return accesses(List.of(accesses));
        }

        /**
         * @param grantee The AWS user or group that you want to have access to thumbnail files.
         * 
         * @return builder
         * 
         */
        public Builder grantee(@Nullable Output grantee) {
            $.grantee = grantee;
            return this;
        }

        /**
         * @param grantee The AWS user or group that you want to have access to thumbnail files.
         * 
         * @return builder
         * 
         */
        public Builder grantee(String grantee) {
            return grantee(Output.of(grantee));
        }

        /**
         * @param granteeType Specify the type of value that appears in the `thumbnail_config_permissions.grantee` object. Valid values are `Canonical`, `Email` or `Group`.
         * 
         * @return builder
         * 
         */
        public Builder granteeType(@Nullable Output granteeType) {
            $.granteeType = granteeType;
            return this;
        }

        /**
         * @param granteeType Specify the type of value that appears in the `thumbnail_config_permissions.grantee` object. Valid values are `Canonical`, `Email` or `Group`.
         * 
         * @return builder
         * 
         */
        public Builder granteeType(String granteeType) {
            return granteeType(Output.of(granteeType));
        }

        public PipelineThumbnailConfigPermissionArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy