public class DescribeVTLDevicesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
DescribeVTLDevices operation
.
Returns a description of virtual tape library (VTL) devices for the specified gateway. In the response, AWS Storage Gateway returns VTL device information.
The list of VTL devices must be from one gateway.
NOOP
Constructor and Description |
---|
DescribeVTLDevicesRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeVTLDevicesRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getGatewayARN()
The Amazon Resource Name (ARN) of the gateway.
|
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)
The Amazon Resource Name (ARN) of the gateway.
|
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)
The Amazon Resource Name (ARN) of the gateway.
|
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(Collection<String> vTLDeviceARNs)
An array of strings, where each string represents the Amazon Resource
Name (ARN) of a VTL device.
|
DescribeVTLDevicesRequest |
withVTLDeviceARNs(String... vTLDeviceARNs)
An array of strings, where each string represents the Amazon Resource
Name (ARN) of a VTL device.
|
copyBaseTo, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public String getGatewayARN()
Constraints:
Length: 50 - 500
public void setGatewayARN(String gatewayARN)
Constraints:
Length: 50 - 500
gatewayARN
- The Amazon Resource Name (ARN) of the gateway. Use the
ListGateways operation to return a list of gateways for your
account and region.public DescribeVTLDevicesRequest withGatewayARN(String gatewayARN)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 50 - 500
gatewayARN
- The Amazon Resource Name (ARN) of the gateway. Use the
ListGateways operation to return a list of gateways for your
account and region.public List<String> getVTLDeviceARNs()
public void setVTLDeviceARNs(Collection<String> vTLDeviceARNs)
vTLDeviceARNs
- An array of strings, where each string represents the Amazon Resource
Name (ARN) of a VTL device. public DescribeVTLDevicesRequest withVTLDeviceARNs(String... vTLDeviceARNs)
NOTE: This method appends the values to the existing list (if
any). Use setVTLDeviceARNs(java.util.Collection)
or withVTLDeviceARNs(java.util.Collection)
if you want to override the
existing values.
Returns a reference to this object so that method calls can be chained together.
vTLDeviceARNs
- An array of strings, where each string represents the Amazon Resource
Name (ARN) of a VTL device. public DescribeVTLDevicesRequest withVTLDeviceARNs(Collection<String> vTLDeviceARNs)
Returns a reference to this object so that method calls can be chained together.
vTLDeviceARNs
- An array of strings, where each string represents the Amazon Resource
Name (ARN) of a VTL device. public String getMarker()
Constraints:
Length: 1 - 1000
public void setMarker(String marker)
Constraints:
Length: 1 - 1000
marker
- An opaque string that indicates the position at which to begin
describing the VTL devices.public DescribeVTLDevicesRequest withMarker(String marker)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 1000
marker
- An opaque string that indicates the position at which to begin
describing the VTL devices.public Integer getLimit()
Constraints:
Range: 1 -
public void setLimit(Integer limit)
Constraints:
Range: 1 -
limit
- Specifies that the number of VTL devices described be limited to the
specified number.public DescribeVTLDevicesRequest withLimit(Integer limit)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 1 -
limit
- Specifies that the number of VTL devices described be limited to the
specified number.public String toString()
toString
in class Object
Object.toString()
public DescribeVTLDevicesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2015. All rights reserved.