com.pulumi.snowflake.outputs.GetDatabasesLimit Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of snowflake Show documentation
Show all versions of snowflake Show documentation
A Pulumi package for creating and managing snowflake 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.snowflake.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class GetDatabasesLimit {
/**
* @return Specifies a **case-sensitive** pattern that is used to match object name. After the first match, the limit on the number of rows will be applied.
*
*/
private @Nullable String from;
/**
* @return The maximum number of rows to return.
*
*/
private Integer rows;
private GetDatabasesLimit() {}
/**
* @return Specifies a **case-sensitive** pattern that is used to match object name. After the first match, the limit on the number of rows will be applied.
*
*/
public Optional from() {
return Optional.ofNullable(this.from);
}
/**
* @return The maximum number of rows to return.
*
*/
public Integer rows() {
return this.rows;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetDatabasesLimit defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String from;
private Integer rows;
public Builder() {}
public Builder(GetDatabasesLimit defaults) {
Objects.requireNonNull(defaults);
this.from = defaults.from;
this.rows = defaults.rows;
}
@CustomType.Setter
public Builder from(@Nullable String from) {
this.from = from;
return this;
}
@CustomType.Setter
public Builder rows(Integer rows) {
if (rows == null) {
throw new MissingRequiredPropertyException("GetDatabasesLimit", "rows");
}
this.rows = rows;
return this;
}
public GetDatabasesLimit build() {
final var _resultValue = new GetDatabasesLimit();
_resultValue.from = from;
_resultValue.rows = rows;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy