Class: Aws::Deadline::Types::TaskParameterValue

Inherits:
Struct
  • Object
show all
Includes:
Structure, Structure::Union
Defined in:
lib/aws-sdk-deadline/types.rb

Overview

Note:

TaskParameterValue is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of TaskParameterValue corresponding to the set member.

The data types for the task parameters.

Direct Known Subclasses

Float, Int, Path, String, Unknown

Defined Under Namespace

Classes: Float, Int, Path, String, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#floatString

A double precision IEEE-754 floating point number represented as a string.

Returns:



8222
8223
8224
8225
8226
8227
8228
8229
8230
8231
8232
8233
8234
8235
8236
8237
# File 'lib/aws-sdk-deadline/types.rb', line 8222

class TaskParameterValue < Struct.new(
  :int,
  :float,
  :string,
  :path,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Int < TaskParameterValue; end
  class Float < TaskParameterValue; end
  class String < TaskParameterValue; end
  class Path < TaskParameterValue; end
  class Unknown < TaskParameterValue; end
end

#intString

A signed integer represented as a string.

Returns:



8222
8223
8224
8225
8226
8227
8228
8229
8230
8231
8232
8233
8234
8235
8236
8237
# File 'lib/aws-sdk-deadline/types.rb', line 8222

class TaskParameterValue < Struct.new(
  :int,
  :float,
  :string,
  :path,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Int < TaskParameterValue; end
  class Float < TaskParameterValue; end
  class String < TaskParameterValue; end
  class Path < TaskParameterValue; end
  class Unknown < TaskParameterValue; end
end

#pathString

A file system path represented as a string.

Returns:



8222
8223
8224
8225
8226
8227
8228
8229
8230
8231
8232
8233
8234
8235
8236
8237
# File 'lib/aws-sdk-deadline/types.rb', line 8222

class TaskParameterValue < Struct.new(
  :int,
  :float,
  :string,
  :path,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Int < TaskParameterValue; end
  class Float < TaskParameterValue; end
  class String < TaskParameterValue; end
  class Path < TaskParameterValue; end
  class Unknown < TaskParameterValue; end
end

#stringString

A UTF-8 string.

Returns:



8222
8223
8224
8225
8226
8227
8228
8229
8230
8231
8232
8233
8234
8235
8236
8237
# File 'lib/aws-sdk-deadline/types.rb', line 8222

class TaskParameterValue < Struct.new(
  :int,
  :float,
  :string,
  :path,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Int < TaskParameterValue; end
  class Float < TaskParameterValue; end
  class String < TaskParameterValue; end
  class Path < TaskParameterValue; end
  class Unknown < TaskParameterValue; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



8222
8223
8224
# File 'lib/aws-sdk-deadline/types.rb', line 8222

def unknown
  @unknown
end