@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Variable extends Object implements Serializable, Cloneable, StructuredPojo
An instance of a variable to be passed to the containerAction
execution. Each variable must have a name
and a value given by one of stringValue
, datasetContentVersionValue
, or
outputFileUriValue
.
Constructor and Description |
---|
Variable() |
Modifier and Type | Method and Description |
---|---|
Variable |
clone() |
boolean |
equals(Object obj) |
DatasetContentVersionValue |
getDatasetContentVersionValue()
The value of the variable as a structure that specifies a dataset content version.
|
Double |
getDoubleValue()
The value of the variable as a double (numeric).
|
String |
getName()
The name of the variable.
|
OutputFileUriValue |
getOutputFileUriValue()
The value of the variable as a structure that specifies an output file URI.
|
String |
getStringValue()
The value of the variable as a string.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDatasetContentVersionValue(DatasetContentVersionValue datasetContentVersionValue)
The value of the variable as a structure that specifies a dataset content version.
|
void |
setDoubleValue(Double doubleValue)
The value of the variable as a double (numeric).
|
void |
setName(String name)
The name of the variable.
|
void |
setOutputFileUriValue(OutputFileUriValue outputFileUriValue)
The value of the variable as a structure that specifies an output file URI.
|
void |
setStringValue(String stringValue)
The value of the variable as a string.
|
String |
toString()
Returns a string representation of this object.
|
Variable |
withDatasetContentVersionValue(DatasetContentVersionValue datasetContentVersionValue)
The value of the variable as a structure that specifies a dataset content version.
|
Variable |
withDoubleValue(Double doubleValue)
The value of the variable as a double (numeric).
|
Variable |
withName(String name)
The name of the variable.
|
Variable |
withOutputFileUriValue(OutputFileUriValue outputFileUriValue)
The value of the variable as a structure that specifies an output file URI.
|
Variable |
withStringValue(String stringValue)
The value of the variable as a string.
|
public void setName(String name)
The name of the variable.
name
- The name of the variable.public String getName()
The name of the variable.
public Variable withName(String name)
The name of the variable.
name
- The name of the variable.public void setStringValue(String stringValue)
The value of the variable as a string.
stringValue
- The value of the variable as a string.public String getStringValue()
The value of the variable as a string.
public Variable withStringValue(String stringValue)
The value of the variable as a string.
stringValue
- The value of the variable as a string.public void setDoubleValue(Double doubleValue)
The value of the variable as a double (numeric).
doubleValue
- The value of the variable as a double (numeric).public Double getDoubleValue()
The value of the variable as a double (numeric).
public Variable withDoubleValue(Double doubleValue)
The value of the variable as a double (numeric).
doubleValue
- The value of the variable as a double (numeric).public void setDatasetContentVersionValue(DatasetContentVersionValue datasetContentVersionValue)
The value of the variable as a structure that specifies a dataset content version.
datasetContentVersionValue
- The value of the variable as a structure that specifies a dataset content version.public DatasetContentVersionValue getDatasetContentVersionValue()
The value of the variable as a structure that specifies a dataset content version.
public Variable withDatasetContentVersionValue(DatasetContentVersionValue datasetContentVersionValue)
The value of the variable as a structure that specifies a dataset content version.
datasetContentVersionValue
- The value of the variable as a structure that specifies a dataset content version.public void setOutputFileUriValue(OutputFileUriValue outputFileUriValue)
The value of the variable as a structure that specifies an output file URI.
outputFileUriValue
- The value of the variable as a structure that specifies an output file URI.public OutputFileUriValue getOutputFileUriValue()
The value of the variable as a structure that specifies an output file URI.
public Variable withOutputFileUriValue(OutputFileUriValue outputFileUriValue)
The value of the variable as a structure that specifies an output file URI.
outputFileUriValue
- The value of the variable as a structure that specifies an output file URI.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.