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

com.pulumi.azure.communication.outputs.GetServiceResult 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.communication.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 GetServiceResult {
    /**
     * @return The location where the Communication service stores its data at rest.
     * 
     */
    private String dataLocation;
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    private String id;
    private String name;
    /**
     * @return The primary connection string of the Communication Service.
     * 
     */
    private String primaryConnectionString;
    /**
     * @return The primary key of the Communication Service.
     * 
     */
    private String primaryKey;
    private String resourceGroupName;
    /**
     * @return The secondary connection string of the Communication Service.
     * 
     */
    private String secondaryConnectionString;
    /**
     * @return The secondary key of the Communication Service.
     * 
     */
    private String secondaryKey;
    /**
     * @return A mapping of tags assigned to the Communication Service.
     * 
     */
    private Map tags;

    private GetServiceResult() {}
    /**
     * @return The location where the Communication service stores its data at rest.
     * 
     */
    public String dataLocation() {
        return this.dataLocation;
    }
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    public String id() {
        return this.id;
    }
    public String name() {
        return this.name;
    }
    /**
     * @return The primary connection string of the Communication Service.
     * 
     */
    public String primaryConnectionString() {
        return this.primaryConnectionString;
    }
    /**
     * @return The primary key of the Communication Service.
     * 
     */
    public String primaryKey() {
        return this.primaryKey;
    }
    public String resourceGroupName() {
        return this.resourceGroupName;
    }
    /**
     * @return The secondary connection string of the Communication Service.
     * 
     */
    public String secondaryConnectionString() {
        return this.secondaryConnectionString;
    }
    /**
     * @return The secondary key of the Communication Service.
     * 
     */
    public String secondaryKey() {
        return this.secondaryKey;
    }
    /**
     * @return A mapping of tags assigned to the Communication Service.
     * 
     */
    public Map tags() {
        return this.tags;
    }

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

    public static Builder builder(GetServiceResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String dataLocation;
        private String id;
        private String name;
        private String primaryConnectionString;
        private String primaryKey;
        private String resourceGroupName;
        private String secondaryConnectionString;
        private String secondaryKey;
        private Map tags;
        public Builder() {}
        public Builder(GetServiceResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.dataLocation = defaults.dataLocation;
    	      this.id = defaults.id;
    	      this.name = defaults.name;
    	      this.primaryConnectionString = defaults.primaryConnectionString;
    	      this.primaryKey = defaults.primaryKey;
    	      this.resourceGroupName = defaults.resourceGroupName;
    	      this.secondaryConnectionString = defaults.secondaryConnectionString;
    	      this.secondaryKey = defaults.secondaryKey;
    	      this.tags = defaults.tags;
        }

        @CustomType.Setter
        public Builder dataLocation(String dataLocation) {
            if (dataLocation == null) {
              throw new MissingRequiredPropertyException("GetServiceResult", "dataLocation");
            }
            this.dataLocation = dataLocation;
            return this;
        }
        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("GetServiceResult", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            if (name == null) {
              throw new MissingRequiredPropertyException("GetServiceResult", "name");
            }
            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder primaryConnectionString(String primaryConnectionString) {
            if (primaryConnectionString == null) {
              throw new MissingRequiredPropertyException("GetServiceResult", "primaryConnectionString");
            }
            this.primaryConnectionString = primaryConnectionString;
            return this;
        }
        @CustomType.Setter
        public Builder primaryKey(String primaryKey) {
            if (primaryKey == null) {
              throw new MissingRequiredPropertyException("GetServiceResult", "primaryKey");
            }
            this.primaryKey = primaryKey;
            return this;
        }
        @CustomType.Setter
        public Builder resourceGroupName(String resourceGroupName) {
            if (resourceGroupName == null) {
              throw new MissingRequiredPropertyException("GetServiceResult", "resourceGroupName");
            }
            this.resourceGroupName = resourceGroupName;
            return this;
        }
        @CustomType.Setter
        public Builder secondaryConnectionString(String secondaryConnectionString) {
            if (secondaryConnectionString == null) {
              throw new MissingRequiredPropertyException("GetServiceResult", "secondaryConnectionString");
            }
            this.secondaryConnectionString = secondaryConnectionString;
            return this;
        }
        @CustomType.Setter
        public Builder secondaryKey(String secondaryKey) {
            if (secondaryKey == null) {
              throw new MissingRequiredPropertyException("GetServiceResult", "secondaryKey");
            }
            this.secondaryKey = secondaryKey;
            return this;
        }
        @CustomType.Setter
        public Builder tags(Map tags) {
            if (tags == null) {
              throw new MissingRequiredPropertyException("GetServiceResult", "tags");
            }
            this.tags = tags;
            return this;
        }
        public GetServiceResult build() {
            final var _resultValue = new GetServiceResult();
            _resultValue.dataLocation = dataLocation;
            _resultValue.id = id;
            _resultValue.name = name;
            _resultValue.primaryConnectionString = primaryConnectionString;
            _resultValue.primaryKey = primaryKey;
            _resultValue.resourceGroupName = resourceGroupName;
            _resultValue.secondaryConnectionString = secondaryConnectionString;
            _resultValue.secondaryKey = secondaryKey;
            _resultValue.tags = tags;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy