Class AddWorkingStorageRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
A JSON object containing one or more of the following fields:
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
An array of strings that identify disks that are to be configured as working storage.int
hashCode()
void
setDiskIds
(Collection<String> diskIds) An array of strings that identify disks that are to be configured as working storage.void
setGatewayARN
(String gatewayARN) toString()
Returns a string representation of this object; useful for testing and debugging.withDiskIds
(String... diskIds) An array of strings that identify disks that are to be configured as working storage.withDiskIds
(Collection<String> diskIds) An array of strings that identify disks that are to be configured as working storage.withGatewayARN
(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
-
Constructor Details
-
AddWorkingStorageRequest
public AddWorkingStorageRequest()
-
-
Method Details
-
setGatewayARN
- Parameters:
gatewayARN
-
-
getGatewayARN
- Returns:
-
withGatewayARN
- Parameters:
gatewayARN
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getDiskIds
An array of strings that identify disks that are to be configured as working storage. Each string have a minimum length of 1 and maximum length of 300. You can get the disk IDs from the ListLocalDisks API.
- Returns:
- An array of strings that identify disks that are to be configured as working storage. Each string have a minimum length of 1 and maximum length of 300. You can get the disk IDs from the ListLocalDisks API.
-
setDiskIds
An array of strings that identify disks that are to be configured as working storage. Each string have a minimum length of 1 and maximum length of 300. You can get the disk IDs from the ListLocalDisks API.
- Parameters:
diskIds
- An array of strings that identify disks that are to be configured as working storage. Each string have a minimum length of 1 and maximum length of 300. You can get the disk IDs from the ListLocalDisks API.
-
withDiskIds
An array of strings that identify disks that are to be configured as working storage. Each string have a minimum length of 1 and maximum length of 300. You can get the disk IDs from the ListLocalDisks API.
NOTE: This method appends the values to the existing list (if any). Use
setDiskIds(java.util.Collection)
orwithDiskIds(java.util.Collection)
if you want to override the existing values.- Parameters:
diskIds
- An array of strings that identify disks that are to be configured as working storage. Each string have a minimum length of 1 and maximum length of 300. You can get the disk IDs from the ListLocalDisks API.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withDiskIds
An array of strings that identify disks that are to be configured as working storage. Each string have a minimum length of 1 and maximum length of 300. You can get the disk IDs from the ListLocalDisks API.
- Parameters:
diskIds
- An array of strings that identify disks that are to be configured as working storage. Each string have a minimum length of 1 and maximum length of 300. You can get the disk IDs from the ListLocalDisks API.- 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
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-