Class Variable
- java.lang.Object
-
- software.amazon.awssdk.services.iotanalytics.model.Variable
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Variable.Builder,Variable>
@Generated("software.amazon.awssdk:codegen") public final class Variable extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Variable.Builder,Variable>
An instance of a variable to be passed to the
containerActionexecution. Each variable must have a name and a value given by one ofstringValue,datasetContentVersionValue, oroutputFileUriValue.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceVariable.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Variable.Builderbuilder()DatasetContentVersionValuedatasetContentVersionValue()The value of the variable as a structure that specifies a dataset content version.DoubledoubleValue()The value of the variable as a double (numeric).booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringname()The name of the variable.OutputFileUriValueoutputFileUriValue()The value of the variable as a structure that specifies an output file URI.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends Variable.Builder>serializableBuilderClass()StringstringValue()The value of the variable as a string.Variable.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
name
public final String name()
The name of the variable.
- Returns:
- The name of the variable.
-
stringValue
public final String stringValue()
The value of the variable as a string.
- Returns:
- The value of the variable as a string.
-
doubleValue
public final Double doubleValue()
The value of the variable as a double (numeric).
- Returns:
- The value of the variable as a double (numeric).
-
datasetContentVersionValue
public final DatasetContentVersionValue datasetContentVersionValue()
The value of the variable as a structure that specifies a dataset content version.
- Returns:
- The value of the variable as a structure that specifies a dataset content version.
-
outputFileUriValue
public final OutputFileUriValue outputFileUriValue()
The value of the variable as a structure that specifies an output file URI.
- Returns:
- The value of the variable as a structure that specifies an output file URI.
-
toBuilder
public Variable.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Variable.Builder,Variable>
-
builder
public static Variable.Builder builder()
-
serializableBuilderClass
public static Class<? extends Variable.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-