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

com.pulumi.azurenative.kubernetes.outputs.HybridConnectionConfigResponse 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.kubernetes.outputs;

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

@CustomType
public final class HybridConnectionConfigResponse {
    /**
     * @return Timestamp when this token will be expired.
     * 
     */
    private Double expirationTime;
    /**
     * @return Name of the connection
     * 
     */
    private String hybridConnectionName;
    /**
     * @return Name of the relay.
     * 
     */
    private String relay;
    /**
     * @return Sender access token
     * 
     */
    private String token;

    private HybridConnectionConfigResponse() {}
    /**
     * @return Timestamp when this token will be expired.
     * 
     */
    public Double expirationTime() {
        return this.expirationTime;
    }
    /**
     * @return Name of the connection
     * 
     */
    public String hybridConnectionName() {
        return this.hybridConnectionName;
    }
    /**
     * @return Name of the relay.
     * 
     */
    public String relay() {
        return this.relay;
    }
    /**
     * @return Sender access token
     * 
     */
    public String token() {
        return this.token;
    }

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

    public static Builder builder(HybridConnectionConfigResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private Double expirationTime;
        private String hybridConnectionName;
        private String relay;
        private String token;
        public Builder() {}
        public Builder(HybridConnectionConfigResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.expirationTime = defaults.expirationTime;
    	      this.hybridConnectionName = defaults.hybridConnectionName;
    	      this.relay = defaults.relay;
    	      this.token = defaults.token;
        }

        @CustomType.Setter
        public Builder expirationTime(Double expirationTime) {
            if (expirationTime == null) {
              throw new MissingRequiredPropertyException("HybridConnectionConfigResponse", "expirationTime");
            }
            this.expirationTime = expirationTime;
            return this;
        }
        @CustomType.Setter
        public Builder hybridConnectionName(String hybridConnectionName) {
            if (hybridConnectionName == null) {
              throw new MissingRequiredPropertyException("HybridConnectionConfigResponse", "hybridConnectionName");
            }
            this.hybridConnectionName = hybridConnectionName;
            return this;
        }
        @CustomType.Setter
        public Builder relay(String relay) {
            if (relay == null) {
              throw new MissingRequiredPropertyException("HybridConnectionConfigResponse", "relay");
            }
            this.relay = relay;
            return this;
        }
        @CustomType.Setter
        public Builder token(String token) {
            if (token == null) {
              throw new MissingRequiredPropertyException("HybridConnectionConfigResponse", "token");
            }
            this.token = token;
            return this;
        }
        public HybridConnectionConfigResponse build() {
            final var _resultValue = new HybridConnectionConfigResponse();
            _resultValue.expirationTime = expirationTime;
            _resultValue.hybridConnectionName = hybridConnectionName;
            _resultValue.relay = relay;
            _resultValue.token = token;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy