public class AddWorkingStorageRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
A JSON object containing one or more of the following fields:
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<java.lang.String> |
diskIds
An array of strings that identify disks that are to be configured as
working storage.
|
private java.lang.String |
gatewayARN |
NOOP
Constructor and Description |
---|
AddWorkingStorageRequest() |
Modifier and Type | Method and Description |
---|---|
AddWorkingStorageRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.util.List<java.lang.String> |
getDiskIds()
An array of strings that identify disks that are to be configured as
working storage.
|
java.lang.String |
getGatewayARN() |
int |
hashCode() |
void |
setDiskIds(java.util.Collection<java.lang.String> diskIds)
An array of strings that identify disks that are to be configured as
working storage.
|
void |
setGatewayARN(java.lang.String gatewayARN) |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AddWorkingStorageRequest |
withDiskIds(java.util.Collection<java.lang.String> diskIds)
An array of strings that identify disks that are to be configured as
working storage.
|
AddWorkingStorageRequest |
withDiskIds(java.lang.String... diskIds)
An array of strings that identify disks that are to be configured as
working storage.
|
AddWorkingStorageRequest |
withGatewayARN(java.lang.String gatewayARN) |
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
private java.lang.String gatewayARN
private SdkInternalList<java.lang.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.
public void setGatewayARN(java.lang.String gatewayARN)
gatewayARN
- public java.lang.String getGatewayARN()
public AddWorkingStorageRequest withGatewayARN(java.lang.String gatewayARN)
gatewayARN
- public java.util.List<java.lang.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(java.util.Collection<java.lang.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(java.lang.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(java.util.Collection<java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public AddWorkingStorageRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()