Class: Aws::Record::TableConfig::GlobalSecondaryIndex Private

Inherits:
Object
  • Object
show all
Defined in:
lib/aws-record/record/table_config.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeGlobalSecondaryIndex

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of GlobalSecondaryIndex.



654
655
656
# File 'lib/aws-record/record/table_config.rb', line 654

def initialize
  @provisioned_throughput = {}
end

Instance Attribute Details

#provisioned_throughputObject (readonly)

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



652
653
654
# File 'lib/aws-record/record/table_config.rb', line 652

def provisioned_throughput
  @provisioned_throughput
end

Instance Method Details

#read_capacity_units(units) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



658
659
660
# File 'lib/aws-record/record/table_config.rb', line 658

def read_capacity_units(units)
  @provisioned_throughput[:read_capacity_units] = units
end

#write_capacity_units(units) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



662
663
664
# File 'lib/aws-record/record/table_config.rb', line 662

def write_capacity_units(units)
  @provisioned_throughput[:write_capacity_units] = units
end