
com.pulumi.scm.outputs.GetAuthenticationProfileListDataLockout 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.scm.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.util.Objects;
@CustomType
public final class GetAuthenticationProfileListDataLockout {
/**
* @return The FailedAttempts param. Value must be between 0 and 10.
*
*/
private Integer failedAttempts;
/**
* @return The LockoutTime param. Value must be between 0 and 60.
*
*/
private Integer lockoutTime;
private GetAuthenticationProfileListDataLockout() {}
/**
* @return The FailedAttempts param. Value must be between 0 and 10.
*
*/
public Integer failedAttempts() {
return this.failedAttempts;
}
/**
* @return The LockoutTime param. Value must be between 0 and 60.
*
*/
public Integer lockoutTime() {
return this.lockoutTime;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetAuthenticationProfileListDataLockout defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private Integer failedAttempts;
private Integer lockoutTime;
public Builder() {}
public Builder(GetAuthenticationProfileListDataLockout defaults) {
Objects.requireNonNull(defaults);
this.failedAttempts = defaults.failedAttempts;
this.lockoutTime = defaults.lockoutTime;
}
@CustomType.Setter
public Builder failedAttempts(Integer failedAttempts) {
if (failedAttempts == null) {
throw new MissingRequiredPropertyException("GetAuthenticationProfileListDataLockout", "failedAttempts");
}
this.failedAttempts = failedAttempts;
return this;
}
@CustomType.Setter
public Builder lockoutTime(Integer lockoutTime) {
if (lockoutTime == null) {
throw new MissingRequiredPropertyException("GetAuthenticationProfileListDataLockout", "lockoutTime");
}
this.lockoutTime = lockoutTime;
return this;
}
public GetAuthenticationProfileListDataLockout build() {
final var _resultValue = new GetAuthenticationProfileListDataLockout();
_resultValue.failedAttempts = failedAttempts;
_resultValue.lockoutTime = lockoutTime;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy