com.pulumi.azurenative.iotoperationsmq.outputs.LocalBrokerConnectionSpecResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
// *** 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.iotoperationsmq.outputs;
import com.pulumi.azurenative.iotoperationsmq.outputs.LocalBrokerAuthenticationMethodsResponse;
import com.pulumi.azurenative.iotoperationsmq.outputs.LocalBrokerConnectionTlsResponse;
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 LocalBrokerConnectionSpecResponse {
/**
* @return The authentication methods for LocalBroker connection. NOTE - Enum only one method at a time is supported.
*
*/
private @Nullable LocalBrokerAuthenticationMethodsResponse authentication;
/**
* @return The endpoint of local broker to connect to.
*
*/
private @Nullable String endpoint;
/**
* @return TLS details for Local broker Connection.
*
*/
private @Nullable LocalBrokerConnectionTlsResponse tls;
private LocalBrokerConnectionSpecResponse() {}
/**
* @return The authentication methods for LocalBroker connection. NOTE - Enum only one method at a time is supported.
*
*/
public Optional authentication() {
return Optional.ofNullable(this.authentication);
}
/**
* @return The endpoint of local broker to connect to.
*
*/
public Optional endpoint() {
return Optional.ofNullable(this.endpoint);
}
/**
* @return TLS details for Local broker Connection.
*
*/
public Optional tls() {
return Optional.ofNullable(this.tls);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(LocalBrokerConnectionSpecResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable LocalBrokerAuthenticationMethodsResponse authentication;
private @Nullable String endpoint;
private @Nullable LocalBrokerConnectionTlsResponse tls;
public Builder() {}
public Builder(LocalBrokerConnectionSpecResponse defaults) {
Objects.requireNonNull(defaults);
this.authentication = defaults.authentication;
this.endpoint = defaults.endpoint;
this.tls = defaults.tls;
}
@CustomType.Setter
public Builder authentication(@Nullable LocalBrokerAuthenticationMethodsResponse authentication) {
this.authentication = authentication;
return this;
}
@CustomType.Setter
public Builder endpoint(@Nullable String endpoint) {
this.endpoint = endpoint;
return this;
}
@CustomType.Setter
public Builder tls(@Nullable LocalBrokerConnectionTlsResponse tls) {
this.tls = tls;
return this;
}
public LocalBrokerConnectionSpecResponse build() {
final var _resultValue = new LocalBrokerConnectionSpecResponse();
_resultValue.authentication = authentication;
_resultValue.endpoint = endpoint;
_resultValue.tls = tls;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy