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