com.pulumi.aws.cognito.outputs.GetUserPoolSchemaAttributeNumberAttributeConstraint 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.cognito.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class GetUserPoolSchemaAttributeNumberAttributeConstraint {
/**
* @return - Maximum allowed value.
*
*/
private String maxValue;
/**
* @return - Minimum allowed value.
*
*/
private String minValue;
private GetUserPoolSchemaAttributeNumberAttributeConstraint() {}
/**
* @return - Maximum allowed value.
*
*/
public String maxValue() {
return this.maxValue;
}
/**
* @return - Minimum allowed value.
*
*/
public String minValue() {
return this.minValue;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetUserPoolSchemaAttributeNumberAttributeConstraint defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String maxValue;
private String minValue;
public Builder() {}
public Builder(GetUserPoolSchemaAttributeNumberAttributeConstraint defaults) {
Objects.requireNonNull(defaults);
this.maxValue = defaults.maxValue;
this.minValue = defaults.minValue;
}
@CustomType.Setter
public Builder maxValue(String maxValue) {
if (maxValue == null) {
throw new MissingRequiredPropertyException("GetUserPoolSchemaAttributeNumberAttributeConstraint", "maxValue");
}
this.maxValue = maxValue;
return this;
}
@CustomType.Setter
public Builder minValue(String minValue) {
if (minValue == null) {
throw new MissingRequiredPropertyException("GetUserPoolSchemaAttributeNumberAttributeConstraint", "minValue");
}
this.minValue = minValue;
return this;
}
public GetUserPoolSchemaAttributeNumberAttributeConstraint build() {
final var _resultValue = new GetUserPoolSchemaAttributeNumberAttributeConstraint();
_resultValue.maxValue = maxValue;
_resultValue.minValue = minValue;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy