com.pulumi.aws.quicksight.outputs.DataSourceParametersRds 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.quicksight.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class DataSourceParametersRds {
/**
* @return The database to which to connect.
*
*/
private String database;
/**
* @return The instance ID to which to connect.
*
*/
private String instanceId;
private DataSourceParametersRds() {}
/**
* @return The database to which to connect.
*
*/
public String database() {
return this.database;
}
/**
* @return The instance ID to which to connect.
*
*/
public String instanceId() {
return this.instanceId;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(DataSourceParametersRds defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String database;
private String instanceId;
public Builder() {}
public Builder(DataSourceParametersRds defaults) {
Objects.requireNonNull(defaults);
this.database = defaults.database;
this.instanceId = defaults.instanceId;
}
@CustomType.Setter
public Builder database(String database) {
if (database == null) {
throw new MissingRequiredPropertyException("DataSourceParametersRds", "database");
}
this.database = database;
return this;
}
@CustomType.Setter
public Builder instanceId(String instanceId) {
if (instanceId == null) {
throw new MissingRequiredPropertyException("DataSourceParametersRds", "instanceId");
}
this.instanceId = instanceId;
return this;
}
public DataSourceParametersRds build() {
final var _resultValue = new DataSourceParametersRds();
_resultValue.database = database;
_resultValue.instanceId = instanceId;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy