Interface DataRetrievalRule.Builder

All Superinterfaces:
Buildable, CopyableBuilder<DataRetrievalRule.Builder,DataRetrievalRule>, SdkBuilder<DataRetrievalRule.Builder,DataRetrievalRule>, SdkPojo
Enclosing class:
DataRetrievalRule

public static interface DataRetrievalRule.Builder extends SdkPojo, CopyableBuilder<DataRetrievalRule.Builder,DataRetrievalRule>
  • Method Details

    • strategy

      DataRetrievalRule.Builder strategy(String strategy)

      The type of data retrieval policy to set.

      Valid values: BytesPerHour|FreeTier|None

      Parameters:
      strategy - The type of data retrieval policy to set.

      Valid values: BytesPerHour|FreeTier|None

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • bytesPerHour

      DataRetrievalRule.Builder bytesPerHour(Long bytesPerHour)

      The maximum number of bytes that can be retrieved in an hour.

      This field is required only if the value of the Strategy field is BytesPerHour. Your PUT operation will be rejected if the Strategy field is not set to BytesPerHour and you set this field.

      Parameters:
      bytesPerHour - The maximum number of bytes that can be retrieved in an hour.

      This field is required only if the value of the Strategy field is BytesPerHour. Your PUT operation will be rejected if the Strategy field is not set to BytesPerHour and you set this field.

      Returns:
      Returns a reference to this object so that method calls can be chained together.