|
Did this page help you?Yes No Tell us about it... |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.storagegateway.model.UpdateBandwidthRateLimitRequest
public class UpdateBandwidthRateLimitRequest
Container for the parameters to the 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.
AWSStorageGateway.updateBandwidthRateLimit(UpdateBandwidthRateLimitRequest)
,
Serialized FormConstructor Summary | |
---|---|
UpdateBandwidthRateLimitRequest()
|
Method Summary | |
---|---|
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. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public UpdateBandwidthRateLimitRequest()
Method Detail |
---|
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()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |