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

com.pulumi.azurenative.awsconnector.inputs.AccessRulesArgs 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.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Definition of AccessRules
 * 
 */
public final class AccessRulesArgs extends com.pulumi.resources.ResourceArgs {

    public static final AccessRulesArgs Empty = new AccessRulesArgs();

    /**
     * A Boolean value that indicates whether the access control list (ACL) permissions that are applied to individual objects override the getObject option that is currently specified.
     * 
     */
    @Import(name="allowPublicOverrides")
    private @Nullable Output allowPublicOverrides;

    /**
     * @return A Boolean value that indicates whether the access control list (ACL) permissions that are applied to individual objects override the getObject option that is currently specified.
     * 
     */
    public Optional> allowPublicOverrides() {
        return Optional.ofNullable(this.allowPublicOverrides);
    }

    /**
     * Specifies the anonymous access to all objects in a bucket.
     * 
     */
    @Import(name="getObject")
    private @Nullable Output getObject;

    /**
     * @return Specifies the anonymous access to all objects in a bucket.
     * 
     */
    public Optional> getObject() {
        return Optional.ofNullable(this.getObject);
    }

    private AccessRulesArgs() {}

    private AccessRulesArgs(AccessRulesArgs $) {
        this.allowPublicOverrides = $.allowPublicOverrides;
        this.getObject = $.getObject;
    }

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

    public static final class Builder {
        private AccessRulesArgs $;

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

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

        /**
         * @param allowPublicOverrides A Boolean value that indicates whether the access control list (ACL) permissions that are applied to individual objects override the getObject option that is currently specified.
         * 
         * @return builder
         * 
         */
        public Builder allowPublicOverrides(@Nullable Output allowPublicOverrides) {
            $.allowPublicOverrides = allowPublicOverrides;
            return this;
        }

        /**
         * @param allowPublicOverrides A Boolean value that indicates whether the access control list (ACL) permissions that are applied to individual objects override the getObject option that is currently specified.
         * 
         * @return builder
         * 
         */
        public Builder allowPublicOverrides(Boolean allowPublicOverrides) {
            return allowPublicOverrides(Output.of(allowPublicOverrides));
        }

        /**
         * @param getObject Specifies the anonymous access to all objects in a bucket.
         * 
         * @return builder
         * 
         */
        public Builder getObject(@Nullable Output getObject) {
            $.getObject = getObject;
            return this;
        }

        /**
         * @param getObject Specifies the anonymous access to all objects in a bucket.
         * 
         * @return builder
         * 
         */
        public Builder getObject(String getObject) {
            return getObject(Output.of(getObject));
        }

        public AccessRulesArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy