@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CellInput extends Object implements Serializable, Cloneable, StructuredPojo
CellInput object contains the data needed to create or update cells in a table.
CellInput object has only a facts field or a fact field, but not both. A 400 bad request will be thrown if both fact and facts field are present.
Constructor and Description |
---|
CellInput() |
Modifier and Type | Method and Description |
---|---|
CellInput |
clone() |
boolean |
equals(Object obj) |
String |
getFact()
Fact represents the data that is entered into a cell.
|
List<String> |
getFacts()
A list representing the values that are entered into a ROWSET cell.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setFact(String fact)
Fact represents the data that is entered into a cell.
|
void |
setFacts(Collection<String> facts)
A list representing the values that are entered into a ROWSET cell.
|
String |
toString()
Returns a string representation of this object.
|
CellInput |
withFact(String fact)
Fact represents the data that is entered into a cell.
|
CellInput |
withFacts(Collection<String> facts)
A list representing the values that are entered into a ROWSET cell.
|
CellInput |
withFacts(String... facts)
A list representing the values that are entered into a ROWSET cell.
|
public void setFact(String fact)
Fact represents the data that is entered into a cell. This data can be free text or a formula. Formulas need to start with the equals (=) sign.
fact
- Fact represents the data that is entered into a cell. This data can be free text or a formula. Formulas
need to start with the equals (=) sign.public String getFact()
Fact represents the data that is entered into a cell. This data can be free text or a formula. Formulas need to start with the equals (=) sign.
public CellInput withFact(String fact)
Fact represents the data that is entered into a cell. This data can be free text or a formula. Formulas need to start with the equals (=) sign.
fact
- Fact represents the data that is entered into a cell. This data can be free text or a formula. Formulas
need to start with the equals (=) sign.public List<String> getFacts()
A list representing the values that are entered into a ROWSET cell. Facts list can have either only values or rowIDs, and rowIDs should from the same table.
public void setFacts(Collection<String> facts)
A list representing the values that are entered into a ROWSET cell. Facts list can have either only values or rowIDs, and rowIDs should from the same table.
facts
- A list representing the values that are entered into a ROWSET cell. Facts list can have either only values
or rowIDs, and rowIDs should from the same table.public CellInput withFacts(String... facts)
A list representing the values that are entered into a ROWSET cell. Facts list can have either only values or rowIDs, and rowIDs should from the same table.
NOTE: This method appends the values to the existing list (if any). Use
setFacts(java.util.Collection)
or withFacts(java.util.Collection)
if you want to override the
existing values.
facts
- A list representing the values that are entered into a ROWSET cell. Facts list can have either only values
or rowIDs, and rowIDs should from the same table.public CellInput withFacts(Collection<String> facts)
A list representing the values that are entered into a ROWSET cell. Facts list can have either only values or rowIDs, and rowIDs should from the same table.
facts
- A list representing the values that are entered into a ROWSET cell. Facts list can have either only values
or rowIDs, and rowIDs should from the same table.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.