Describes the provisioned throughput settings for the table, consisting of read and write capacity units, along with data about increases and decreases.

 protected DynamoDbThroughput(ProvisionedThroughputDescription throughput)
 {
     LastDecreaseAt = throughput.LastDecreaseDateTime;
     LastIncreaseAt = throughput.LastIncreaseDateTime;
     ReadThroughput = throughput.ReadCapacityUnits;
     WriteThroughput = throughput.WriteCapacityUnits;
     NumberOfDecreasesToday = throughput.NumberOfDecreasesToday;
 }
Пример #2
0
 /// <summary>
 /// Sets the ProvisionedThroughput property
 /// </summary>
 /// <param name="provisionedThroughput">The value to set for the ProvisionedThroughput property </param>
 /// <returns>this instance</returns>
 public TableDescription WithProvisionedThroughput(ProvisionedThroughputDescription provisionedThroughput)
 {
     this.provisionedThroughput = provisionedThroughput;
     return(this);
 }
 public TableDescription WithProvisionedThroughput(ProvisionedThroughputDescription provisionedThroughput)
 {
     this.provisionedThroughput = provisionedThroughput;
     return this;
 }
 protected DynamoDbTableThroughput(string tableName, ProvisionedThroughputDescription throughput)
     : base(throughput)
 {
     TableName = tableName;
 }