com.pulumi.snowflake.outputs.GetGrantsFutureGrantsIn 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 java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class GetGrantsFutureGrantsIn {
/**
* @return Lists all privileges on new (i.e. future) objects of a specified type in the database granted to a role.
*
*/
private @Nullable String database;
/**
* @return Lists all privileges on new (i.e. future) objects of a specified type in the schema granted to a role. Schema must be a fully qualified name ("<db*name>"."<schema*name>").
*
*/
private @Nullable String schema;
private GetGrantsFutureGrantsIn() {}
/**
* @return Lists all privileges on new (i.e. future) objects of a specified type in the database granted to a role.
*
*/
public Optional database() {
return Optional.ofNullable(this.database);
}
/**
* @return Lists all privileges on new (i.e. future) objects of a specified type in the schema granted to a role. Schema must be a fully qualified name ("<db*name>"."<schema*name>").
*
*/
public Optional schema() {
return Optional.ofNullable(this.schema);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetGrantsFutureGrantsIn defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String database;
private @Nullable String schema;
public Builder() {}
public Builder(GetGrantsFutureGrantsIn defaults) {
Objects.requireNonNull(defaults);
this.database = defaults.database;
this.schema = defaults.schema;
}
@CustomType.Setter
public Builder database(@Nullable String database) {
this.database = database;
return this;
}
@CustomType.Setter
public Builder schema(@Nullable String schema) {
this.schema = schema;
return this;
}
public GetGrantsFutureGrantsIn build() {
final var _resultValue = new GetGrantsFutureGrantsIn();
_resultValue.database = database;
_resultValue.schema = schema;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy