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

com.pulumi.azurenative.databoxedge.outputs.GetStorageAccountResult 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.databoxedge.outputs;

import com.pulumi.azurenative.databoxedge.outputs.SystemDataResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class GetStorageAccountResult {
    /**
     * @return BlobEndpoint of Storage Account
     * 
     */
    private String blobEndpoint;
    /**
     * @return The Container Count. Present only for Storage Accounts with DataPolicy set to Cloud.
     * 
     */
    private Integer containerCount;
    /**
     * @return Data policy of the storage Account.
     * 
     */
    private String dataPolicy;
    /**
     * @return Description for the storage Account.
     * 
     */
    private @Nullable String description;
    /**
     * @return The path ID that uniquely identifies the object.
     * 
     */
    private String id;
    /**
     * @return The object name.
     * 
     */
    private String name;
    /**
     * @return Storage Account Credential Id
     * 
     */
    private @Nullable String storageAccountCredentialId;
    /**
     * @return Current status of the storage account
     * 
     */
    private @Nullable String storageAccountStatus;
    /**
     * @return Metadata pertaining to creation and last modification of StorageAccount
     * 
     */
    private SystemDataResponse systemData;
    /**
     * @return The hierarchical type of the object.
     * 
     */
    private String type;

    private GetStorageAccountResult() {}
    /**
     * @return BlobEndpoint of Storage Account
     * 
     */
    public String blobEndpoint() {
        return this.blobEndpoint;
    }
    /**
     * @return The Container Count. Present only for Storage Accounts with DataPolicy set to Cloud.
     * 
     */
    public Integer containerCount() {
        return this.containerCount;
    }
    /**
     * @return Data policy of the storage Account.
     * 
     */
    public String dataPolicy() {
        return this.dataPolicy;
    }
    /**
     * @return Description for the storage Account.
     * 
     */
    public Optional description() {
        return Optional.ofNullable(this.description);
    }
    /**
     * @return The path ID that uniquely identifies the object.
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return The object name.
     * 
     */
    public String name() {
        return this.name;
    }
    /**
     * @return Storage Account Credential Id
     * 
     */
    public Optional storageAccountCredentialId() {
        return Optional.ofNullable(this.storageAccountCredentialId);
    }
    /**
     * @return Current status of the storage account
     * 
     */
    public Optional storageAccountStatus() {
        return Optional.ofNullable(this.storageAccountStatus);
    }
    /**
     * @return Metadata pertaining to creation and last modification of StorageAccount
     * 
     */
    public SystemDataResponse systemData() {
        return this.systemData;
    }
    /**
     * @return The hierarchical type of the object.
     * 
     */
    public String type() {
        return this.type;
    }

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

    public static Builder builder(GetStorageAccountResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String blobEndpoint;
        private Integer containerCount;
        private String dataPolicy;
        private @Nullable String description;
        private String id;
        private String name;
        private @Nullable String storageAccountCredentialId;
        private @Nullable String storageAccountStatus;
        private SystemDataResponse systemData;
        private String type;
        public Builder() {}
        public Builder(GetStorageAccountResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.blobEndpoint = defaults.blobEndpoint;
    	      this.containerCount = defaults.containerCount;
    	      this.dataPolicy = defaults.dataPolicy;
    	      this.description = defaults.description;
    	      this.id = defaults.id;
    	      this.name = defaults.name;
    	      this.storageAccountCredentialId = defaults.storageAccountCredentialId;
    	      this.storageAccountStatus = defaults.storageAccountStatus;
    	      this.systemData = defaults.systemData;
    	      this.type = defaults.type;
        }

        @CustomType.Setter
        public Builder blobEndpoint(String blobEndpoint) {
            if (blobEndpoint == null) {
              throw new MissingRequiredPropertyException("GetStorageAccountResult", "blobEndpoint");
            }
            this.blobEndpoint = blobEndpoint;
            return this;
        }
        @CustomType.Setter
        public Builder containerCount(Integer containerCount) {
            if (containerCount == null) {
              throw new MissingRequiredPropertyException("GetStorageAccountResult", "containerCount");
            }
            this.containerCount = containerCount;
            return this;
        }
        @CustomType.Setter
        public Builder dataPolicy(String dataPolicy) {
            if (dataPolicy == null) {
              throw new MissingRequiredPropertyException("GetStorageAccountResult", "dataPolicy");
            }
            this.dataPolicy = dataPolicy;
            return this;
        }
        @CustomType.Setter
        public Builder description(@Nullable String description) {

            this.description = description;
            return this;
        }
        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("GetStorageAccountResult", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            if (name == null) {
              throw new MissingRequiredPropertyException("GetStorageAccountResult", "name");
            }
            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder storageAccountCredentialId(@Nullable String storageAccountCredentialId) {

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

            this.storageAccountStatus = storageAccountStatus;
            return this;
        }
        @CustomType.Setter
        public Builder systemData(SystemDataResponse systemData) {
            if (systemData == null) {
              throw new MissingRequiredPropertyException("GetStorageAccountResult", "systemData");
            }
            this.systemData = systemData;
            return this;
        }
        @CustomType.Setter
        public Builder type(String type) {
            if (type == null) {
              throw new MissingRequiredPropertyException("GetStorageAccountResult", "type");
            }
            this.type = type;
            return this;
        }
        public GetStorageAccountResult build() {
            final var _resultValue = new GetStorageAccountResult();
            _resultValue.blobEndpoint = blobEndpoint;
            _resultValue.containerCount = containerCount;
            _resultValue.dataPolicy = dataPolicy;
            _resultValue.description = description;
            _resultValue.id = id;
            _resultValue.name = name;
            _resultValue.storageAccountCredentialId = storageAccountCredentialId;
            _resultValue.storageAccountStatus = storageAccountStatus;
            _resultValue.systemData = systemData;
            _resultValue.type = type;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy