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

com.pulumi.azure.storage.outputs.GetAccountBlobContainerSASResult 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.azure.storage.outputs.GetAccountBlobContainerSASPermissions;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class GetAccountBlobContainerSASResult {
    private @Nullable String cacheControl;
    private String connectionString;
    private String containerName;
    private @Nullable String contentDisposition;
    private @Nullable String contentEncoding;
    private @Nullable String contentLanguage;
    private @Nullable String contentType;
    private String expiry;
    private @Nullable Boolean httpsOnly;
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    private String id;
    private @Nullable String ipAddress;
    private GetAccountBlobContainerSASPermissions permissions;
    /**
     * @return The computed Blob Container Shared Access Signature (SAS). The delimiter character ('?') for the query string is the prefix of `sas`.
     * 
     */
    private String sas;
    private String start;

    private GetAccountBlobContainerSASResult() {}
    public Optional cacheControl() {
        return Optional.ofNullable(this.cacheControl);
    }
    public String connectionString() {
        return this.connectionString;
    }
    public String containerName() {
        return this.containerName;
    }
    public Optional contentDisposition() {
        return Optional.ofNullable(this.contentDisposition);
    }
    public Optional contentEncoding() {
        return Optional.ofNullable(this.contentEncoding);
    }
    public Optional contentLanguage() {
        return Optional.ofNullable(this.contentLanguage);
    }
    public Optional contentType() {
        return Optional.ofNullable(this.contentType);
    }
    public String expiry() {
        return this.expiry;
    }
    public Optional httpsOnly() {
        return Optional.ofNullable(this.httpsOnly);
    }
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    public String id() {
        return this.id;
    }
    public Optional ipAddress() {
        return Optional.ofNullable(this.ipAddress);
    }
    public GetAccountBlobContainerSASPermissions permissions() {
        return this.permissions;
    }
    /**
     * @return The computed Blob Container Shared Access Signature (SAS). The delimiter character ('?') for the query string is the prefix of `sas`.
     * 
     */
    public String sas() {
        return this.sas;
    }
    public String start() {
        return this.start;
    }

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

    public static Builder builder(GetAccountBlobContainerSASResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String cacheControl;
        private String connectionString;
        private String containerName;
        private @Nullable String contentDisposition;
        private @Nullable String contentEncoding;
        private @Nullable String contentLanguage;
        private @Nullable String contentType;
        private String expiry;
        private @Nullable Boolean httpsOnly;
        private String id;
        private @Nullable String ipAddress;
        private GetAccountBlobContainerSASPermissions permissions;
        private String sas;
        private String start;
        public Builder() {}
        public Builder(GetAccountBlobContainerSASResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.cacheControl = defaults.cacheControl;
    	      this.connectionString = defaults.connectionString;
    	      this.containerName = defaults.containerName;
    	      this.contentDisposition = defaults.contentDisposition;
    	      this.contentEncoding = defaults.contentEncoding;
    	      this.contentLanguage = defaults.contentLanguage;
    	      this.contentType = defaults.contentType;
    	      this.expiry = defaults.expiry;
    	      this.httpsOnly = defaults.httpsOnly;
    	      this.id = defaults.id;
    	      this.ipAddress = defaults.ipAddress;
    	      this.permissions = defaults.permissions;
    	      this.sas = defaults.sas;
    	      this.start = defaults.start;
        }

        @CustomType.Setter
        public Builder cacheControl(@Nullable String cacheControl) {

            this.cacheControl = cacheControl;
            return this;
        }
        @CustomType.Setter
        public Builder connectionString(String connectionString) {
            if (connectionString == null) {
              throw new MissingRequiredPropertyException("GetAccountBlobContainerSASResult", "connectionString");
            }
            this.connectionString = connectionString;
            return this;
        }
        @CustomType.Setter
        public Builder containerName(String containerName) {
            if (containerName == null) {
              throw new MissingRequiredPropertyException("GetAccountBlobContainerSASResult", "containerName");
            }
            this.containerName = containerName;
            return this;
        }
        @CustomType.Setter
        public Builder contentDisposition(@Nullable String contentDisposition) {

            this.contentDisposition = contentDisposition;
            return this;
        }
        @CustomType.Setter
        public Builder contentEncoding(@Nullable String contentEncoding) {

            this.contentEncoding = contentEncoding;
            return this;
        }
        @CustomType.Setter
        public Builder contentLanguage(@Nullable String contentLanguage) {

            this.contentLanguage = contentLanguage;
            return this;
        }
        @CustomType.Setter
        public Builder contentType(@Nullable String contentType) {

            this.contentType = contentType;
            return this;
        }
        @CustomType.Setter
        public Builder expiry(String expiry) {
            if (expiry == null) {
              throw new MissingRequiredPropertyException("GetAccountBlobContainerSASResult", "expiry");
            }
            this.expiry = expiry;
            return this;
        }
        @CustomType.Setter
        public Builder httpsOnly(@Nullable Boolean httpsOnly) {

            this.httpsOnly = httpsOnly;
            return this;
        }
        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("GetAccountBlobContainerSASResult", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder ipAddress(@Nullable String ipAddress) {

            this.ipAddress = ipAddress;
            return this;
        }
        @CustomType.Setter
        public Builder permissions(GetAccountBlobContainerSASPermissions permissions) {
            if (permissions == null) {
              throw new MissingRequiredPropertyException("GetAccountBlobContainerSASResult", "permissions");
            }
            this.permissions = permissions;
            return this;
        }
        @CustomType.Setter
        public Builder sas(String sas) {
            if (sas == null) {
              throw new MissingRequiredPropertyException("GetAccountBlobContainerSASResult", "sas");
            }
            this.sas = sas;
            return this;
        }
        @CustomType.Setter
        public Builder start(String start) {
            if (start == null) {
              throw new MissingRequiredPropertyException("GetAccountBlobContainerSASResult", "start");
            }
            this.start = start;
            return this;
        }
        public GetAccountBlobContainerSASResult build() {
            final var _resultValue = new GetAccountBlobContainerSASResult();
            _resultValue.cacheControl = cacheControl;
            _resultValue.connectionString = connectionString;
            _resultValue.containerName = containerName;
            _resultValue.contentDisposition = contentDisposition;
            _resultValue.contentEncoding = contentEncoding;
            _resultValue.contentLanguage = contentLanguage;
            _resultValue.contentType = contentType;
            _resultValue.expiry = expiry;
            _resultValue.httpsOnly = httpsOnly;
            _resultValue.id = id;
            _resultValue.ipAddress = ipAddress;
            _resultValue.permissions = permissions;
            _resultValue.sas = sas;
            _resultValue.start = start;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy