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

ChunkInt, Float, Int, Path, String, Unknown

Defined Under Namespace

Classes: ChunkInt, Float, Int, Path, String, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#chunk_intString

A range (for example 1-10) or selection of specific (for example 1,3,7,8,10) integers represented as a string.



9240
9241
9242
9243
9244
9245
9246
9247
9248
9249
9250
9251
9252
9253
9254
9255
9256
9257
# File 'lib/aws-sdk-deadline/types.rb', line 9240

class TaskParameterValue < Struct.new(
  :int,
  :float,
  :string,
  :path,
  :chunk_int,
  :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 ChunkInt < TaskParameterValue; end
  class Unknown < TaskParameterValue; end
end

#floatString

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



9240
9241
9242
9243
9244
9245
9246
9247
9248
9249
9250
9251
9252
9253
9254
9255
9256
9257
# File 'lib/aws-sdk-deadline/types.rb', line 9240

class TaskParameterValue < Struct.new(
  :int,
  :float,
  :string,
  :path,
  :chunk_int,
  :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 ChunkInt < TaskParameterValue; end
  class Unknown < TaskParameterValue; end
end

#intString

A signed integer represented as a string.



9240
9241
9242
9243
9244
9245
9246
9247
9248
9249
9250
9251
9252
9253
9254
9255
9256
9257
# File 'lib/aws-sdk-deadline/types.rb', line 9240

class TaskParameterValue < Struct.new(
  :int,
  :float,
  :string,
  :path,
  :chunk_int,
  :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 ChunkInt < TaskParameterValue; end
  class Unknown < TaskParameterValue; end
end

#pathString

A file system path represented as a string.



9240
9241
9242
9243
9244
9245
9246
9247
9248
9249
9250
9251
9252
9253
9254
9255
9256
9257
# File 'lib/aws-sdk-deadline/types.rb', line 9240

class TaskParameterValue < Struct.new(
  :int,
  :float,
  :string,
  :path,
  :chunk_int,
  :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 ChunkInt < TaskParameterValue; end
  class Unknown < TaskParameterValue; end
end

#stringString

A UTF-8 string.



9240
9241
9242
9243
9244
9245
9246
9247
9248
9249
9250
9251
9252
9253
9254
9255
9256
9257
# File 'lib/aws-sdk-deadline/types.rb', line 9240

class TaskParameterValue < Struct.new(
  :int,
  :float,
  :string,
  :path,
  :chunk_int,
  :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 ChunkInt < TaskParameterValue; end
  class Unknown < TaskParameterValue; end
end

#unknownObject

Returns the value of attribute unknown



9240
9241
9242
# File 'lib/aws-sdk-deadline/types.rb', line 9240

def unknown
  @unknown
end