Class: Variant

aws-greengrass-core-sdk.StreamManager~Variant(stringValue, integerValue, doubleValue, booleanValue)

Contains an asset property value (of a single type only).

Constructor

new Variant(stringValue, integerValue, doubleValue, booleanValue)

Parameters:
Name Type Default Description
stringValue String null Asset property data of type string (sequence of characters).
integerValue Number null Asset property data of type integer (whole number).
doubleValue Number null Asset property data of type double (floating point number).
booleanValue Boolean null Asset property data of type Boolean (true or false).
Source:

Members

booleanValue

Asset property data of type Boolean (true or false).
Source:

booleanValue

Source:

doubleValue

Asset property data of type double (floating point number).
Source:

doubleValue

Source:

integerValue

Asset property data of type integer (whole number).
Source:

integerValue

Source:

stringValue

Asset property data of type string (sequence of characters).
Source:

stringValue

Source:

Methods

withBooleanValue(value) → {aws-greengrass-core-sdk.StreamManager.Variant}

Parameters:
Name Type Description
value Boolean Asset property data of type Boolean (true or false).
Source:
Returns:
Type
aws-greengrass-core-sdk.StreamManager.Variant

withDoubleValue(value) → {aws-greengrass-core-sdk.StreamManager.Variant}

Parameters:
Name Type Description
value Number Asset property data of type double (floating point number).
Source:
Returns:
Type
aws-greengrass-core-sdk.StreamManager.Variant

withIntegerValue(value) → {aws-greengrass-core-sdk.StreamManager.Variant}

Parameters:
Name Type Description
value Number Asset property data of type integer (whole number).
Source:
Returns:
Type
aws-greengrass-core-sdk.StreamManager.Variant

withStringValue(value) → {aws-greengrass-core-sdk.StreamManager.Variant}

Parameters:
Name Type Description
value String Asset property data of type string (sequence of characters).
Source:
Returns:
Type
aws-greengrass-core-sdk.StreamManager.Variant