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

com.pulumi.azurenative.labservices.outputs.GetEnvironmentSettingResult Maven / Gradle / Ivy

There is a newer version: 2.72.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.labservices.outputs;

import com.pulumi.azurenative.labservices.outputs.LatestOperationResultResponse;
import com.pulumi.azurenative.labservices.outputs.ResourceSettingsResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class GetEnvironmentSettingResult {
    /**
     * @return Describes the user's progress in configuring their environment setting
     * 
     */
    private @Nullable String configurationState;
    /**
     * @return Describes the environment and its resource settings
     * 
     */
    private @Nullable String description;
    /**
     * @return The identifier of the resource.
     * 
     */
    private String id;
    /**
     * @return Time when the template VM was last changed.
     * 
     */
    private String lastChanged;
    /**
     * @return Time when the template VM was last sent for publishing.
     * 
     */
    private String lastPublished;
    /**
     * @return The details of the latest operation. ex: status, error
     * 
     */
    private LatestOperationResultResponse latestOperationResult;
    /**
     * @return The location of the resource.
     * 
     */
    private @Nullable String location;
    /**
     * @return The name of the resource.
     * 
     */
    private String name;
    /**
     * @return The provisioning status of the resource.
     * 
     */
    private @Nullable String provisioningState;
    /**
     * @return Describes the readiness of this environment setting
     * 
     */
    private String publishingState;
    /**
     * @return The resource specific settings
     * 
     */
    private ResourceSettingsResponse resourceSettings;
    /**
     * @return The tags of the resource.
     * 
     */
    private @Nullable Map tags;
    /**
     * @return Brief title describing the environment and its resource settings
     * 
     */
    private @Nullable String title;
    /**
     * @return The type of the resource.
     * 
     */
    private String type;
    /**
     * @return The unique immutable identifier of a resource (Guid).
     * 
     */
    private @Nullable String uniqueIdentifier;

    private GetEnvironmentSettingResult() {}
    /**
     * @return Describes the user's progress in configuring their environment setting
     * 
     */
    public Optional configurationState() {
        return Optional.ofNullable(this.configurationState);
    }
    /**
     * @return Describes the environment and its resource settings
     * 
     */
    public Optional description() {
        return Optional.ofNullable(this.description);
    }
    /**
     * @return The identifier of the resource.
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return Time when the template VM was last changed.
     * 
     */
    public String lastChanged() {
        return this.lastChanged;
    }
    /**
     * @return Time when the template VM was last sent for publishing.
     * 
     */
    public String lastPublished() {
        return this.lastPublished;
    }
    /**
     * @return The details of the latest operation. ex: status, error
     * 
     */
    public LatestOperationResultResponse latestOperationResult() {
        return this.latestOperationResult;
    }
    /**
     * @return The location of the resource.
     * 
     */
    public Optional location() {
        return Optional.ofNullable(this.location);
    }
    /**
     * @return The name of the resource.
     * 
     */
    public String name() {
        return this.name;
    }
    /**
     * @return The provisioning status of the resource.
     * 
     */
    public Optional provisioningState() {
        return Optional.ofNullable(this.provisioningState);
    }
    /**
     * @return Describes the readiness of this environment setting
     * 
     */
    public String publishingState() {
        return this.publishingState;
    }
    /**
     * @return The resource specific settings
     * 
     */
    public ResourceSettingsResponse resourceSettings() {
        return this.resourceSettings;
    }
    /**
     * @return The tags of the resource.
     * 
     */
    public Map tags() {
        return this.tags == null ? Map.of() : this.tags;
    }
    /**
     * @return Brief title describing the environment and its resource settings
     * 
     */
    public Optional title() {
        return Optional.ofNullable(this.title);
    }
    /**
     * @return The type of the resource.
     * 
     */
    public String type() {
        return this.type;
    }
    /**
     * @return The unique immutable identifier of a resource (Guid).
     * 
     */
    public Optional uniqueIdentifier() {
        return Optional.ofNullable(this.uniqueIdentifier);
    }

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

    public static Builder builder(GetEnvironmentSettingResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String configurationState;
        private @Nullable String description;
        private String id;
        private String lastChanged;
        private String lastPublished;
        private LatestOperationResultResponse latestOperationResult;
        private @Nullable String location;
        private String name;
        private @Nullable String provisioningState;
        private String publishingState;
        private ResourceSettingsResponse resourceSettings;
        private @Nullable Map tags;
        private @Nullable String title;
        private String type;
        private @Nullable String uniqueIdentifier;
        public Builder() {}
        public Builder(GetEnvironmentSettingResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.configurationState = defaults.configurationState;
    	      this.description = defaults.description;
    	      this.id = defaults.id;
    	      this.lastChanged = defaults.lastChanged;
    	      this.lastPublished = defaults.lastPublished;
    	      this.latestOperationResult = defaults.latestOperationResult;
    	      this.location = defaults.location;
    	      this.name = defaults.name;
    	      this.provisioningState = defaults.provisioningState;
    	      this.publishingState = defaults.publishingState;
    	      this.resourceSettings = defaults.resourceSettings;
    	      this.tags = defaults.tags;
    	      this.title = defaults.title;
    	      this.type = defaults.type;
    	      this.uniqueIdentifier = defaults.uniqueIdentifier;
        }

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

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

            this.description = description;
            return this;
        }
        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("GetEnvironmentSettingResult", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder lastChanged(String lastChanged) {
            if (lastChanged == null) {
              throw new MissingRequiredPropertyException("GetEnvironmentSettingResult", "lastChanged");
            }
            this.lastChanged = lastChanged;
            return this;
        }
        @CustomType.Setter
        public Builder lastPublished(String lastPublished) {
            if (lastPublished == null) {
              throw new MissingRequiredPropertyException("GetEnvironmentSettingResult", "lastPublished");
            }
            this.lastPublished = lastPublished;
            return this;
        }
        @CustomType.Setter
        public Builder latestOperationResult(LatestOperationResultResponse latestOperationResult) {
            if (latestOperationResult == null) {
              throw new MissingRequiredPropertyException("GetEnvironmentSettingResult", "latestOperationResult");
            }
            this.latestOperationResult = latestOperationResult;
            return this;
        }
        @CustomType.Setter
        public Builder location(@Nullable String location) {

            this.location = location;
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            if (name == null) {
              throw new MissingRequiredPropertyException("GetEnvironmentSettingResult", "name");
            }
            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder provisioningState(@Nullable String provisioningState) {

            this.provisioningState = provisioningState;
            return this;
        }
        @CustomType.Setter
        public Builder publishingState(String publishingState) {
            if (publishingState == null) {
              throw new MissingRequiredPropertyException("GetEnvironmentSettingResult", "publishingState");
            }
            this.publishingState = publishingState;
            return this;
        }
        @CustomType.Setter
        public Builder resourceSettings(ResourceSettingsResponse resourceSettings) {
            if (resourceSettings == null) {
              throw new MissingRequiredPropertyException("GetEnvironmentSettingResult", "resourceSettings");
            }
            this.resourceSettings = resourceSettings;
            return this;
        }
        @CustomType.Setter
        public Builder tags(@Nullable Map tags) {

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

            this.title = title;
            return this;
        }
        @CustomType.Setter
        public Builder type(String type) {
            if (type == null) {
              throw new MissingRequiredPropertyException("GetEnvironmentSettingResult", "type");
            }
            this.type = type;
            return this;
        }
        @CustomType.Setter
        public Builder uniqueIdentifier(@Nullable String uniqueIdentifier) {

            this.uniqueIdentifier = uniqueIdentifier;
            return this;
        }
        public GetEnvironmentSettingResult build() {
            final var _resultValue = new GetEnvironmentSettingResult();
            _resultValue.configurationState = configurationState;
            _resultValue.description = description;
            _resultValue.id = id;
            _resultValue.lastChanged = lastChanged;
            _resultValue.lastPublished = lastPublished;
            _resultValue.latestOperationResult = latestOperationResult;
            _resultValue.location = location;
            _resultValue.name = name;
            _resultValue.provisioningState = provisioningState;
            _resultValue.publishingState = publishingState;
            _resultValue.resourceSettings = resourceSettings;
            _resultValue.tags = tags;
            _resultValue.title = title;
            _resultValue.type = type;
            _resultValue.uniqueIdentifier = uniqueIdentifier;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy