Class: Aws::EMRServerless::Types::JobDriver

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

Overview

Note:

JobDriver is a union - when making an API calls you must set exactly one of the members.

Note:

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

The driver that the job runs on.

Direct Known Subclasses

Hive, SparkSubmit, Unknown

Defined Under Namespace

Classes: Hive, SparkSubmit, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#hiveTypes::Hive

The job driver parameters specified for Hive.

Returns:



780
781
782
783
784
785
786
787
788
789
790
791
# File 'lib/aws-sdk-emrserverless/types.rb', line 780

class JobDriver < Struct.new(
  :spark_submit,
  :hive,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class SparkSubmit < JobDriver; end
  class Hive < JobDriver; end
  class Unknown < JobDriver; end
end

#spark_submitTypes::SparkSubmit

The job driver parameters specified for Spark.

Returns:



780
781
782
783
784
785
786
787
788
789
790
791
# File 'lib/aws-sdk-emrserverless/types.rb', line 780

class JobDriver < Struct.new(
  :spark_submit,
  :hive,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class SparkSubmit < JobDriver; end
  class Hive < JobDriver; end
  class Unknown < JobDriver; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



780
781
782
# File 'lib/aws-sdk-emrserverless/types.rb', line 780

def unknown
  @unknown
end