Class UpdateBandwidthRateLimitRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.storagegateway.model.UpdateBandwidthRateLimitRequest
-
- All Implemented Interfaces:
ReadLimitInfo,Serializable,Cloneable
public class UpdateBandwidthRateLimitRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
A JSON object containing one or more of the following fields:
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description UpdateBandwidthRateLimitRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateBandwidthRateLimitRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)LonggetAverageDownloadRateLimitInBitsPerSec()The average download bandwidth rate limit in bits per second.LonggetAverageUploadRateLimitInBitsPerSec()The average upload bandwidth rate limit in bits per second.StringgetGatewayARN()inthashCode()voidsetAverageDownloadRateLimitInBitsPerSec(Long averageDownloadRateLimitInBitsPerSec)The average download bandwidth rate limit in bits per second.voidsetAverageUploadRateLimitInBitsPerSec(Long averageUploadRateLimitInBitsPerSec)The average upload bandwidth rate limit in bits per second.voidsetGatewayARN(String gatewayARN)StringtoString()Returns a string representation of this object; useful for testing and debugging.UpdateBandwidthRateLimitRequestwithAverageDownloadRateLimitInBitsPerSec(Long averageDownloadRateLimitInBitsPerSec)The average download bandwidth rate limit in bits per second.UpdateBandwidthRateLimitRequestwithAverageUploadRateLimitInBitsPerSec(Long averageUploadRateLimitInBitsPerSec)The average upload bandwidth rate limit in bits per second.UpdateBandwidthRateLimitRequestwithGatewayARN(String gatewayARN)-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
Method Detail
-
setGatewayARN
public void setGatewayARN(String gatewayARN)
- Parameters:
gatewayARN-
-
getGatewayARN
public String getGatewayARN()
- Returns:
-
withGatewayARN
public UpdateBandwidthRateLimitRequest withGatewayARN(String gatewayARN)
- Parameters:
gatewayARN-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setAverageUploadRateLimitInBitsPerSec
public void setAverageUploadRateLimitInBitsPerSec(Long averageUploadRateLimitInBitsPerSec)
The average upload bandwidth rate limit in bits per second.
- Parameters:
averageUploadRateLimitInBitsPerSec- The average upload bandwidth rate limit in bits per second.
-
getAverageUploadRateLimitInBitsPerSec
public Long getAverageUploadRateLimitInBitsPerSec()
The average upload bandwidth rate limit in bits per second.
- Returns:
- The average upload bandwidth rate limit in bits per second.
-
withAverageUploadRateLimitInBitsPerSec
public UpdateBandwidthRateLimitRequest withAverageUploadRateLimitInBitsPerSec(Long averageUploadRateLimitInBitsPerSec)
The average upload bandwidth rate limit in bits per second.
- Parameters:
averageUploadRateLimitInBitsPerSec- The average upload bandwidth rate limit in bits per second.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setAverageDownloadRateLimitInBitsPerSec
public void setAverageDownloadRateLimitInBitsPerSec(Long averageDownloadRateLimitInBitsPerSec)
The average download bandwidth rate limit in bits per second.
- Parameters:
averageDownloadRateLimitInBitsPerSec- The average download bandwidth rate limit in bits per second.
-
getAverageDownloadRateLimitInBitsPerSec
public Long getAverageDownloadRateLimitInBitsPerSec()
The average download bandwidth rate limit in bits per second.
- Returns:
- The average download bandwidth rate limit in bits per second.
-
withAverageDownloadRateLimitInBitsPerSec
public UpdateBandwidthRateLimitRequest withAverageDownloadRateLimitInBitsPerSec(Long averageDownloadRateLimitInBitsPerSec)
The average download bandwidth rate limit in bits per second.
- Parameters:
averageDownloadRateLimitInBitsPerSec- The average download bandwidth rate limit in bits per second.- 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public UpdateBandwidthRateLimitRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-