Class: Aws::Billing::Types::Investment

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

Overview

Note:

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

An investment within an investment summary. This is a union in which exactly one member is set. The milestoneBasedInvestment member represents a fixed, scheduled investment. The outcomeBasedInvestment member represents an attestable investment awarded upon completion of a defined outcome. Check which member is present to determine the investment type.

Defined Under Namespace

Classes: MilestoneBasedInvestment, OutcomeBasedInvestment, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#milestone_based_investment ⇒ Types::MilestoneBasedInvestment

An investment with a fixed value that is disbursed on a schedule. This member is set for a milestone-based investment and corresponds to the MILESTONE_BASED investment type.



2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
# File 'gems/aws-sdk-billing/lib/aws-sdk-billing/types.rb', line 2091

class Investment < Struct.new(
  :milestone_based_investment,
  :outcome_based_investment,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class MilestoneBasedInvestment < Investment; end
  class OutcomeBasedInvestment < Investment; end
  class Unknown < Investment; end
end

#outcome_based_investment ⇒ Types::OutcomeBasedInvestment

An investment that is awarded upon completion of a defined outcome. This member is set for an outcome-based (attestable) investment and corresponds to the OUTCOME_BASED investment type.



2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
# File 'gems/aws-sdk-billing/lib/aws-sdk-billing/types.rb', line 2091

class Investment < Struct.new(
  :milestone_based_investment,
  :outcome_based_investment,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class MilestoneBasedInvestment < Investment; end
  class OutcomeBasedInvestment < Investment; end
  class Unknown < Investment; end
end

#unknown ⇒ Object

Returns the value of attribute unknown

Returns:

  • (Object) —

    the current value of unknown



2091
2092
2093
# File 'gems/aws-sdk-billing/lib/aws-sdk-billing/types.rb', line 2091

def unknown
  @unknown
end