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

com.pulumi.azure.storage.outputs.GetAccountSASServices Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.

There is a newer version: 6.10.0-alpha.1731737215
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.azure.storage.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.util.Objects;

@CustomType
public final class GetAccountSASServices {
    /**
     * @return Should permission be granted to `blob` services within this storage account?
     * 
     */
    private Boolean blob;
    /**
     * @return Should permission be granted to `file` services within this storage account?
     * 
     */
    private Boolean file;
    /**
     * @return Should permission be granted to `queue` services within this storage account?
     * 
     */
    private Boolean queue;
    /**
     * @return Should permission be granted to `table` services within this storage account?
     * 
     */
    private Boolean table;

    private GetAccountSASServices() {}
    /**
     * @return Should permission be granted to `blob` services within this storage account?
     * 
     */
    public Boolean blob() {
        return this.blob;
    }
    /**
     * @return Should permission be granted to `file` services within this storage account?
     * 
     */
    public Boolean file() {
        return this.file;
    }
    /**
     * @return Should permission be granted to `queue` services within this storage account?
     * 
     */
    public Boolean queue() {
        return this.queue;
    }
    /**
     * @return Should permission be granted to `table` services within this storage account?
     * 
     */
    public Boolean table() {
        return this.table;
    }

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

    public static Builder builder(GetAccountSASServices defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private Boolean blob;
        private Boolean file;
        private Boolean queue;
        private Boolean table;
        public Builder() {}
        public Builder(GetAccountSASServices defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.blob = defaults.blob;
    	      this.file = defaults.file;
    	      this.queue = defaults.queue;
    	      this.table = defaults.table;
        }

        @CustomType.Setter
        public Builder blob(Boolean blob) {
            if (blob == null) {
              throw new MissingRequiredPropertyException("GetAccountSASServices", "blob");
            }
            this.blob = blob;
            return this;
        }
        @CustomType.Setter
        public Builder file(Boolean file) {
            if (file == null) {
              throw new MissingRequiredPropertyException("GetAccountSASServices", "file");
            }
            this.file = file;
            return this;
        }
        @CustomType.Setter
        public Builder queue(Boolean queue) {
            if (queue == null) {
              throw new MissingRequiredPropertyException("GetAccountSASServices", "queue");
            }
            this.queue = queue;
            return this;
        }
        @CustomType.Setter
        public Builder table(Boolean table) {
            if (table == null) {
              throw new MissingRequiredPropertyException("GetAccountSASServices", "table");
            }
            this.table = table;
            return this;
        }
        public GetAccountSASServices build() {
            final var _resultValue = new GetAccountSASServices();
            _resultValue.blob = blob;
            _resultValue.file = file;
            _resultValue.queue = queue;
            _resultValue.table = table;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy