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

com.pulumi.azurenative.migrate.outputs.SolutionPropertiesResponse Maven / Gradle / Ivy

There is a newer version: 2.82.0
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.azurenative.migrate.outputs;

import com.pulumi.azurenative.migrate.outputs.DatabasesSolutionSummaryResponse;
import com.pulumi.azurenative.migrate.outputs.ServersSolutionSummaryResponse;
import com.pulumi.azurenative.migrate.outputs.SolutionDetailsResponse;
import com.pulumi.azurenative.migrate.outputs.SolutionSummaryResponse;
import com.pulumi.core.annotations.CustomType;
import java.lang.Object;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class SolutionPropertiesResponse {
    /**
     * @return Gets or sets the cleanup state of the solution.
     * 
     */
    private @Nullable String cleanupState;
    /**
     * @return Gets or sets the details of the solution.
     * 
     */
    private @Nullable SolutionDetailsResponse details;
    /**
     * @return Gets or sets the goal of the solution.
     * 
     */
    private @Nullable String goal;
    /**
     * @return Gets or sets the purpose of the solution.
     * 
     */
    private @Nullable String purpose;
    /**
     * @return Gets or sets the current status of the solution.
     * 
     */
    private @Nullable String status;
    /**
     * @return Gets or sets the summary of the solution.
     * 
     */
    private @Nullable Object summary;
    /**
     * @return Gets or sets the tool being used in the solution.
     * 
     */
    private @Nullable String tool;

    private SolutionPropertiesResponse() {}
    /**
     * @return Gets or sets the cleanup state of the solution.
     * 
     */
    public Optional cleanupState() {
        return Optional.ofNullable(this.cleanupState);
    }
    /**
     * @return Gets or sets the details of the solution.
     * 
     */
    public Optional details() {
        return Optional.ofNullable(this.details);
    }
    /**
     * @return Gets or sets the goal of the solution.
     * 
     */
    public Optional goal() {
        return Optional.ofNullable(this.goal);
    }
    /**
     * @return Gets or sets the purpose of the solution.
     * 
     */
    public Optional purpose() {
        return Optional.ofNullable(this.purpose);
    }
    /**
     * @return Gets or sets the current status of the solution.
     * 
     */
    public Optional status() {
        return Optional.ofNullable(this.status);
    }
    /**
     * @return Gets or sets the summary of the solution.
     * 
     */
    public Optional summary() {
        return Optional.ofNullable(this.summary);
    }
    /**
     * @return Gets or sets the tool being used in the solution.
     * 
     */
    public Optional tool() {
        return Optional.ofNullable(this.tool);
    }

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

    public static Builder builder(SolutionPropertiesResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String cleanupState;
        private @Nullable SolutionDetailsResponse details;
        private @Nullable String goal;
        private @Nullable String purpose;
        private @Nullable String status;
        private @Nullable Object summary;
        private @Nullable String tool;
        public Builder() {}
        public Builder(SolutionPropertiesResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.cleanupState = defaults.cleanupState;
    	      this.details = defaults.details;
    	      this.goal = defaults.goal;
    	      this.purpose = defaults.purpose;
    	      this.status = defaults.status;
    	      this.summary = defaults.summary;
    	      this.tool = defaults.tool;
        }

        @CustomType.Setter
        public Builder cleanupState(@Nullable String cleanupState) {

            this.cleanupState = cleanupState;
            return this;
        }
        @CustomType.Setter
        public Builder details(@Nullable SolutionDetailsResponse details) {

            this.details = details;
            return this;
        }
        @CustomType.Setter
        public Builder goal(@Nullable String goal) {

            this.goal = goal;
            return this;
        }
        @CustomType.Setter
        public Builder purpose(@Nullable String purpose) {

            this.purpose = purpose;
            return this;
        }
        @CustomType.Setter
        public Builder status(@Nullable String status) {

            this.status = status;
            return this;
        }
        @CustomType.Setter
        public Builder summary(@Nullable Object summary) {

            this.summary = summary;
            return this;
        }
        @CustomType.Setter
        public Builder tool(@Nullable String tool) {

            this.tool = tool;
            return this;
        }
        public SolutionPropertiesResponse build() {
            final var _resultValue = new SolutionPropertiesResponse();
            _resultValue.cleanupState = cleanupState;
            _resultValue.details = details;
            _resultValue.goal = goal;
            _resultValue.purpose = purpose;
            _resultValue.status = status;
            _resultValue.summary = summary;
            _resultValue.tool = tool;
            return _resultValue;
        }
    }
}