com.pulumi.azurenative.iotoperationsmq.outputs.KafkaRemoteBrokerConnectionSpecResponse 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.KafkaRemoteBrokerAuthenticationPropertiesResponse;
import com.pulumi.azurenative.iotoperationsmq.outputs.KafkaRemoteBrokerConnectionTlsResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class KafkaRemoteBrokerConnectionSpecResponse {
/**
* @return The remote broker authentication methods.
*
*/
private KafkaRemoteBrokerAuthenticationPropertiesResponse authentication;
/**
* @return The endpoint of remote broker to connect to.
*
*/
private String endpoint;
/**
* @return TLS details for Remote broker Connection.
*
*/
private KafkaRemoteBrokerConnectionTlsResponse tls;
private KafkaRemoteBrokerConnectionSpecResponse() {}
/**
* @return The remote broker authentication methods.
*
*/
public KafkaRemoteBrokerAuthenticationPropertiesResponse authentication() {
return this.authentication;
}
/**
* @return The endpoint of remote broker to connect to.
*
*/
public String endpoint() {
return this.endpoint;
}
/**
* @return TLS details for Remote broker Connection.
*
*/
public KafkaRemoteBrokerConnectionTlsResponse tls() {
return this.tls;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(KafkaRemoteBrokerConnectionSpecResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private KafkaRemoteBrokerAuthenticationPropertiesResponse authentication;
private String endpoint;
private KafkaRemoteBrokerConnectionTlsResponse tls;
public Builder() {}
public Builder(KafkaRemoteBrokerConnectionSpecResponse defaults) {
Objects.requireNonNull(defaults);
this.authentication = defaults.authentication;
this.endpoint = defaults.endpoint;
this.tls = defaults.tls;
}
@CustomType.Setter
public Builder authentication(KafkaRemoteBrokerAuthenticationPropertiesResponse authentication) {
if (authentication == null) {
throw new MissingRequiredPropertyException("KafkaRemoteBrokerConnectionSpecResponse", "authentication");
}
this.authentication = authentication;
return this;
}
@CustomType.Setter
public Builder endpoint(String endpoint) {
if (endpoint == null) {
throw new MissingRequiredPropertyException("KafkaRemoteBrokerConnectionSpecResponse", "endpoint");
}
this.endpoint = endpoint;
return this;
}
@CustomType.Setter
public Builder tls(KafkaRemoteBrokerConnectionTlsResponse tls) {
if (tls == null) {
throw new MissingRequiredPropertyException("KafkaRemoteBrokerConnectionSpecResponse", "tls");
}
this.tls = tls;
return this;
}
public KafkaRemoteBrokerConnectionSpecResponse build() {
final var _resultValue = new KafkaRemoteBrokerConnectionSpecResponse();
_resultValue.authentication = authentication;
_resultValue.endpoint = endpoint;
_resultValue.tls = tls;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy