// *** 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.route53.outputs;

import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.List;
import java.util.Objects;

@CustomType
public final class GetDelegationSetResult {
    private String arn;
    private String callerReference;
    private String id;
    private List<String> nameServers;

    private GetDelegationSetResult() {}
    public String arn() {
        return this.arn;
    }
    public String callerReference() {
        return this.callerReference;
    }
    public String id() {
        return this.id;
    }
    public List<String> nameServers() {
        return this.nameServers;
    }

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

    public static Builder builder(GetDelegationSetResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String arn;
        private String callerReference;
        private String id;
        private List<String> nameServers;
        public Builder() {}
        public Builder(GetDelegationSetResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.arn = defaults.arn;
    	      this.callerReference = defaults.callerReference;
    	      this.id = defaults.id;
    	      this.nameServers = defaults.nameServers;
        }

        @CustomType.Setter
        public Builder arn(String arn) {
            this.arn = Objects.requireNonNull(arn);
            return this;
        }
        @CustomType.Setter
        public Builder callerReference(String callerReference) {
            this.callerReference = Objects.requireNonNull(callerReference);
            return this;
        }
        @CustomType.Setter
        public Builder id(String id) {
            this.id = Objects.requireNonNull(id);
            return this;
        }
        @CustomType.Setter
        public Builder nameServers(List<String> nameServers) {
            this.nameServers = Objects.requireNonNull(nameServers);
            return this;
        }
        public Builder nameServers(String... nameServers) {
            return nameServers(List.of(nameServers));
        }
        public GetDelegationSetResult build() {
            final var o = new GetDelegationSetResult();
            o.arn = arn;
            o.callerReference = callerReference;
            o.id = id;
            o.nameServers = nameServers;
            return o;
        }
    }
}
