@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TrinoParameters extends Object implements Serializable, Cloneable, StructuredPojo
The parameters that are required to connect to a Trino data source.
Constructor and Description |
---|
TrinoParameters() |
Modifier and Type | Method and Description |
---|---|
TrinoParameters |
clone() |
boolean |
equals(Object obj) |
String |
getCatalog()
The catalog name for the Trino data source.
|
String |
getHost()
The host name of the Trino data source.
|
Integer |
getPort()
The port for the Trino data source.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCatalog(String catalog)
The catalog name for the Trino data source.
|
void |
setHost(String host)
The host name of the Trino data source.
|
void |
setPort(Integer port)
The port for the Trino data source.
|
String |
toString()
Returns a string representation of this object.
|
TrinoParameters |
withCatalog(String catalog)
The catalog name for the Trino data source.
|
TrinoParameters |
withHost(String host)
The host name of the Trino data source.
|
TrinoParameters |
withPort(Integer port)
The port for the Trino data source.
|
public void setHost(String host)
The host name of the Trino data source.
host
- The host name of the Trino data source.public String getHost()
The host name of the Trino data source.
public TrinoParameters withHost(String host)
The host name of the Trino data source.
host
- The host name of the Trino data source.public void setPort(Integer port)
The port for the Trino data source.
port
- The port for the Trino data source.public Integer getPort()
The port for the Trino data source.
public TrinoParameters withPort(Integer port)
The port for the Trino data source.
port
- The port for the Trino data source.public void setCatalog(String catalog)
The catalog name for the Trino data source.
catalog
- The catalog name for the Trino data source.public String getCatalog()
The catalog name for the Trino data source.
public TrinoParameters withCatalog(String catalog)
The catalog name for the Trino data source.
catalog
- The catalog name for the Trino data source.public String toString()
toString
in class Object
Object.toString()
public TrinoParameters clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.