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

com.pulumi.azurenative.web.outputs.ConnectionGatewayDefinitionResponseProperties Maven / Gradle / Ivy

// *** 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.web.outputs;

import com.pulumi.azurenative.web.outputs.ConnectionGatewayReferenceResponse;
import com.pulumi.core.annotations.CustomType;
import java.lang.Object;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class ConnectionGatewayDefinitionResponseProperties {
    /**
     * @return The URI of the backend
     * 
     */
    private @Nullable String backendUri;
    /**
     * @return The gateway installation reference
     * 
     */
    private @Nullable ConnectionGatewayReferenceResponse connectionGatewayInstallation;
    /**
     * @return The gateway admin
     * 
     */
    private @Nullable List contactInformation;
    /**
     * @return The gateway description
     * 
     */
    private @Nullable String description;
    /**
     * @return The gateway display name
     * 
     */
    private @Nullable String displayName;
    /**
     * @return The machine name of the gateway
     * 
     */
    private @Nullable String machineName;
    /**
     * @return The gateway status
     * 
     */
    private @Nullable Object status;

    private ConnectionGatewayDefinitionResponseProperties() {}
    /**
     * @return The URI of the backend
     * 
     */
    public Optional backendUri() {
        return Optional.ofNullable(this.backendUri);
    }
    /**
     * @return The gateway installation reference
     * 
     */
    public Optional connectionGatewayInstallation() {
        return Optional.ofNullable(this.connectionGatewayInstallation);
    }
    /**
     * @return The gateway admin
     * 
     */
    public List contactInformation() {
        return this.contactInformation == null ? List.of() : this.contactInformation;
    }
    /**
     * @return The gateway description
     * 
     */
    public Optional description() {
        return Optional.ofNullable(this.description);
    }
    /**
     * @return The gateway display name
     * 
     */
    public Optional displayName() {
        return Optional.ofNullable(this.displayName);
    }
    /**
     * @return The machine name of the gateway
     * 
     */
    public Optional machineName() {
        return Optional.ofNullable(this.machineName);
    }
    /**
     * @return The gateway status
     * 
     */
    public Optional status() {
        return Optional.ofNullable(this.status);
    }

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

    public static Builder builder(ConnectionGatewayDefinitionResponseProperties defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String backendUri;
        private @Nullable ConnectionGatewayReferenceResponse connectionGatewayInstallation;
        private @Nullable List contactInformation;
        private @Nullable String description;
        private @Nullable String displayName;
        private @Nullable String machineName;
        private @Nullable Object status;
        public Builder() {}
        public Builder(ConnectionGatewayDefinitionResponseProperties defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.backendUri = defaults.backendUri;
    	      this.connectionGatewayInstallation = defaults.connectionGatewayInstallation;
    	      this.contactInformation = defaults.contactInformation;
    	      this.description = defaults.description;
    	      this.displayName = defaults.displayName;
    	      this.machineName = defaults.machineName;
    	      this.status = defaults.status;
        }

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

            this.backendUri = backendUri;
            return this;
        }
        @CustomType.Setter
        public Builder connectionGatewayInstallation(@Nullable ConnectionGatewayReferenceResponse connectionGatewayInstallation) {

            this.connectionGatewayInstallation = connectionGatewayInstallation;
            return this;
        }
        @CustomType.Setter
        public Builder contactInformation(@Nullable List contactInformation) {

            this.contactInformation = contactInformation;
            return this;
        }
        public Builder contactInformation(String... contactInformation) {
            return contactInformation(List.of(contactInformation));
        }
        @CustomType.Setter
        public Builder description(@Nullable String description) {

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

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

            this.machineName = machineName;
            return this;
        }
        @CustomType.Setter
        public Builder status(@Nullable Object status) {

            this.status = status;
            return this;
        }
        public ConnectionGatewayDefinitionResponseProperties build() {
            final var _resultValue = new ConnectionGatewayDefinitionResponseProperties();
            _resultValue.backendUri = backendUri;
            _resultValue.connectionGatewayInstallation = connectionGatewayInstallation;
            _resultValue.contactInformation = contactInformation;
            _resultValue.description = description;
            _resultValue.displayName = displayName;
            _resultValue.machineName = machineName;
            _resultValue.status = status;
            return _resultValue;
        }
    }
}