@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmazonRedshiftAdvancedOption extends Object implements Serializable, Cloneable, StructuredPojo
Specifies an Amazon Redshift data store.
Constructor and Description |
---|
AmazonRedshiftAdvancedOption() |
Modifier and Type | Method and Description |
---|---|
AmazonRedshiftAdvancedOption |
clone() |
boolean |
equals(Object obj) |
String |
getKey()
The key when specifying a key-value pair.
|
String |
getValue()
The value when specifying a key-value pair.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setKey(String key)
The key when specifying a key-value pair.
|
void |
setValue(String value)
The value when specifying a key-value pair.
|
String |
toString()
Returns a string representation of this object.
|
AmazonRedshiftAdvancedOption |
withKey(String key)
The key when specifying a key-value pair.
|
AmazonRedshiftAdvancedOption |
withValue(String value)
The value when specifying a key-value pair.
|
public void setKey(String key)
The key when specifying a key-value pair.
key
- The key when specifying a key-value pair.public String getKey()
The key when specifying a key-value pair.
public AmazonRedshiftAdvancedOption withKey(String key)
The key when specifying a key-value pair.
key
- The key when specifying a key-value pair.public void setValue(String value)
The value when specifying a key-value pair.
value
- The value when specifying a key-value pair.public String getValue()
The value when specifying a key-value pair.
public AmazonRedshiftAdvancedOption withValue(String value)
The value when specifying a key-value pair.
value
- The value when specifying a key-value pair.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.