@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AddCacheRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
AddCacheRequest() |
Modifier and Type | Method and Description |
---|---|
AddCacheRequest |
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.
|
AddCacheRequest |
withDiskIds(Collection<String> diskIds)
An array of strings that identify disks that are to be configured as working storage.
|
AddCacheRequest |
withDiskIds(String... diskIds)
An array of strings that identify disks that are to be configured as working storage.
|
AddCacheRequest |
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 AddCacheRequest 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 has 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 has 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 has a
minimum length of 1 and maximum length of 300. You can get the disk IDs from the ListLocalDisks
API.public AddCacheRequest withDiskIds(String... diskIds)
An array of strings that identify disks that are to be configured as working storage. Each string has 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 has a
minimum length of 1 and maximum length of 300. You can get the disk IDs from the ListLocalDisks
API.public AddCacheRequest withDiskIds(Collection<String> diskIds)
An array of strings that identify disks that are to be configured as working storage. Each string has 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 has 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 AddCacheRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()