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

com.pulumi.aws.servicediscovery.outputs.GetDnsNamespaceResult Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

The 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.aws.servicediscovery.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 GetDnsNamespaceResult {
    /**
     * @return ARN of the namespace.
     * 
     */
    private String arn;
    /**
     * @return Description of the namespace.
     * 
     */
    private String description;
    /**
     * @return ID for the hosted zone that Amazon Route 53 creates when you create a namespace.
     * 
     */
    private String hostedZone;
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    private String id;
    private String name;
    /**
     * @return Map of tags for the resource.
     * 
     */
    private Map tags;
    private String type;

    private GetDnsNamespaceResult() {}
    /**
     * @return ARN of the namespace.
     * 
     */
    public String arn() {
        return this.arn;
    }
    /**
     * @return Description of the namespace.
     * 
     */
    public String description() {
        return this.description;
    }
    /**
     * @return ID for the hosted zone that Amazon Route 53 creates when you create a namespace.
     * 
     */
    public String hostedZone() {
        return this.hostedZone;
    }
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    public String id() {
        return this.id;
    }
    public String name() {
        return this.name;
    }
    /**
     * @return Map of tags for the resource.
     * 
     */
    public Map tags() {
        return this.tags;
    }
    public String type() {
        return this.type;
    }

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

    public static Builder builder(GetDnsNamespaceResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String arn;
        private String description;
        private String hostedZone;
        private String id;
        private String name;
        private Map tags;
        private String type;
        public Builder() {}
        public Builder(GetDnsNamespaceResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.arn = defaults.arn;
    	      this.description = defaults.description;
    	      this.hostedZone = defaults.hostedZone;
    	      this.id = defaults.id;
    	      this.name = defaults.name;
    	      this.tags = defaults.tags;
    	      this.type = defaults.type;
        }

        @CustomType.Setter
        public Builder arn(String arn) {
            if (arn == null) {
              throw new MissingRequiredPropertyException("GetDnsNamespaceResult", "arn");
            }
            this.arn = arn;
            return this;
        }
        @CustomType.Setter
        public Builder description(String description) {
            if (description == null) {
              throw new MissingRequiredPropertyException("GetDnsNamespaceResult", "description");
            }
            this.description = description;
            return this;
        }
        @CustomType.Setter
        public Builder hostedZone(String hostedZone) {
            if (hostedZone == null) {
              throw new MissingRequiredPropertyException("GetDnsNamespaceResult", "hostedZone");
            }
            this.hostedZone = hostedZone;
            return this;
        }
        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("GetDnsNamespaceResult", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            if (name == null) {
              throw new MissingRequiredPropertyException("GetDnsNamespaceResult", "name");
            }
            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder tags(Map tags) {
            if (tags == null) {
              throw new MissingRequiredPropertyException("GetDnsNamespaceResult", "tags");
            }
            this.tags = tags;
            return this;
        }
        @CustomType.Setter
        public Builder type(String type) {
            if (type == null) {
              throw new MissingRequiredPropertyException("GetDnsNamespaceResult", "type");
            }
            this.type = type;
            return this;
        }
        public GetDnsNamespaceResult build() {
            final var _resultValue = new GetDnsNamespaceResult();
            _resultValue.arn = arn;
            _resultValue.description = description;
            _resultValue.hostedZone = hostedZone;
            _resultValue.id = id;
            _resultValue.name = name;
            _resultValue.tags = tags;
            _resultValue.type = type;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy