Class DataRetrievalRule

    • Constructor Detail

      • DataRetrievalRule

        public DataRetrievalRule()
    • Method Detail

      • setStrategy

        public void setStrategy​(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

      • getStrategy

        public String getStrategy()

        The type of data retrieval policy to set.

        Valid values: BytesPerHour|FreeTier|None

        Returns:
        The type of data retrieval policy to set.

        Valid values: BytesPerHour|FreeTier|None

      • withStrategy

        public DataRetrievalRule withStrategy​(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.
      • setBytesPerHour

        public void setBytesPerHour​(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.

      • getBytesPerHour

        public Long getBytesPerHour()

        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:
        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.

      • withBytesPerHour

        public DataRetrievalRule withBytesPerHour​(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.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object