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

com.pulumi.azurenative.labservices.outputs.ConnectionProfileResponse 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.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class ConnectionProfileResponse {
    /**
     * @return The enabled access level for Client Access over RDP.
     * 
     */
    private @Nullable String clientRdpAccess;
    /**
     * @return The enabled access level for Client Access over SSH.
     * 
     */
    private @Nullable String clientSshAccess;
    /**
     * @return The enabled access level for Web Access over RDP.
     * 
     */
    private @Nullable String webRdpAccess;
    /**
     * @return The enabled access level for Web Access over SSH.
     * 
     */
    private @Nullable String webSshAccess;

    private ConnectionProfileResponse() {}
    /**
     * @return The enabled access level for Client Access over RDP.
     * 
     */
    public Optional clientRdpAccess() {
        return Optional.ofNullable(this.clientRdpAccess);
    }
    /**
     * @return The enabled access level for Client Access over SSH.
     * 
     */
    public Optional clientSshAccess() {
        return Optional.ofNullable(this.clientSshAccess);
    }
    /**
     * @return The enabled access level for Web Access over RDP.
     * 
     */
    public Optional webRdpAccess() {
        return Optional.ofNullable(this.webRdpAccess);
    }
    /**
     * @return The enabled access level for Web Access over SSH.
     * 
     */
    public Optional webSshAccess() {
        return Optional.ofNullable(this.webSshAccess);
    }

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

    public static Builder builder(ConnectionProfileResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String clientRdpAccess;
        private @Nullable String clientSshAccess;
        private @Nullable String webRdpAccess;
        private @Nullable String webSshAccess;
        public Builder() {}
        public Builder(ConnectionProfileResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.clientRdpAccess = defaults.clientRdpAccess;
    	      this.clientSshAccess = defaults.clientSshAccess;
    	      this.webRdpAccess = defaults.webRdpAccess;
    	      this.webSshAccess = defaults.webSshAccess;
        }

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

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

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

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

            this.webSshAccess = webSshAccess;
            return this;
        }
        public ConnectionProfileResponse build() {
            final var _resultValue = new ConnectionProfileResponse();
            _resultValue.clientRdpAccess = clientRdpAccess;
            _resultValue.clientSshAccess = clientSshAccess;
            _resultValue.webRdpAccess = webRdpAccess;
            _resultValue.webSshAccess = webSshAccess;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy