@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SqlParameter extends Object implements Serializable, Cloneable, StructuredPojo
A parameter used in a SQL statement.
| Constructor and Description |
|---|
SqlParameter() |
| Modifier and Type | Method and Description |
|---|---|
SqlParameter |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name of the parameter.
|
String |
getValue()
The value of the parameter.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setName(String name)
The name of the parameter.
|
void |
setValue(String value)
The value of the parameter.
|
String |
toString()
Returns a string representation of this object.
|
SqlParameter |
withName(String name)
The name of the parameter.
|
SqlParameter |
withValue(String value)
The value of the parameter.
|
public void setName(String name)
The name of the parameter.
name - The name of the parameter.public String getName()
The name of the parameter.
public SqlParameter withName(String name)
The name of the parameter.
name - The name of the parameter.public void setValue(String value)
The value of the parameter. Amazon Redshift implicitly converts to the proper data type. For more information, see Data types in the Amazon Redshift Database Developer Guide.
value - The value of the parameter. Amazon Redshift implicitly converts to the proper data type. For more
information, see Data
types in the Amazon Redshift Database Developer Guide.public String getValue()
The value of the parameter. Amazon Redshift implicitly converts to the proper data type. For more information, see Data types in the Amazon Redshift Database Developer Guide.
public SqlParameter withValue(String value)
The value of the parameter. Amazon Redshift implicitly converts to the proper data type. For more information, see Data types in the Amazon Redshift Database Developer Guide.
value - The value of the parameter. Amazon Redshift implicitly converts to the proper data type. For more
information, see Data
types in the Amazon Redshift Database Developer Guide.public String toString()
toString in class ObjectObject.toString()public SqlParameter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.