
com.pulumi.azurenative.iotoperations.inputs.BrokerAuthenticationPropertiesArgs 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.iotoperations.inputs;
import com.pulumi.azurenative.iotoperations.inputs.BrokerAuthenticatorMethodsArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.util.List;
import java.util.Objects;
/**
* BrokerAuthentication Resource properties
*
*/
public final class BrokerAuthenticationPropertiesArgs extends com.pulumi.resources.ResourceArgs {
public static final BrokerAuthenticationPropertiesArgs Empty = new BrokerAuthenticationPropertiesArgs();
/**
* Defines a set of Broker authentication methods to be used on `BrokerListeners`. For each array element one authenticator type supported.
*
*/
@Import(name="authenticationMethods", required=true)
private Output> authenticationMethods;
/**
* @return Defines a set of Broker authentication methods to be used on `BrokerListeners`. For each array element one authenticator type supported.
*
*/
public Output> authenticationMethods() {
return this.authenticationMethods;
}
private BrokerAuthenticationPropertiesArgs() {}
private BrokerAuthenticationPropertiesArgs(BrokerAuthenticationPropertiesArgs $) {
this.authenticationMethods = $.authenticationMethods;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(BrokerAuthenticationPropertiesArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private BrokerAuthenticationPropertiesArgs $;
public Builder() {
$ = new BrokerAuthenticationPropertiesArgs();
}
public Builder(BrokerAuthenticationPropertiesArgs defaults) {
$ = new BrokerAuthenticationPropertiesArgs(Objects.requireNonNull(defaults));
}
/**
* @param authenticationMethods Defines a set of Broker authentication methods to be used on `BrokerListeners`. For each array element one authenticator type supported.
*
* @return builder
*
*/
public Builder authenticationMethods(Output> authenticationMethods) {
$.authenticationMethods = authenticationMethods;
return this;
}
/**
* @param authenticationMethods Defines a set of Broker authentication methods to be used on `BrokerListeners`. For each array element one authenticator type supported.
*
* @return builder
*
*/
public Builder authenticationMethods(List authenticationMethods) {
return authenticationMethods(Output.of(authenticationMethods));
}
/**
* @param authenticationMethods Defines a set of Broker authentication methods to be used on `BrokerListeners`. For each array element one authenticator type supported.
*
* @return builder
*
*/
public Builder authenticationMethods(BrokerAuthenticatorMethodsArgs... authenticationMethods) {
return authenticationMethods(List.of(authenticationMethods));
}
public BrokerAuthenticationPropertiesArgs build() {
if ($.authenticationMethods == null) {
throw new MissingRequiredPropertyException("BrokerAuthenticationPropertiesArgs", "authenticationMethods");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy