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:



8283
8284
8285
8286
8287
8288
8289
8290
8291
8292
8293
8294
8295
8296
8297
8298
# File 'lib/aws-sdk-deadline/types.rb', line 8283

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:



8283
8284
8285
8286
8287
8288
8289
8290
8291
8292
8293
8294
8295
8296
8297
8298
# File 'lib/aws-sdk-deadline/types.rb', line 8283

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:



8283
8284
8285
8286
8287
8288
8289
8290
8291
8292
8293
8294
8295
8296
8297
8298
# File 'lib/aws-sdk-deadline/types.rb', line 8283

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:



8283
8284
8285
8286
8287
8288
8289
8290
8291
8292
8293
8294
8295
8296
8297
8298
# File 'lib/aws-sdk-deadline/types.rb', line 8283

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



8283
8284
8285
# File 'lib/aws-sdk-deadline/types.rb', line 8283

def unknown
  @unknown
end