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

import com.pulumi.aws.imagebuilder.outputs.GetDistributionConfigurationDistribution;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;

@CustomType
public final class GetDistributionConfigurationResult {
    private String arn;
    /**
     * @return Date the distribution configuration was created.
     * 
     */
    private String dateCreated;
    /**
     * @return Date the distribution configuration was updated.
     * 
     */
    private String dateUpdated;
    /**
     * @return Description of the container distribution configuration.
     * 
     */
    private String description;
    /**
     * @return Set of distributions.
     * 
     */
    private List<GetDistributionConfigurationDistribution> distributions;
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    private String id;
    /**
     * @return Name of the distribution configuration.
     * 
     */
    private String name;
    /**
     * @return Key-value map of resource tags for the distribution configuration.
     * 
     */
    private Map<String,String> tags;

    private GetDistributionConfigurationResult() {}
    public String arn() {
        return this.arn;
    }
    /**
     * @return Date the distribution configuration was created.
     * 
     */
    public String dateCreated() {
        return this.dateCreated;
    }
    /**
     * @return Date the distribution configuration was updated.
     * 
     */
    public String dateUpdated() {
        return this.dateUpdated;
    }
    /**
     * @return Description of the container distribution configuration.
     * 
     */
    public String description() {
        return this.description;
    }
    /**
     * @return Set of distributions.
     * 
     */
    public List<GetDistributionConfigurationDistribution> distributions() {
        return this.distributions;
    }
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return Name of the distribution configuration.
     * 
     */
    public String name() {
        return this.name;
    }
    /**
     * @return Key-value map of resource tags for the distribution configuration.
     * 
     */
    public Map<String,String> tags() {
        return this.tags;
    }

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

    public static Builder builder(GetDistributionConfigurationResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String arn;
        private String dateCreated;
        private String dateUpdated;
        private String description;
        private List<GetDistributionConfigurationDistribution> distributions;
        private String id;
        private String name;
        private Map<String,String> tags;
        public Builder() {}
        public Builder(GetDistributionConfigurationResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.arn = defaults.arn;
    	      this.dateCreated = defaults.dateCreated;
    	      this.dateUpdated = defaults.dateUpdated;
    	      this.description = defaults.description;
    	      this.distributions = defaults.distributions;
    	      this.id = defaults.id;
    	      this.name = defaults.name;
    	      this.tags = defaults.tags;
        }

        @CustomType.Setter
        public Builder arn(String arn) {
            this.arn = Objects.requireNonNull(arn);
            return this;
        }
        @CustomType.Setter
        public Builder dateCreated(String dateCreated) {
            this.dateCreated = Objects.requireNonNull(dateCreated);
            return this;
        }
        @CustomType.Setter
        public Builder dateUpdated(String dateUpdated) {
            this.dateUpdated = Objects.requireNonNull(dateUpdated);
            return this;
        }
        @CustomType.Setter
        public Builder description(String description) {
            this.description = Objects.requireNonNull(description);
            return this;
        }
        @CustomType.Setter
        public Builder distributions(List<GetDistributionConfigurationDistribution> distributions) {
            this.distributions = Objects.requireNonNull(distributions);
            return this;
        }
        public Builder distributions(GetDistributionConfigurationDistribution... distributions) {
            return distributions(List.of(distributions));
        }
        @CustomType.Setter
        public Builder id(String id) {
            this.id = Objects.requireNonNull(id);
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            this.name = Objects.requireNonNull(name);
            return this;
        }
        @CustomType.Setter
        public Builder tags(Map<String,String> tags) {
            this.tags = Objects.requireNonNull(tags);
            return this;
        }
        public GetDistributionConfigurationResult build() {
            final var o = new GetDistributionConfigurationResult();
            o.arn = arn;
            o.dateCreated = dateCreated;
            o.dateUpdated = dateUpdated;
            o.description = description;
            o.distributions = distributions;
            o.id = id;
            o.name = name;
            o.tags = tags;
            return o;
        }
    }
}
