com.pulumi.aws.cognito.outputs.UserPoolSchemaNumberAttributeConstraints 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.
The newest version!
// *** 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 java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class UserPoolSchemaNumberAttributeConstraints {
/**
* @return Maximum value of an attribute that is of the number data type.
*
*/
private @Nullable String maxValue;
/**
* @return Minimum value of an attribute that is of the number data type.
*
*/
private @Nullable String minValue;
private UserPoolSchemaNumberAttributeConstraints() {}
/**
* @return Maximum value of an attribute that is of the number data type.
*
*/
public Optional maxValue() {
return Optional.ofNullable(this.maxValue);
}
/**
* @return Minimum value of an attribute that is of the number data type.
*
*/
public Optional minValue() {
return Optional.ofNullable(this.minValue);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(UserPoolSchemaNumberAttributeConstraints defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String maxValue;
private @Nullable String minValue;
public Builder() {}
public Builder(UserPoolSchemaNumberAttributeConstraints defaults) {
Objects.requireNonNull(defaults);
this.maxValue = defaults.maxValue;
this.minValue = defaults.minValue;
}
@CustomType.Setter
public Builder maxValue(@Nullable String maxValue) {
this.maxValue = maxValue;
return this;
}
@CustomType.Setter
public Builder minValue(@Nullable String minValue) {
this.minValue = minValue;
return this;
}
public UserPoolSchemaNumberAttributeConstraints build() {
final var _resultValue = new UserPoolSchemaNumberAttributeConstraints();
_resultValue.maxValue = maxValue;
_resultValue.minValue = minValue;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy