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

com.pulumi.azurenative.security.outputs.OnPremiseResourceDetailsResponse 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.security.outputs;

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

@CustomType
public final class OnPremiseResourceDetailsResponse {
    /**
     * @return The name of the machine
     * 
     */
    private String machineName;
    /**
     * @return The platform where the assessed resource resides
     * Expected value is 'OnPremise'.
     * 
     */
    private String source;
    /**
     * @return The oms agent Id installed on the machine
     * 
     */
    private String sourceComputerId;
    /**
     * @return The unique Id of the machine
     * 
     */
    private String vmuuid;
    /**
     * @return Azure resource Id of the workspace the machine is attached to
     * 
     */
    private String workspaceId;

    private OnPremiseResourceDetailsResponse() {}
    /**
     * @return The name of the machine
     * 
     */
    public String machineName() {
        return this.machineName;
    }
    /**
     * @return The platform where the assessed resource resides
     * Expected value is 'OnPremise'.
     * 
     */
    public String source() {
        return this.source;
    }
    /**
     * @return The oms agent Id installed on the machine
     * 
     */
    public String sourceComputerId() {
        return this.sourceComputerId;
    }
    /**
     * @return The unique Id of the machine
     * 
     */
    public String vmuuid() {
        return this.vmuuid;
    }
    /**
     * @return Azure resource Id of the workspace the machine is attached to
     * 
     */
    public String workspaceId() {
        return this.workspaceId;
    }

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

    public static Builder builder(OnPremiseResourceDetailsResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String machineName;
        private String source;
        private String sourceComputerId;
        private String vmuuid;
        private String workspaceId;
        public Builder() {}
        public Builder(OnPremiseResourceDetailsResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.machineName = defaults.machineName;
    	      this.source = defaults.source;
    	      this.sourceComputerId = defaults.sourceComputerId;
    	      this.vmuuid = defaults.vmuuid;
    	      this.workspaceId = defaults.workspaceId;
        }

        @CustomType.Setter
        public Builder machineName(String machineName) {
            if (machineName == null) {
              throw new MissingRequiredPropertyException("OnPremiseResourceDetailsResponse", "machineName");
            }
            this.machineName = machineName;
            return this;
        }
        @CustomType.Setter
        public Builder source(String source) {
            if (source == null) {
              throw new MissingRequiredPropertyException("OnPremiseResourceDetailsResponse", "source");
            }
            this.source = source;
            return this;
        }
        @CustomType.Setter
        public Builder sourceComputerId(String sourceComputerId) {
            if (sourceComputerId == null) {
              throw new MissingRequiredPropertyException("OnPremiseResourceDetailsResponse", "sourceComputerId");
            }
            this.sourceComputerId = sourceComputerId;
            return this;
        }
        @CustomType.Setter
        public Builder vmuuid(String vmuuid) {
            if (vmuuid == null) {
              throw new MissingRequiredPropertyException("OnPremiseResourceDetailsResponse", "vmuuid");
            }
            this.vmuuid = vmuuid;
            return this;
        }
        @CustomType.Setter
        public Builder workspaceId(String workspaceId) {
            if (workspaceId == null) {
              throw new MissingRequiredPropertyException("OnPremiseResourceDetailsResponse", "workspaceId");
            }
            this.workspaceId = workspaceId;
            return this;
        }
        public OnPremiseResourceDetailsResponse build() {
            final var _resultValue = new OnPremiseResourceDetailsResponse();
            _resultValue.machineName = machineName;
            _resultValue.source = source;
            _resultValue.sourceComputerId = sourceComputerId;
            _resultValue.vmuuid = vmuuid;
            _resultValue.workspaceId = workspaceId;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy