Class: Aws::Record::TableConfig::GlobalSecondaryIndex Private
- Inherits:
-
Object
- Object
- Aws::Record::TableConfig::GlobalSecondaryIndex
- 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
- #provisioned_throughput ⇒ Object readonly private
Instance Method Summary collapse
-
#initialize ⇒ GlobalSecondaryIndex
constructor
private
A new instance of GlobalSecondaryIndex.
- #read_capacity_units(units) ⇒ Object private
- #write_capacity_units(units) ⇒ Object private
Constructor Details
#initialize ⇒ GlobalSecondaryIndex
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.
665 666 667 |
# File 'lib/aws-record/record/table_config.rb', line 665 def initialize @provisioned_throughput = {} end |
Instance Attribute Details
#provisioned_throughput ⇒ Object (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.
663 664 665 |
# File 'lib/aws-record/record/table_config.rb', line 663 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.
669 670 671 |
# File 'lib/aws-record/record/table_config.rb', line 669 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.
673 674 675 |
# File 'lib/aws-record/record/table_config.rb', line 673 def write_capacity_units(units) @provisioned_throughput[:write_capacity_units] = units end |