Class DataRetrievalRule
- All Implemented Interfaces:
Serializable
,Cloneable
Data retrieval policy rule.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The maximum number of bytes that can be retrieved in an hour.The type of data retrieval policy to set.int
hashCode()
void
setBytesPerHour
(Long bytesPerHour) The maximum number of bytes that can be retrieved in an hour.void
setStrategy
(String strategy) The type of data retrieval policy to set.toString()
Returns a string representation of this object; useful for testing and debugging.withBytesPerHour
(Long bytesPerHour) The maximum number of bytes that can be retrieved in an hour.withStrategy
(String strategy) The type of data retrieval policy to set.
-
Constructor Details
-
DataRetrievalRule
public DataRetrievalRule()
-
-
Method Details
-
setStrategy
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
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
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
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 toBytesPerHour
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 toBytesPerHour
and you set this field.
-
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 toBytesPerHour
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 toBytesPerHour
and you set this field.
-
withBytesPerHour
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 toBytesPerHour
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 toBytesPerHour
and you set this field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-