Class InventoryRetrievalJobInput
- java.lang.Object
-
- com.amazonaws.services.glacier.model.InventoryRetrievalJobInput
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class InventoryRetrievalJobInput extends Object implements Serializable, Cloneable
Provides options for specifying a range inventory retrieval job.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InventoryRetrievalJobInput()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InventoryRetrievalJobInput
clone()
boolean
equals(Object obj)
String
getEndDate()
The end of the date range in UTC for vault inventory retrieval that includes archives created before this date.String
getLimit()
Specifies the maximum number of inventory items returned per vault inventory retrieval request.String
getMarker()
An opaque string that represents where to continue pagination of the vault inventory retrieval results.String
getStartDate()
The start of the date range in UTC for vault inventory retrieval that includes archives created on or after this date.int
hashCode()
void
setEndDate(String endDate)
The end of the date range in UTC for vault inventory retrieval that includes archives created before this date.void
setLimit(String limit)
Specifies the maximum number of inventory items returned per vault inventory retrieval request.void
setMarker(String marker)
An opaque string that represents where to continue pagination of the vault inventory retrieval results.void
setStartDate(String startDate)
The start of the date range in UTC for vault inventory retrieval that includes archives created on or after this date.String
toString()
Returns a string representation of this object; useful for testing and debugging.InventoryRetrievalJobInput
withEndDate(String endDate)
The end of the date range in UTC for vault inventory retrieval that includes archives created before this date.InventoryRetrievalJobInput
withLimit(String limit)
Specifies the maximum number of inventory items returned per vault inventory retrieval request.InventoryRetrievalJobInput
withMarker(String marker)
An opaque string that represents where to continue pagination of the vault inventory retrieval results.InventoryRetrievalJobInput
withStartDate(String startDate)
The start of the date range in UTC for vault inventory retrieval that includes archives created on or after this date.
-
-
-
Method Detail
-
setStartDate
public void setStartDate(String startDate)
The start of the date range in UTC for vault inventory retrieval that includes archives created on or after this date. A string representation of ISO 8601 date format, for example, 2013-03-20T17:03:43Z.
- Parameters:
startDate
- The start of the date range in UTC for vault inventory retrieval that includes archives created on or after this date. A string representation of ISO 8601 date format, for example, 2013-03-20T17:03:43Z.
-
getStartDate
public String getStartDate()
The start of the date range in UTC for vault inventory retrieval that includes archives created on or after this date. A string representation of ISO 8601 date format, for example, 2013-03-20T17:03:43Z.
- Returns:
- The start of the date range in UTC for vault inventory retrieval that includes archives created on or after this date. A string representation of ISO 8601 date format, for example, 2013-03-20T17:03:43Z.
-
withStartDate
public InventoryRetrievalJobInput withStartDate(String startDate)
The start of the date range in UTC for vault inventory retrieval that includes archives created on or after this date. A string representation of ISO 8601 date format, for example, 2013-03-20T17:03:43Z.
- Parameters:
startDate
- The start of the date range in UTC for vault inventory retrieval that includes archives created on or after this date. A string representation of ISO 8601 date format, for example, 2013-03-20T17:03:43Z.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setEndDate
public void setEndDate(String endDate)
The end of the date range in UTC for vault inventory retrieval that includes archives created before this date. A string representation of ISO 8601 date format, for example, 2013-03-20T17:03:43Z.
- Parameters:
endDate
- The end of the date range in UTC for vault inventory retrieval that includes archives created before this date. A string representation of ISO 8601 date format, for example, 2013-03-20T17:03:43Z.
-
getEndDate
public String getEndDate()
The end of the date range in UTC for vault inventory retrieval that includes archives created before this date. A string representation of ISO 8601 date format, for example, 2013-03-20T17:03:43Z.
- Returns:
- The end of the date range in UTC for vault inventory retrieval that includes archives created before this date. A string representation of ISO 8601 date format, for example, 2013-03-20T17:03:43Z.
-
withEndDate
public InventoryRetrievalJobInput withEndDate(String endDate)
The end of the date range in UTC for vault inventory retrieval that includes archives created before this date. A string representation of ISO 8601 date format, for example, 2013-03-20T17:03:43Z.
- Parameters:
endDate
- The end of the date range in UTC for vault inventory retrieval that includes archives created before this date. A string representation of ISO 8601 date format, for example, 2013-03-20T17:03:43Z.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setLimit
public void setLimit(String limit)
Specifies the maximum number of inventory items returned per vault inventory retrieval request. Valid values are greater than or equal to 1.
- Parameters:
limit
- Specifies the maximum number of inventory items returned per vault inventory retrieval request. Valid values are greater than or equal to 1.
-
getLimit
public String getLimit()
Specifies the maximum number of inventory items returned per vault inventory retrieval request. Valid values are greater than or equal to 1.
- Returns:
- Specifies the maximum number of inventory items returned per vault inventory retrieval request. Valid values are greater than or equal to 1.
-
withLimit
public InventoryRetrievalJobInput withLimit(String limit)
Specifies the maximum number of inventory items returned per vault inventory retrieval request. Valid values are greater than or equal to 1.
- Parameters:
limit
- Specifies the maximum number of inventory items returned per vault inventory retrieval request. Valid values are greater than or equal to 1.- 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 represents where to continue pagination of the vault inventory retrieval results. You use the marker in a new InitiateJob request to obtain additional inventory items. If there are no more inventory items, this value is
null
.- Parameters:
marker
- An opaque string that represents where to continue pagination of the vault inventory retrieval results. You use the marker in a new InitiateJob request to obtain additional inventory items. If there are no more inventory items, this value isnull
.
-
getMarker
public String getMarker()
An opaque string that represents where to continue pagination of the vault inventory retrieval results. You use the marker in a new InitiateJob request to obtain additional inventory items. If there are no more inventory items, this value is
null
.- Returns:
- An opaque string that represents where to continue pagination of
the vault inventory retrieval results. You use the marker in a
new InitiateJob request to obtain additional inventory
items. If there are no more inventory items, this value is
null
.
-
withMarker
public InventoryRetrievalJobInput withMarker(String marker)
An opaque string that represents where to continue pagination of the vault inventory retrieval results. You use the marker in a new InitiateJob request to obtain additional inventory items. If there are no more inventory items, this value is
null
.- Parameters:
marker
- An opaque string that represents where to continue pagination of the vault inventory retrieval results. You use the marker in a new InitiateJob request to obtain additional inventory items. If there are no more inventory items, this value isnull
.- 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 InventoryRetrievalJobInput clone()
-
-