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

com.pulumi.azure.storage.outputs.GetQueueResult 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.String;
import java.util.Map;
import java.util.Objects;

@CustomType
public final class GetQueueResult {
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    private String id;
    /**
     * @return A mapping of MetaData for this Queue.
     * 
     */
    private Map metadata;
    private String name;
    /**
     * @return The Resource Manager ID of this Storage Queue.
     * 
     */
    private String resourceManagerId;
    private String storageAccountName;

    private GetQueueResult() {}
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return A mapping of MetaData for this Queue.
     * 
     */
    public Map metadata() {
        return this.metadata;
    }
    public String name() {
        return this.name;
    }
    /**
     * @return The Resource Manager ID of this Storage Queue.
     * 
     */
    public String resourceManagerId() {
        return this.resourceManagerId;
    }
    public String storageAccountName() {
        return this.storageAccountName;
    }

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

    public static Builder builder(GetQueueResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String id;
        private Map metadata;
        private String name;
        private String resourceManagerId;
        private String storageAccountName;
        public Builder() {}
        public Builder(GetQueueResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.id = defaults.id;
    	      this.metadata = defaults.metadata;
    	      this.name = defaults.name;
    	      this.resourceManagerId = defaults.resourceManagerId;
    	      this.storageAccountName = defaults.storageAccountName;
        }

        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("GetQueueResult", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder metadata(Map metadata) {
            if (metadata == null) {
              throw new MissingRequiredPropertyException("GetQueueResult", "metadata");
            }
            this.metadata = metadata;
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            if (name == null) {
              throw new MissingRequiredPropertyException("GetQueueResult", "name");
            }
            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder resourceManagerId(String resourceManagerId) {
            if (resourceManagerId == null) {
              throw new MissingRequiredPropertyException("GetQueueResult", "resourceManagerId");
            }
            this.resourceManagerId = resourceManagerId;
            return this;
        }
        @CustomType.Setter
        public Builder storageAccountName(String storageAccountName) {
            if (storageAccountName == null) {
              throw new MissingRequiredPropertyException("GetQueueResult", "storageAccountName");
            }
            this.storageAccountName = storageAccountName;
            return this;
        }
        public GetQueueResult build() {
            final var _resultValue = new GetQueueResult();
            _resultValue.id = id;
            _resultValue.metadata = metadata;
            _resultValue.name = name;
            _resultValue.resourceManagerId = resourceManagerId;
            _resultValue.storageAccountName = storageAccountName;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy