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

com.pulumi.azurenative.labservices.outputs.VmStateDetailsResponse 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.labservices.outputs;

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

@CustomType
public final class VmStateDetailsResponse {
    /**
     * @return Last known compute power state captured in DTL
     * 
     */
    private String lastKnownPowerState;
    /**
     * @return The power state of the reference virtual machine.
     * 
     */
    private String powerState;
    /**
     * @return The RdpAuthority property is a server DNS host name or IP address followed by the service port number for RDP (Remote Desktop Protocol).
     * 
     */
    private String rdpAuthority;
    /**
     * @return The SshAuthority property is a server DNS host name or IP address followed by the service port number for SSH.
     * 
     */
    private String sshAuthority;

    private VmStateDetailsResponse() {}
    /**
     * @return Last known compute power state captured in DTL
     * 
     */
    public String lastKnownPowerState() {
        return this.lastKnownPowerState;
    }
    /**
     * @return The power state of the reference virtual machine.
     * 
     */
    public String powerState() {
        return this.powerState;
    }
    /**
     * @return The RdpAuthority property is a server DNS host name or IP address followed by the service port number for RDP (Remote Desktop Protocol).
     * 
     */
    public String rdpAuthority() {
        return this.rdpAuthority;
    }
    /**
     * @return The SshAuthority property is a server DNS host name or IP address followed by the service port number for SSH.
     * 
     */
    public String sshAuthority() {
        return this.sshAuthority;
    }

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

    public static Builder builder(VmStateDetailsResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String lastKnownPowerState;
        private String powerState;
        private String rdpAuthority;
        private String sshAuthority;
        public Builder() {}
        public Builder(VmStateDetailsResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.lastKnownPowerState = defaults.lastKnownPowerState;
    	      this.powerState = defaults.powerState;
    	      this.rdpAuthority = defaults.rdpAuthority;
    	      this.sshAuthority = defaults.sshAuthority;
        }

        @CustomType.Setter
        public Builder lastKnownPowerState(String lastKnownPowerState) {
            if (lastKnownPowerState == null) {
              throw new MissingRequiredPropertyException("VmStateDetailsResponse", "lastKnownPowerState");
            }
            this.lastKnownPowerState = lastKnownPowerState;
            return this;
        }
        @CustomType.Setter
        public Builder powerState(String powerState) {
            if (powerState == null) {
              throw new MissingRequiredPropertyException("VmStateDetailsResponse", "powerState");
            }
            this.powerState = powerState;
            return this;
        }
        @CustomType.Setter
        public Builder rdpAuthority(String rdpAuthority) {
            if (rdpAuthority == null) {
              throw new MissingRequiredPropertyException("VmStateDetailsResponse", "rdpAuthority");
            }
            this.rdpAuthority = rdpAuthority;
            return this;
        }
        @CustomType.Setter
        public Builder sshAuthority(String sshAuthority) {
            if (sshAuthority == null) {
              throw new MissingRequiredPropertyException("VmStateDetailsResponse", "sshAuthority");
            }
            this.sshAuthority = sshAuthority;
            return this;
        }
        public VmStateDetailsResponse build() {
            final var _resultValue = new VmStateDetailsResponse();
            _resultValue.lastKnownPowerState = lastKnownPowerState;
            _resultValue.powerState = powerState;
            _resultValue.rdpAuthority = rdpAuthority;
            _resultValue.sshAuthority = sshAuthority;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy