
com.pulumi.azurenative.iotoperationsmq.outputs.SaslRemoteBrokerBasicAuthenticationResponse 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.iotoperationsmq.outputs;
import com.pulumi.azurenative.iotoperationsmq.outputs.SaslRemoteBrokerBasicAuthenticationTokenResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class SaslRemoteBrokerBasicAuthenticationResponse {
/**
* @return Sasl Mechanism for remote broker authentication.
*
*/
private String saslType;
/**
* @return Sasl token for remote broker authentication.
*
*/
private SaslRemoteBrokerBasicAuthenticationTokenResponse token;
private SaslRemoteBrokerBasicAuthenticationResponse() {}
/**
* @return Sasl Mechanism for remote broker authentication.
*
*/
public String saslType() {
return this.saslType;
}
/**
* @return Sasl token for remote broker authentication.
*
*/
public SaslRemoteBrokerBasicAuthenticationTokenResponse token() {
return this.token;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(SaslRemoteBrokerBasicAuthenticationResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String saslType;
private SaslRemoteBrokerBasicAuthenticationTokenResponse token;
public Builder() {}
public Builder(SaslRemoteBrokerBasicAuthenticationResponse defaults) {
Objects.requireNonNull(defaults);
this.saslType = defaults.saslType;
this.token = defaults.token;
}
@CustomType.Setter
public Builder saslType(String saslType) {
if (saslType == null) {
throw new MissingRequiredPropertyException("SaslRemoteBrokerBasicAuthenticationResponse", "saslType");
}
this.saslType = saslType;
return this;
}
@CustomType.Setter
public Builder token(SaslRemoteBrokerBasicAuthenticationTokenResponse token) {
if (token == null) {
throw new MissingRequiredPropertyException("SaslRemoteBrokerBasicAuthenticationResponse", "token");
}
this.token = token;
return this;
}
public SaslRemoteBrokerBasicAuthenticationResponse build() {
final var _resultValue = new SaslRemoteBrokerBasicAuthenticationResponse();
_resultValue.saslType = saslType;
_resultValue.token = token;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy