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

com.pulumi.azurenative.scom.outputs.MonitoredResourcePropertiesResponse 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.scom.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class MonitoredResourcePropertiesResponse {
    /**
     * @return The version of the monitored resource agent version.
     * 
     */
    private String agentVersion;
    /**
     * @return ComputerName of the monitored resource.
     * 
     */
    private @Nullable String computerName;
    /**
     * @return The connection status of the monitored resource.
     * 
     */
    private String connectionStatus;
    /**
     * @return The domain name associated with the monitored resource.
     * 
     */
    private @Nullable String domainName;
    /**
     * @return The health status of the monitored resource.
     * 
     */
    private String healthStatus;
    /**
     * @return Install type of monitored resource.
     * 
     */
    private String installType;
    /**
     * @return The management server endpoint to which the monitored resource is directed.
     * 
     */
    private String managementServerEndpoint;
    private String provisioningState;
    /**
     * @return ArmId of the monitored resource.
     * 
     */
    private @Nullable String resourceId;
    /**
     * @return Location of the monitored resource.
     * 
     */
    private @Nullable String resourceLocation;

    private MonitoredResourcePropertiesResponse() {}
    /**
     * @return The version of the monitored resource agent version.
     * 
     */
    public String agentVersion() {
        return this.agentVersion;
    }
    /**
     * @return ComputerName of the monitored resource.
     * 
     */
    public Optional computerName() {
        return Optional.ofNullable(this.computerName);
    }
    /**
     * @return The connection status of the monitored resource.
     * 
     */
    public String connectionStatus() {
        return this.connectionStatus;
    }
    /**
     * @return The domain name associated with the monitored resource.
     * 
     */
    public Optional domainName() {
        return Optional.ofNullable(this.domainName);
    }
    /**
     * @return The health status of the monitored resource.
     * 
     */
    public String healthStatus() {
        return this.healthStatus;
    }
    /**
     * @return Install type of monitored resource.
     * 
     */
    public String installType() {
        return this.installType;
    }
    /**
     * @return The management server endpoint to which the monitored resource is directed.
     * 
     */
    public String managementServerEndpoint() {
        return this.managementServerEndpoint;
    }
    public String provisioningState() {
        return this.provisioningState;
    }
    /**
     * @return ArmId of the monitored resource.
     * 
     */
    public Optional resourceId() {
        return Optional.ofNullable(this.resourceId);
    }
    /**
     * @return Location of the monitored resource.
     * 
     */
    public Optional resourceLocation() {
        return Optional.ofNullable(this.resourceLocation);
    }

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

    public static Builder builder(MonitoredResourcePropertiesResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String agentVersion;
        private @Nullable String computerName;
        private String connectionStatus;
        private @Nullable String domainName;
        private String healthStatus;
        private String installType;
        private String managementServerEndpoint;
        private String provisioningState;
        private @Nullable String resourceId;
        private @Nullable String resourceLocation;
        public Builder() {}
        public Builder(MonitoredResourcePropertiesResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.agentVersion = defaults.agentVersion;
    	      this.computerName = defaults.computerName;
    	      this.connectionStatus = defaults.connectionStatus;
    	      this.domainName = defaults.domainName;
    	      this.healthStatus = defaults.healthStatus;
    	      this.installType = defaults.installType;
    	      this.managementServerEndpoint = defaults.managementServerEndpoint;
    	      this.provisioningState = defaults.provisioningState;
    	      this.resourceId = defaults.resourceId;
    	      this.resourceLocation = defaults.resourceLocation;
        }

        @CustomType.Setter
        public Builder agentVersion(String agentVersion) {
            if (agentVersion == null) {
              throw new MissingRequiredPropertyException("MonitoredResourcePropertiesResponse", "agentVersion");
            }
            this.agentVersion = agentVersion;
            return this;
        }
        @CustomType.Setter
        public Builder computerName(@Nullable String computerName) {

            this.computerName = computerName;
            return this;
        }
        @CustomType.Setter
        public Builder connectionStatus(String connectionStatus) {
            if (connectionStatus == null) {
              throw new MissingRequiredPropertyException("MonitoredResourcePropertiesResponse", "connectionStatus");
            }
            this.connectionStatus = connectionStatus;
            return this;
        }
        @CustomType.Setter
        public Builder domainName(@Nullable String domainName) {

            this.domainName = domainName;
            return this;
        }
        @CustomType.Setter
        public Builder healthStatus(String healthStatus) {
            if (healthStatus == null) {
              throw new MissingRequiredPropertyException("MonitoredResourcePropertiesResponse", "healthStatus");
            }
            this.healthStatus = healthStatus;
            return this;
        }
        @CustomType.Setter
        public Builder installType(String installType) {
            if (installType == null) {
              throw new MissingRequiredPropertyException("MonitoredResourcePropertiesResponse", "installType");
            }
            this.installType = installType;
            return this;
        }
        @CustomType.Setter
        public Builder managementServerEndpoint(String managementServerEndpoint) {
            if (managementServerEndpoint == null) {
              throw new MissingRequiredPropertyException("MonitoredResourcePropertiesResponse", "managementServerEndpoint");
            }
            this.managementServerEndpoint = managementServerEndpoint;
            return this;
        }
        @CustomType.Setter
        public Builder provisioningState(String provisioningState) {
            if (provisioningState == null) {
              throw new MissingRequiredPropertyException("MonitoredResourcePropertiesResponse", "provisioningState");
            }
            this.provisioningState = provisioningState;
            return this;
        }
        @CustomType.Setter
        public Builder resourceId(@Nullable String resourceId) {

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

            this.resourceLocation = resourceLocation;
            return this;
        }
        public MonitoredResourcePropertiesResponse build() {
            final var _resultValue = new MonitoredResourcePropertiesResponse();
            _resultValue.agentVersion = agentVersion;
            _resultValue.computerName = computerName;
            _resultValue.connectionStatus = connectionStatus;
            _resultValue.domainName = domainName;
            _resultValue.healthStatus = healthStatus;
            _resultValue.installType = installType;
            _resultValue.managementServerEndpoint = managementServerEndpoint;
            _resultValue.provisioningState = provisioningState;
            _resultValue.resourceId = resourceId;
            _resultValue.resourceLocation = resourceLocation;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy