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

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

@CustomType
public final class GetDefinitionResult {
    /**
     * @return The description of the Blueprint Definition.
     * 
     */
    private String description;
    /**
     * @return The display name of the Blueprint Definition.
     * 
     */
    private String displayName;
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    private String id;
    /**
     * @return The timestamp of when this last modification was saved to the Blueprint Definition.
     * 
     */
    private String lastModified;
    private String name;
    private String scopeId;
    /**
     * @return The target scope.
     * 
     */
    private String targetScope;
    /**
     * @return The timestamp of when this Blueprint Definition was created.
     * 
     */
    private String timeCreated;
    /**
     * @return A list of versions published for this Blueprint Definition.
     * 
     */
    private List<String> versions;

    private GetDefinitionResult() {}
    /**
     * @return The description of the Blueprint Definition.
     * 
     */
    public String description() {
        return this.description;
    }
    /**
     * @return The display name of the Blueprint Definition.
     * 
     */
    public String displayName() {
        return this.displayName;
    }
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return The timestamp of when this last modification was saved to the Blueprint Definition.
     * 
     */
    public String lastModified() {
        return this.lastModified;
    }
    public String name() {
        return this.name;
    }
    public String scopeId() {
        return this.scopeId;
    }
    /**
     * @return The target scope.
     * 
     */
    public String targetScope() {
        return this.targetScope;
    }
    /**
     * @return The timestamp of when this Blueprint Definition was created.
     * 
     */
    public String timeCreated() {
        return this.timeCreated;
    }
    /**
     * @return A list of versions published for this Blueprint Definition.
     * 
     */
    public List<String> versions() {
        return this.versions;
    }

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

    public static Builder builder(GetDefinitionResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String description;
        private String displayName;
        private String id;
        private String lastModified;
        private String name;
        private String scopeId;
        private String targetScope;
        private String timeCreated;
        private List<String> versions;
        public Builder() {}
        public Builder(GetDefinitionResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.description = defaults.description;
    	      this.displayName = defaults.displayName;
    	      this.id = defaults.id;
    	      this.lastModified = defaults.lastModified;
    	      this.name = defaults.name;
    	      this.scopeId = defaults.scopeId;
    	      this.targetScope = defaults.targetScope;
    	      this.timeCreated = defaults.timeCreated;
    	      this.versions = defaults.versions;
        }

        @CustomType.Setter
        public Builder description(String description) {
            this.description = Objects.requireNonNull(description);
            return this;
        }
        @CustomType.Setter
        public Builder displayName(String displayName) {
            this.displayName = Objects.requireNonNull(displayName);
            return this;
        }
        @CustomType.Setter
        public Builder id(String id) {
            this.id = Objects.requireNonNull(id);
            return this;
        }
        @CustomType.Setter
        public Builder lastModified(String lastModified) {
            this.lastModified = Objects.requireNonNull(lastModified);
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            this.name = Objects.requireNonNull(name);
            return this;
        }
        @CustomType.Setter
        public Builder scopeId(String scopeId) {
            this.scopeId = Objects.requireNonNull(scopeId);
            return this;
        }
        @CustomType.Setter
        public Builder targetScope(String targetScope) {
            this.targetScope = Objects.requireNonNull(targetScope);
            return this;
        }
        @CustomType.Setter
        public Builder timeCreated(String timeCreated) {
            this.timeCreated = Objects.requireNonNull(timeCreated);
            return this;
        }
        @CustomType.Setter
        public Builder versions(List<String> versions) {
            this.versions = Objects.requireNonNull(versions);
            return this;
        }
        public Builder versions(String... versions) {
            return versions(List.of(versions));
        }
        public GetDefinitionResult build() {
            final var o = new GetDefinitionResult();
            o.description = description;
            o.displayName = displayName;
            o.id = id;
            o.lastModified = lastModified;
            o.name = name;
            o.scopeId = scopeId;
            o.targetScope = targetScope;
            o.timeCreated = timeCreated;
            o.versions = versions;
            return o;
        }
    }
}
