@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmazonRedshiftAdvancedOption extends Object implements Serializable, Cloneable, StructuredPojo
Specifies an optional value when connecting to the Redshift cluster.
Constructor and Description |
---|
AmazonRedshiftAdvancedOption() |
Modifier and Type | Method and Description |
---|---|
AmazonRedshiftAdvancedOption |
clone() |
boolean |
equals(Object obj) |
String |
getKey()
The key for the additional connection option.
|
String |
getValue()
The value for the additional connection option.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setKey(String key)
The key for the additional connection option.
|
void |
setValue(String value)
The value for the additional connection option.
|
String |
toString()
Returns a string representation of this object.
|
AmazonRedshiftAdvancedOption |
withKey(String key)
The key for the additional connection option.
|
AmazonRedshiftAdvancedOption |
withValue(String value)
The value for the additional connection option.
|
public void setKey(String key)
The key for the additional connection option.
key
- The key for the additional connection option.public String getKey()
The key for the additional connection option.
public AmazonRedshiftAdvancedOption withKey(String key)
The key for the additional connection option.
key
- The key for the additional connection option.public void setValue(String value)
The value for the additional connection option.
value
- The value for the additional connection option.public String getValue()
The value for the additional connection option.
public AmazonRedshiftAdvancedOption withValue(String value)
The value for the additional connection option.
value
- The value for the additional connection option.public String toString()
toString
in class Object
Object.toString()
public AmazonRedshiftAdvancedOption clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.