com.pulumi.azurenative.iotoperationsmq.outputs.BrokerAuthenticatorMethodUsernamePasswordResponse 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.KeyVaultSecretPropertiesResponse;
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 BrokerAuthenticatorMethodUsernamePasswordResponse {
/**
* @return Keyvault username password secret properties.
*
*/
private @Nullable KeyVaultSecretPropertiesResponse keyVault;
/**
* @return Secret where username and password are stored.
*
*/
private @Nullable String secretName;
private BrokerAuthenticatorMethodUsernamePasswordResponse() {}
/**
* @return Keyvault username password secret properties.
*
*/
public Optional keyVault() {
return Optional.ofNullable(this.keyVault);
}
/**
* @return Secret where username and password are stored.
*
*/
public Optional secretName() {
return Optional.ofNullable(this.secretName);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(BrokerAuthenticatorMethodUsernamePasswordResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable KeyVaultSecretPropertiesResponse keyVault;
private @Nullable String secretName;
public Builder() {}
public Builder(BrokerAuthenticatorMethodUsernamePasswordResponse defaults) {
Objects.requireNonNull(defaults);
this.keyVault = defaults.keyVault;
this.secretName = defaults.secretName;
}
@CustomType.Setter
public Builder keyVault(@Nullable KeyVaultSecretPropertiesResponse keyVault) {
this.keyVault = keyVault;
return this;
}
@CustomType.Setter
public Builder secretName(@Nullable String secretName) {
this.secretName = secretName;
return this;
}
public BrokerAuthenticatorMethodUsernamePasswordResponse build() {
final var _resultValue = new BrokerAuthenticatorMethodUsernamePasswordResponse();
_resultValue.keyVault = keyVault;
_resultValue.secretName = secretName;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy