@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AddWorkingStorageRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
A JSON object containing one or more of the following fields:
NOOP
Constructor and Description |
---|
AddWorkingStorageRequest() |
Modifier and Type | Method and Description |
---|---|
AddWorkingStorageRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<String> |
getDiskIds()
An array of strings that identify disks that are to be configured as working storage.
|
String |
getGatewayARN() |
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) |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
AddWorkingStorageRequest |
withDiskIds(Collection<String> diskIds)
An array of strings that identify disks that are to be configured as working storage.
|
AddWorkingStorageRequest |
withDiskIds(String... diskIds)
An array of strings that identify disks that are to be configured as working storage.
|
AddWorkingStorageRequest |
withGatewayARN(String gatewayARN) |
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setGatewayARN(String gatewayARN)
gatewayARN
- public String getGatewayARN()
public AddWorkingStorageRequest withGatewayARN(String gatewayARN)
gatewayARN
- public List<String> 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.
public void setDiskIds(Collection<String> 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.
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.public AddWorkingStorageRequest withDiskIds(String... 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.
NOTE: This method appends the values to the existing list (if any). Use
setDiskIds(java.util.Collection)
or withDiskIds(java.util.Collection)
if you want to override
the existing values.
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.public AddWorkingStorageRequest withDiskIds(Collection<String> 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.
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.public String toString()
toString
in class Object
Object.toString()
public AddWorkingStorageRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.