public class UpdateBandwidthRateLimitRequest extends AmazonWebServiceRequest implements 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.
NOOP
Constructor and Description |
---|
UpdateBandwidthRateLimitRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Long |
getAverageDownloadRateLimitInBitsPerSec()
The average download bandwidth rate limit in bits per second.
|
Long |
getAverageUploadRateLimitInBitsPerSec()
The average upload bandwidth rate limit in bits per second.
|
String |
getGatewayARN()
The Amazon Resource Name (ARN) of the gateway.
|
int |
hashCode() |
void |
setAverageDownloadRateLimitInBitsPerSec(Long averageDownloadRateLimitInBitsPerSec)
The average download bandwidth rate limit in bits per second.
|
void |
setAverageUploadRateLimitInBitsPerSec(Long averageUploadRateLimitInBitsPerSec)
The average upload bandwidth rate limit in bits per second.
|
void |
setGatewayARN(String gatewayARN)
The Amazon Resource Name (ARN) of the gateway.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UpdateBandwidthRateLimitRequest |
withAverageDownloadRateLimitInBitsPerSec(Long averageDownloadRateLimitInBitsPerSec)
The average download bandwidth rate limit in bits per second.
|
UpdateBandwidthRateLimitRequest |
withAverageUploadRateLimitInBitsPerSec(Long averageUploadRateLimitInBitsPerSec)
The average upload bandwidth rate limit in bits per second.
|
UpdateBandwidthRateLimitRequest |
withGatewayARN(String gatewayARN)
The Amazon Resource Name (ARN) of the gateway.
|
copyPrivateRequestParameters, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public String getGatewayARN()
Constraints:
Length: 50 - 500
public void setGatewayARN(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(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 Long getAverageUploadRateLimitInBitsPerSec()
Constraints:
Range: 51200 -
public void setAverageUploadRateLimitInBitsPerSec(Long averageUploadRateLimitInBitsPerSec)
Constraints:
Range: 51200 -
averageUploadRateLimitInBitsPerSec
- The average upload bandwidth rate limit in bits per second.public UpdateBandwidthRateLimitRequest withAverageUploadRateLimitInBitsPerSec(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 Long getAverageDownloadRateLimitInBitsPerSec()
Constraints:
Range: 102400 -
public void setAverageDownloadRateLimitInBitsPerSec(Long averageDownloadRateLimitInBitsPerSec)
Constraints:
Range: 102400 -
averageDownloadRateLimitInBitsPerSec
- The average download bandwidth rate limit in bits per second.public UpdateBandwidthRateLimitRequest withAverageDownloadRateLimitInBitsPerSec(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 String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.