@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RedshiftParameters extends Object implements Serializable, Cloneable, StructuredPojo
Redshift parameters. The ClusterId
field can be blank if Host
and Port
are
both set, and the other way around.
Constructor and Description |
---|
RedshiftParameters() |
Modifier and Type | Method and Description |
---|---|
RedshiftParameters |
clone() |
boolean |
equals(Object obj) |
String |
getClusterId()
Cluster ID.
|
String |
getDatabase()
Database.
|
String |
getHost()
Host.
|
Integer |
getPort()
Port.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setClusterId(String clusterId)
Cluster ID.
|
void |
setDatabase(String database)
Database.
|
void |
setHost(String host)
Host.
|
void |
setPort(Integer port)
Port.
|
String |
toString()
Returns a string representation of this object.
|
RedshiftParameters |
withClusterId(String clusterId)
Cluster ID.
|
RedshiftParameters |
withDatabase(String database)
Database.
|
RedshiftParameters |
withHost(String host)
Host.
|
RedshiftParameters |
withPort(Integer port)
Port.
|
public void setHost(String host)
Host. This can be blank if the ClusterId
is provided.
host
- Host. This can be blank if the ClusterId
is provided.public String getHost()
Host. This can be blank if the ClusterId
is provided.
ClusterId
is provided.public RedshiftParameters withHost(String host)
Host. This can be blank if the ClusterId
is provided.
host
- Host. This can be blank if the ClusterId
is provided.public void setPort(Integer port)
Port. This can be blank if the ClusterId
is provided.
port
- Port. This can be blank if the ClusterId
is provided.public Integer getPort()
Port. This can be blank if the ClusterId
is provided.
ClusterId
is provided.public RedshiftParameters withPort(Integer port)
Port. This can be blank if the ClusterId
is provided.
port
- Port. This can be blank if the ClusterId
is provided.public void setDatabase(String database)
Database.
database
- Database.public String getDatabase()
Database.
public RedshiftParameters withDatabase(String database)
Database.
database
- Database.public void setClusterId(String clusterId)
Cluster ID. This can be blank if the Host
and Port
are provided.
clusterId
- Cluster ID. This can be blank if the Host
and Port
are provided.public String getClusterId()
Cluster ID. This can be blank if the Host
and Port
are provided.
Host
and Port
are provided.public RedshiftParameters withClusterId(String clusterId)
Cluster ID. This can be blank if the Host
and Port
are provided.
clusterId
- Cluster ID. This can be blank if the Host
and Port
are provided.public String toString()
toString
in class Object
Object.toString()
public RedshiftParameters clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.