
com.pulumi.aws.memorydb.outputs.GetUserAuthenticationMode Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud 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.aws.memorydb.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class GetUserAuthenticationMode {
/**
* @return Number of passwords belonging to the user if `type` is set to `password`.
*
*/
private Integer passwordCount;
/**
* @return Type of authentication configured.
*
*/
private String type;
private GetUserAuthenticationMode() {}
/**
* @return Number of passwords belonging to the user if `type` is set to `password`.
*
*/
public Integer passwordCount() {
return this.passwordCount;
}
/**
* @return Type of authentication configured.
*
*/
public String type() {
return this.type;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetUserAuthenticationMode defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private Integer passwordCount;
private String type;
public Builder() {}
public Builder(GetUserAuthenticationMode defaults) {
Objects.requireNonNull(defaults);
this.passwordCount = defaults.passwordCount;
this.type = defaults.type;
}
@CustomType.Setter
public Builder passwordCount(Integer passwordCount) {
if (passwordCount == null) {
throw new MissingRequiredPropertyException("GetUserAuthenticationMode", "passwordCount");
}
this.passwordCount = passwordCount;
return this;
}
@CustomType.Setter
public Builder type(String type) {
if (type == null) {
throw new MissingRequiredPropertyException("GetUserAuthenticationMode", "type");
}
this.type = type;
return this;
}
public GetUserAuthenticationMode build() {
final var _resultValue = new GetUserAuthenticationMode();
_resultValue.passwordCount = passwordCount;
_resultValue.type = type;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy