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

com.pulumi.azurenative.devcenter.outputs.GetPoolResult Maven / Gradle / Ivy

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

import com.pulumi.azurenative.devcenter.outputs.HealthStatusDetailResponse;
import com.pulumi.azurenative.devcenter.outputs.StopOnDisconnectConfigurationResponse;
import com.pulumi.azurenative.devcenter.outputs.SystemDataResponse;
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;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class GetPoolResult {
    /**
     * @return Name of a Dev Box definition in parent Project of this Pool
     * 
     */
    private String devBoxDefinitionName;
    /**
     * @return Overall health status of the Pool. Indicates whether or not the Pool is available to create Dev Boxes.
     * 
     */
    private String healthStatus;
    /**
     * @return Details on the Pool health status to help diagnose issues. This is only populated when the pool status indicates the pool is in a non-healthy state
     * 
     */
    private List healthStatusDetails;
    /**
     * @return Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
     * 
     */
    private String id;
    /**
     * @return Specifies the license type indicating the caller has already acquired licenses for the Dev Boxes that will be created.
     * 
     */
    private String licenseType;
    /**
     * @return Indicates whether owners of Dev Boxes in this pool are added as local administrators on the Dev Box.
     * 
     */
    private String localAdministrator;
    /**
     * @return The geo-location where the resource lives
     * 
     */
    private String location;
    /**
     * @return The name of the resource
     * 
     */
    private String name;
    /**
     * @return Name of a Network Connection in parent Project of this Pool
     * 
     */
    private String networkConnectionName;
    /**
     * @return The provisioning state of the resource.
     * 
     */
    private String provisioningState;
    /**
     * @return Stop on disconnect configuration settings for Dev Boxes created in this pool.
     * 
     */
    private @Nullable StopOnDisconnectConfigurationResponse stopOnDisconnect;
    /**
     * @return Azure Resource Manager metadata containing createdBy and modifiedBy information.
     * 
     */
    private SystemDataResponse systemData;
    /**
     * @return Resource tags.
     * 
     */
    private @Nullable Map tags;
    /**
     * @return The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
     * 
     */
    private String type;

    private GetPoolResult() {}
    /**
     * @return Name of a Dev Box definition in parent Project of this Pool
     * 
     */
    public String devBoxDefinitionName() {
        return this.devBoxDefinitionName;
    }
    /**
     * @return Overall health status of the Pool. Indicates whether or not the Pool is available to create Dev Boxes.
     * 
     */
    public String healthStatus() {
        return this.healthStatus;
    }
    /**
     * @return Details on the Pool health status to help diagnose issues. This is only populated when the pool status indicates the pool is in a non-healthy state
     * 
     */
    public List healthStatusDetails() {
        return this.healthStatusDetails;
    }
    /**
     * @return Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return Specifies the license type indicating the caller has already acquired licenses for the Dev Boxes that will be created.
     * 
     */
    public String licenseType() {
        return this.licenseType;
    }
    /**
     * @return Indicates whether owners of Dev Boxes in this pool are added as local administrators on the Dev Box.
     * 
     */
    public String localAdministrator() {
        return this.localAdministrator;
    }
    /**
     * @return The geo-location where the resource lives
     * 
     */
    public String location() {
        return this.location;
    }
    /**
     * @return The name of the resource
     * 
     */
    public String name() {
        return this.name;
    }
    /**
     * @return Name of a Network Connection in parent Project of this Pool
     * 
     */
    public String networkConnectionName() {
        return this.networkConnectionName;
    }
    /**
     * @return The provisioning state of the resource.
     * 
     */
    public String provisioningState() {
        return this.provisioningState;
    }
    /**
     * @return Stop on disconnect configuration settings for Dev Boxes created in this pool.
     * 
     */
    public Optional stopOnDisconnect() {
        return Optional.ofNullable(this.stopOnDisconnect);
    }
    /**
     * @return Azure Resource Manager metadata containing createdBy and modifiedBy information.
     * 
     */
    public SystemDataResponse systemData() {
        return this.systemData;
    }
    /**
     * @return Resource tags.
     * 
     */
    public Map tags() {
        return this.tags == null ? Map.of() : this.tags;
    }
    /**
     * @return The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
     * 
     */
    public String type() {
        return this.type;
    }

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

    public static Builder builder(GetPoolResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String devBoxDefinitionName;
        private String healthStatus;
        private List healthStatusDetails;
        private String id;
        private String licenseType;
        private String localAdministrator;
        private String location;
        private String name;
        private String networkConnectionName;
        private String provisioningState;
        private @Nullable StopOnDisconnectConfigurationResponse stopOnDisconnect;
        private SystemDataResponse systemData;
        private @Nullable Map tags;
        private String type;
        public Builder() {}
        public Builder(GetPoolResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.devBoxDefinitionName = defaults.devBoxDefinitionName;
    	      this.healthStatus = defaults.healthStatus;
    	      this.healthStatusDetails = defaults.healthStatusDetails;
    	      this.id = defaults.id;
    	      this.licenseType = defaults.licenseType;
    	      this.localAdministrator = defaults.localAdministrator;
    	      this.location = defaults.location;
    	      this.name = defaults.name;
    	      this.networkConnectionName = defaults.networkConnectionName;
    	      this.provisioningState = defaults.provisioningState;
    	      this.stopOnDisconnect = defaults.stopOnDisconnect;
    	      this.systemData = defaults.systemData;
    	      this.tags = defaults.tags;
    	      this.type = defaults.type;
        }

        @CustomType.Setter
        public Builder devBoxDefinitionName(String devBoxDefinitionName) {
            if (devBoxDefinitionName == null) {
              throw new MissingRequiredPropertyException("GetPoolResult", "devBoxDefinitionName");
            }
            this.devBoxDefinitionName = devBoxDefinitionName;
            return this;
        }
        @CustomType.Setter
        public Builder healthStatus(String healthStatus) {
            if (healthStatus == null) {
              throw new MissingRequiredPropertyException("GetPoolResult", "healthStatus");
            }
            this.healthStatus = healthStatus;
            return this;
        }
        @CustomType.Setter
        public Builder healthStatusDetails(List healthStatusDetails) {
            if (healthStatusDetails == null) {
              throw new MissingRequiredPropertyException("GetPoolResult", "healthStatusDetails");
            }
            this.healthStatusDetails = healthStatusDetails;
            return this;
        }
        public Builder healthStatusDetails(HealthStatusDetailResponse... healthStatusDetails) {
            return healthStatusDetails(List.of(healthStatusDetails));
        }
        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("GetPoolResult", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder licenseType(String licenseType) {
            if (licenseType == null) {
              throw new MissingRequiredPropertyException("GetPoolResult", "licenseType");
            }
            this.licenseType = licenseType;
            return this;
        }
        @CustomType.Setter
        public Builder localAdministrator(String localAdministrator) {
            if (localAdministrator == null) {
              throw new MissingRequiredPropertyException("GetPoolResult", "localAdministrator");
            }
            this.localAdministrator = localAdministrator;
            return this;
        }
        @CustomType.Setter
        public Builder location(String location) {
            if (location == null) {
              throw new MissingRequiredPropertyException("GetPoolResult", "location");
            }
            this.location = location;
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            if (name == null) {
              throw new MissingRequiredPropertyException("GetPoolResult", "name");
            }
            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder networkConnectionName(String networkConnectionName) {
            if (networkConnectionName == null) {
              throw new MissingRequiredPropertyException("GetPoolResult", "networkConnectionName");
            }
            this.networkConnectionName = networkConnectionName;
            return this;
        }
        @CustomType.Setter
        public Builder provisioningState(String provisioningState) {
            if (provisioningState == null) {
              throw new MissingRequiredPropertyException("GetPoolResult", "provisioningState");
            }
            this.provisioningState = provisioningState;
            return this;
        }
        @CustomType.Setter
        public Builder stopOnDisconnect(@Nullable StopOnDisconnectConfigurationResponse stopOnDisconnect) {

            this.stopOnDisconnect = stopOnDisconnect;
            return this;
        }
        @CustomType.Setter
        public Builder systemData(SystemDataResponse systemData) {
            if (systemData == null) {
              throw new MissingRequiredPropertyException("GetPoolResult", "systemData");
            }
            this.systemData = systemData;
            return this;
        }
        @CustomType.Setter
        public Builder tags(@Nullable Map tags) {

            this.tags = tags;
            return this;
        }
        @CustomType.Setter
        public Builder type(String type) {
            if (type == null) {
              throw new MissingRequiredPropertyException("GetPoolResult", "type");
            }
            this.type = type;
            return this;
        }
        public GetPoolResult build() {
            final var _resultValue = new GetPoolResult();
            _resultValue.devBoxDefinitionName = devBoxDefinitionName;
            _resultValue.healthStatus = healthStatus;
            _resultValue.healthStatusDetails = healthStatusDetails;
            _resultValue.id = id;
            _resultValue.licenseType = licenseType;
            _resultValue.localAdministrator = localAdministrator;
            _resultValue.location = location;
            _resultValue.name = name;
            _resultValue.networkConnectionName = networkConnectionName;
            _resultValue.provisioningState = provisioningState;
            _resultValue.stopOnDisconnect = stopOnDisconnect;
            _resultValue.systemData = systemData;
            _resultValue.tags = tags;
            _resultValue.type = type;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy