Class DescribeVTLDevicesRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.storagegateway.model.DescribeVTLDevicesRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class DescribeVTLDevicesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
DescribeVTLDevicesInput
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description DescribeVTLDevicesRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeVTLDevicesRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
String
getGatewayARN()
Integer
getLimit()
Specifies that the number of VTL devices described be limited to the specified number.String
getMarker()
An opaque string that indicates the position at which to begin describing the VTL devices.List<String>
getVTLDeviceARNs()
An array of strings, where each string represents the Amazon Resource Name (ARN) of a VTL device.int
hashCode()
void
setGatewayARN(String gatewayARN)
void
setLimit(Integer limit)
Specifies that the number of VTL devices described be limited to the specified number.void
setMarker(String marker)
An opaque string that indicates the position at which to begin describing the VTL devices.void
setVTLDeviceARNs(Collection<String> vTLDeviceARNs)
An array of strings, where each string represents the Amazon Resource Name (ARN) of a VTL device.String
toString()
Returns a string representation of this object; useful for testing and debugging.DescribeVTLDevicesRequest
withGatewayARN(String gatewayARN)
DescribeVTLDevicesRequest
withLimit(Integer limit)
Specifies that the number of VTL devices described be limited to the specified number.DescribeVTLDevicesRequest
withMarker(String marker)
An opaque string that indicates the position at which to begin describing the VTL devices.DescribeVTLDevicesRequest
withVTLDeviceARNs(String... vTLDeviceARNs)
An array of strings, where each string represents the Amazon Resource Name (ARN) of a VTL device.DescribeVTLDevicesRequest
withVTLDeviceARNs(Collection<String> vTLDeviceARNs)
An array of strings, where each string represents the Amazon Resource Name (ARN) of a VTL device.-
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 DescribeVTLDevicesRequest withGatewayARN(String gatewayARN)
- Parameters:
gatewayARN
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getVTLDeviceARNs
public List<String> getVTLDeviceARNs()
An array of strings, where each string represents the Amazon Resource Name (ARN) of a VTL device.
All of the specified VTL devices must be from the same gateway. If no VTL devices are specified, the result will contain all devices on the specified gateway.
- Returns:
- An array of strings, where each string represents the Amazon
Resource Name (ARN) of a VTL device.
All of the specified VTL devices must be from the same gateway. If no VTL devices are specified, the result will contain all devices on the specified gateway.
-
setVTLDeviceARNs
public void setVTLDeviceARNs(Collection<String> vTLDeviceARNs)
An array of strings, where each string represents the Amazon Resource Name (ARN) of a VTL device.
All of the specified VTL devices must be from the same gateway. If no VTL devices are specified, the result will contain all devices on the specified gateway.
- Parameters:
vTLDeviceARNs
- An array of strings, where each string represents the Amazon Resource Name (ARN) of a VTL device.All of the specified VTL devices must be from the same gateway. If no VTL devices are specified, the result will contain all devices on the specified gateway.
-
withVTLDeviceARNs
public DescribeVTLDevicesRequest withVTLDeviceARNs(String... vTLDeviceARNs)
An array of strings, where each string represents the Amazon Resource Name (ARN) of a VTL device.
All of the specified VTL devices must be from the same gateway. If no VTL devices are specified, the result will contain all devices on the specified gateway.
NOTE: This method appends the values to the existing list (if any). Use
setVTLDeviceARNs(java.util.Collection)
orwithVTLDeviceARNs(java.util.Collection)
if you want to override the existing values.- Parameters:
vTLDeviceARNs
- An array of strings, where each string represents the Amazon Resource Name (ARN) of a VTL device.All of the specified VTL devices must be from the same gateway. If no VTL devices are specified, the result will contain all devices on the specified gateway.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withVTLDeviceARNs
public DescribeVTLDevicesRequest withVTLDeviceARNs(Collection<String> vTLDeviceARNs)
An array of strings, where each string represents the Amazon Resource Name (ARN) of a VTL device.
All of the specified VTL devices must be from the same gateway. If no VTL devices are specified, the result will contain all devices on the specified gateway.
- Parameters:
vTLDeviceARNs
- An array of strings, where each string represents the Amazon Resource Name (ARN) of a VTL device.All of the specified VTL devices must be from the same gateway. If no VTL devices are specified, the result will contain all devices on the specified gateway.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMarker
public void setMarker(String marker)
An opaque string that indicates the position at which to begin describing the VTL devices.
- Parameters:
marker
- An opaque string that indicates the position at which to begin describing the VTL devices.
-
getMarker
public String getMarker()
An opaque string that indicates the position at which to begin describing the VTL devices.
- Returns:
- An opaque string that indicates the position at which to begin describing the VTL devices.
-
withMarker
public DescribeVTLDevicesRequest withMarker(String marker)
An opaque string that indicates the position at which to begin describing the VTL devices.
- Parameters:
marker
- An opaque string that indicates the position at which to begin describing the VTL devices.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setLimit
public void setLimit(Integer limit)
Specifies that the number of VTL devices described be limited to the specified number.
- Parameters:
limit
- Specifies that the number of VTL devices described be limited to the specified number.
-
getLimit
public Integer getLimit()
Specifies that the number of VTL devices described be limited to the specified number.
- Returns:
- Specifies that the number of VTL devices described be limited to the specified number.
-
withLimit
public DescribeVTLDevicesRequest withLimit(Integer limit)
Specifies that the number of VTL devices described be limited to the specified number.
- Parameters:
limit
- Specifies that the number of VTL devices described be limited to the specified number.- 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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeVTLDevicesRequest 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:
Object.clone()
-
-