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

com.pulumi.aws.imagebuilder.outputs.GetDistributionConfigurationResult Maven / Gradle / Ivy

Go to download

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

There is a newer version: 6.60.0-alpha.1731982519
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.aws.imagebuilder.outputs;

import com.pulumi.aws.imagebuilder.outputs.GetDistributionConfigurationDistribution;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
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 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 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 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 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 distributions;
        private String id;
        private String name;
        private Map 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) {
            if (arn == null) {
              throw new MissingRequiredPropertyException("GetDistributionConfigurationResult", "arn");
            }
            this.arn = arn;
            return this;
        }
        @CustomType.Setter
        public Builder dateCreated(String dateCreated) {
            if (dateCreated == null) {
              throw new MissingRequiredPropertyException("GetDistributionConfigurationResult", "dateCreated");
            }
            this.dateCreated = dateCreated;
            return this;
        }
        @CustomType.Setter
        public Builder dateUpdated(String dateUpdated) {
            if (dateUpdated == null) {
              throw new MissingRequiredPropertyException("GetDistributionConfigurationResult", "dateUpdated");
            }
            this.dateUpdated = dateUpdated;
            return this;
        }
        @CustomType.Setter
        public Builder description(String description) {
            if (description == null) {
              throw new MissingRequiredPropertyException("GetDistributionConfigurationResult", "description");
            }
            this.description = description;
            return this;
        }
        @CustomType.Setter
        public Builder distributions(List distributions) {
            if (distributions == null) {
              throw new MissingRequiredPropertyException("GetDistributionConfigurationResult", "distributions");
            }
            this.distributions = distributions;
            return this;
        }
        public Builder distributions(GetDistributionConfigurationDistribution... distributions) {
            return distributions(List.of(distributions));
        }
        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("GetDistributionConfigurationResult", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            if (name == null) {
              throw new MissingRequiredPropertyException("GetDistributionConfigurationResult", "name");
            }
            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder tags(Map tags) {
            if (tags == null) {
              throw new MissingRequiredPropertyException("GetDistributionConfigurationResult", "tags");
            }
            this.tags = tags;
            return this;
        }
        public GetDistributionConfigurationResult build() {
            final var _resultValue = new GetDistributionConfigurationResult();
            _resultValue.arn = arn;
            _resultValue.dateCreated = dateCreated;
            _resultValue.dateUpdated = dateUpdated;
            _resultValue.description = description;
            _resultValue.distributions = distributions;
            _resultValue.id = id;
            _resultValue.name = name;
            _resultValue.tags = tags;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy