Class: Aws::Continuum::Types::DestinationTarget

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-continuum/lib/aws-sdk-continuum/types.rb

Overview

Note:

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

Identity only. Future providers may add union members without duplicating state.

Defined Under Namespace

Classes: Github, S3, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#github ⇒ Types::GitHubTarget

The GitHub repository the patch is delivered to, including the pull request once it is opened.

Returns:



772
773
774
775
776
777
778
779
780
781
782
783
# File 'gems/aws-sdk-continuum/lib/aws-sdk-continuum/types.rb', line 772

class DestinationTarget < Struct.new(
  :s3,
  :github,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class S3 < DestinationTarget; end
  class Github < DestinationTarget; end
  class Unknown < DestinationTarget; end
end

#s3 ⇒ Types::S3Target

The S3 object the patch is delivered to.

Returns:



772
773
774
775
776
777
778
779
780
781
782
783
# File 'gems/aws-sdk-continuum/lib/aws-sdk-continuum/types.rb', line 772

class DestinationTarget < Struct.new(
  :s3,
  :github,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class S3 < DestinationTarget; end
  class Github < DestinationTarget; end
  class Unknown < DestinationTarget; end
end

#unknown ⇒ Object

Returns the value of attribute unknown

Returns:

  • (Object) —

    the current value of unknown



772
773
774
# File 'gems/aws-sdk-continuum/lib/aws-sdk-continuum/types.rb', line 772

def unknown
  @unknown
end