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

com.pulumi.azure.privatedns.outputs.GetCnameRecordResult 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.privatedns.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.lang.String;
import java.util.Map;
import java.util.Objects;

@CustomType
public final class GetCnameRecordResult {
    /**
     * @return The FQDN of the Private DNS CName Record.
     * 
     */
    private String fqdn;
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    private String id;
    private String name;
    /**
     * @return The target of the CNAME.
     * 
     */
    private String record;
    private String resourceGroupName;
    /**
     * @return A mapping of tags assigned to the resource.
     * 
     */
    private Map tags;
    private String targetResourceId;
    /**
     * @return The Time To Live (TTL) of the Private DNS record in seconds.
     * 
     */
    private Integer ttl;
    private String zoneName;

    private GetCnameRecordResult() {}
    /**
     * @return The FQDN of the Private DNS CName Record.
     * 
     */
    public String fqdn() {
        return this.fqdn;
    }
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    public String id() {
        return this.id;
    }
    public String name() {
        return this.name;
    }
    /**
     * @return The target of the CNAME.
     * 
     */
    public String record() {
        return this.record;
    }
    public String resourceGroupName() {
        return this.resourceGroupName;
    }
    /**
     * @return A mapping of tags assigned to the resource.
     * 
     */
    public Map tags() {
        return this.tags;
    }
    public String targetResourceId() {
        return this.targetResourceId;
    }
    /**
     * @return The Time To Live (TTL) of the Private DNS record in seconds.
     * 
     */
    public Integer ttl() {
        return this.ttl;
    }
    public String zoneName() {
        return this.zoneName;
    }

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

    public static Builder builder(GetCnameRecordResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String fqdn;
        private String id;
        private String name;
        private String record;
        private String resourceGroupName;
        private Map tags;
        private String targetResourceId;
        private Integer ttl;
        private String zoneName;
        public Builder() {}
        public Builder(GetCnameRecordResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.fqdn = defaults.fqdn;
    	      this.id = defaults.id;
    	      this.name = defaults.name;
    	      this.record = defaults.record;
    	      this.resourceGroupName = defaults.resourceGroupName;
    	      this.tags = defaults.tags;
    	      this.targetResourceId = defaults.targetResourceId;
    	      this.ttl = defaults.ttl;
    	      this.zoneName = defaults.zoneName;
        }

        @CustomType.Setter
        public Builder fqdn(String fqdn) {
            if (fqdn == null) {
              throw new MissingRequiredPropertyException("GetCnameRecordResult", "fqdn");
            }
            this.fqdn = fqdn;
            return this;
        }
        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("GetCnameRecordResult", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            if (name == null) {
              throw new MissingRequiredPropertyException("GetCnameRecordResult", "name");
            }
            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder record(String record) {
            if (record == null) {
              throw new MissingRequiredPropertyException("GetCnameRecordResult", "record");
            }
            this.record = record;
            return this;
        }
        @CustomType.Setter
        public Builder resourceGroupName(String resourceGroupName) {
            if (resourceGroupName == null) {
              throw new MissingRequiredPropertyException("GetCnameRecordResult", "resourceGroupName");
            }
            this.resourceGroupName = resourceGroupName;
            return this;
        }
        @CustomType.Setter
        public Builder tags(Map tags) {
            if (tags == null) {
              throw new MissingRequiredPropertyException("GetCnameRecordResult", "tags");
            }
            this.tags = tags;
            return this;
        }
        @CustomType.Setter
        public Builder targetResourceId(String targetResourceId) {
            if (targetResourceId == null) {
              throw new MissingRequiredPropertyException("GetCnameRecordResult", "targetResourceId");
            }
            this.targetResourceId = targetResourceId;
            return this;
        }
        @CustomType.Setter
        public Builder ttl(Integer ttl) {
            if (ttl == null) {
              throw new MissingRequiredPropertyException("GetCnameRecordResult", "ttl");
            }
            this.ttl = ttl;
            return this;
        }
        @CustomType.Setter
        public Builder zoneName(String zoneName) {
            if (zoneName == null) {
              throw new MissingRequiredPropertyException("GetCnameRecordResult", "zoneName");
            }
            this.zoneName = zoneName;
            return this;
        }
        public GetCnameRecordResult build() {
            final var _resultValue = new GetCnameRecordResult();
            _resultValue.fqdn = fqdn;
            _resultValue.id = id;
            _resultValue.name = name;
            _resultValue.record = record;
            _resultValue.resourceGroupName = resourceGroupName;
            _resultValue.tags = tags;
            _resultValue.targetResourceId = targetResourceId;
            _resultValue.ttl = ttl;
            _resultValue.zoneName = zoneName;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy