public class UpdateBandwidthRateLimitRequest extends AmazonWebServiceRequest implements java.io.Serializable
UpdateBandwidthRateLimit operation.
This operation updates the bandwidth rate limits of a gateway. You can update both the upload and download bandwidth rate limit or specify only one of the two. If you don't set a bandwidth rate limit, the existing rate limit remains.
By default, a gateway's bandwidth rate limits are not set. If you don't set any limit, the gateway does not have any limitations on its bandwidth usage and could potentially use the maximum available bandwidth.
To specify which gateway to update, use the Amazon Resource Name (ARN) of the gateway in your request.
| コンストラクタと説明 |
|---|
UpdateBandwidthRateLimitRequest() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Long |
getAverageDownloadRateLimitInBitsPerSec()
The average download bandwidth rate limit in bits per second.
|
java.lang.Long |
getAverageUploadRateLimitInBitsPerSec()
The average upload bandwidth rate limit in bits per second.
|
java.lang.String |
getGatewayARN()
The Amazon Resource Name (ARN) of the gateway.
|
int |
hashCode() |
void |
setAverageDownloadRateLimitInBitsPerSec(java.lang.Long averageDownloadRateLimitInBitsPerSec)
The average download bandwidth rate limit in bits per second.
|
void |
setAverageUploadRateLimitInBitsPerSec(java.lang.Long averageUploadRateLimitInBitsPerSec)
The average upload bandwidth rate limit in bits per second.
|
void |
setGatewayARN(java.lang.String gatewayARN)
The Amazon Resource Name (ARN) of the gateway.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UpdateBandwidthRateLimitRequest |
withAverageDownloadRateLimitInBitsPerSec(java.lang.Long averageDownloadRateLimitInBitsPerSec)
The average download bandwidth rate limit in bits per second.
|
UpdateBandwidthRateLimitRequest |
withAverageUploadRateLimitInBitsPerSec(java.lang.Long averageUploadRateLimitInBitsPerSec)
The average upload bandwidth rate limit in bits per second.
|
UpdateBandwidthRateLimitRequest |
withGatewayARN(java.lang.String gatewayARN)
The Amazon Resource Name (ARN) of the gateway.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentialspublic java.lang.String getGatewayARN()
Constraints:
Length: 50 - 500
public void setGatewayARN(java.lang.String gatewayARN)
Constraints:
Length: 50 - 500
gatewayARN - The Amazon Resource Name (ARN) of the gateway. Use the
ListGateways operation to return a list of gateways for your
account and region.public UpdateBandwidthRateLimitRequest withGatewayARN(java.lang.String gatewayARN)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 50 - 500
gatewayARN - The Amazon Resource Name (ARN) of the gateway. Use the
ListGateways operation to return a list of gateways for your
account and region.public java.lang.Long getAverageUploadRateLimitInBitsPerSec()
Constraints:
Range: 51200 -
public void setAverageUploadRateLimitInBitsPerSec(java.lang.Long averageUploadRateLimitInBitsPerSec)
Constraints:
Range: 51200 -
averageUploadRateLimitInBitsPerSec - The average upload bandwidth rate limit in bits per second.public UpdateBandwidthRateLimitRequest withAverageUploadRateLimitInBitsPerSec(java.lang.Long averageUploadRateLimitInBitsPerSec)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 51200 -
averageUploadRateLimitInBitsPerSec - The average upload bandwidth rate limit in bits per second.public java.lang.Long getAverageDownloadRateLimitInBitsPerSec()
Constraints:
Range: 102400 -
public void setAverageDownloadRateLimitInBitsPerSec(java.lang.Long averageDownloadRateLimitInBitsPerSec)
Constraints:
Range: 102400 -
averageDownloadRateLimitInBitsPerSec - The average download bandwidth rate limit in bits per second.public UpdateBandwidthRateLimitRequest withAverageDownloadRateLimitInBitsPerSec(java.lang.Long averageDownloadRateLimitInBitsPerSec)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 102400 -
averageDownloadRateLimitInBitsPerSec - The average download bandwidth rate limit in bits per second.public java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object