public class ListJobsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Provides options for retrieving a job list for an Amazon Glacier vault.
NOOP| Constructor and Description |
|---|
ListJobsRequest()
Default constructor for ListJobsRequest object.
|
ListJobsRequest(String vaultName)
Constructs a new ListJobsRequest object.
|
ListJobsRequest(String accountId,
String vaultName)
Constructs a new ListJobsRequest object.
|
| Modifier and Type | Method and Description |
|---|---|
ListJobsRequest |
clone() |
boolean |
equals(Object obj) |
String |
getAccountId()
The
AccountId value is the AWS account ID of the account that owns the vault. |
String |
getCompleted()
Specifies the state of the jobs to return.
|
String |
getLimit()
Specifies that the response be limited to the specified number of items or fewer.
|
String |
getMarker()
An opaque string used for pagination.
|
String |
getStatuscode()
Specifies the type of job status to return.
|
String |
getVaultName()
The name of the vault.
|
int |
hashCode() |
void |
setAccountId(String accountId)
The
AccountId value is the AWS account ID of the account that owns the vault. |
void |
setCompleted(String completed)
Specifies the state of the jobs to return.
|
void |
setLimit(String limit)
Specifies that the response be limited to the specified number of items or fewer.
|
void |
setMarker(String marker)
An opaque string used for pagination.
|
void |
setStatuscode(String statuscode)
Specifies the type of job status to return.
|
void |
setVaultName(String vaultName)
The name of the vault.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ListJobsRequest |
withAccountId(String accountId)
The
AccountId value is the AWS account ID of the account that owns the vault. |
ListJobsRequest |
withCompleted(String completed)
Specifies the state of the jobs to return.
|
ListJobsRequest |
withLimit(String limit)
Specifies that the response be limited to the specified number of items or fewer.
|
ListJobsRequest |
withMarker(String marker)
An opaque string used for pagination.
|
ListJobsRequest |
withStatuscode(String statuscode)
Specifies the type of job status to return.
|
ListJobsRequest |
withVaultName(String vaultName)
The name of the vault.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic ListJobsRequest()
public ListJobsRequest(String vaultName)
vaultName - The name of the vault.public ListJobsRequest(String accountId, String vaultName)
accountId - The AccountId value is the AWS account ID of the account that owns the vault. You can either
specify an AWS account ID or optionally a single apos-apos (hyphen), in which case Amazon
Glacier uses the AWS account ID associated with the credentials used to sign the request. If you use an
account ID, do not include any hyphens (apos-apos) in the ID.vaultName - The name of the vault.public void setAccountId(String accountId)
The AccountId value is the AWS account ID of the account that owns the vault. You can either specify
an AWS account ID or optionally a single apos-apos (hyphen), in which case Amazon Glacier uses the
AWS account ID associated with the credentials used to sign the request. If you use an account ID, do not include
any hyphens (apos-apos) in the ID.
accountId - The AccountId value is the AWS account ID of the account that owns the vault. You can either
specify an AWS account ID or optionally a single apos-apos (hyphen), in which case Amazon
Glacier uses the AWS account ID associated with the credentials used to sign the request. If you use an
account ID, do not include any hyphens (apos-apos) in the ID.public String getAccountId()
The AccountId value is the AWS account ID of the account that owns the vault. You can either specify
an AWS account ID or optionally a single apos-apos (hyphen), in which case Amazon Glacier uses the
AWS account ID associated with the credentials used to sign the request. If you use an account ID, do not include
any hyphens (apos-apos) in the ID.
AccountId value is the AWS account ID of the account that owns the vault. You can either
specify an AWS account ID or optionally a single apos-apos (hyphen), in which case Amazon
Glacier uses the AWS account ID associated with the credentials used to sign the request. If you use an
account ID, do not include any hyphens (apos-apos) in the ID.public ListJobsRequest withAccountId(String accountId)
The AccountId value is the AWS account ID of the account that owns the vault. You can either specify
an AWS account ID or optionally a single apos-apos (hyphen), in which case Amazon Glacier uses the
AWS account ID associated with the credentials used to sign the request. If you use an account ID, do not include
any hyphens (apos-apos) in the ID.
accountId - The AccountId value is the AWS account ID of the account that owns the vault. You can either
specify an AWS account ID or optionally a single apos-apos (hyphen), in which case Amazon
Glacier uses the AWS account ID associated with the credentials used to sign the request. If you use an
account ID, do not include any hyphens (apos-apos) in the ID.public void setVaultName(String vaultName)
The name of the vault.
vaultName - The name of the vault.public String getVaultName()
The name of the vault.
public ListJobsRequest withVaultName(String vaultName)
The name of the vault.
vaultName - The name of the vault.public void setLimit(String limit)
Specifies that the response be limited to the specified number of items or fewer. If not specified, the List Jobs operation returns up to 1,000 jobs.
limit - Specifies that the response be limited to the specified number of items or fewer. If not specified, the
List Jobs operation returns up to 1,000 jobs.public String getLimit()
Specifies that the response be limited to the specified number of items or fewer. If not specified, the List Jobs operation returns up to 1,000 jobs.
public ListJobsRequest withLimit(String limit)
Specifies that the response be limited to the specified number of items or fewer. If not specified, the List Jobs operation returns up to 1,000 jobs.
limit - Specifies that the response be limited to the specified number of items or fewer. If not specified, the
List Jobs operation returns up to 1,000 jobs.public void setMarker(String marker)
An opaque string used for pagination. This value specifies the job at which the listing of jobs should begin. Get the marker value from a previous List Jobs response. You need only include the marker if you are continuing the pagination of results started in a previous List Jobs request.
marker - An opaque string used for pagination. This value specifies the job at which the listing of jobs should
begin. Get the marker value from a previous List Jobs response. You need only include the marker if you
are continuing the pagination of results started in a previous List Jobs request.public String getMarker()
An opaque string used for pagination. This value specifies the job at which the listing of jobs should begin. Get the marker value from a previous List Jobs response. You need only include the marker if you are continuing the pagination of results started in a previous List Jobs request.
public ListJobsRequest withMarker(String marker)
An opaque string used for pagination. This value specifies the job at which the listing of jobs should begin. Get the marker value from a previous List Jobs response. You need only include the marker if you are continuing the pagination of results started in a previous List Jobs request.
marker - An opaque string used for pagination. This value specifies the job at which the listing of jobs should
begin. Get the marker value from a previous List Jobs response. You need only include the marker if you
are continuing the pagination of results started in a previous List Jobs request.public void setStatuscode(String statuscode)
Specifies the type of job status to return. You can specify the following values: "InProgress", "Succeeded", or "Failed".
statuscode - Specifies the type of job status to return. You can specify the following values: "InProgress",
"Succeeded", or "Failed".public String getStatuscode()
Specifies the type of job status to return. You can specify the following values: "InProgress", "Succeeded", or "Failed".
public ListJobsRequest withStatuscode(String statuscode)
Specifies the type of job status to return. You can specify the following values: "InProgress", "Succeeded", or "Failed".
statuscode - Specifies the type of job status to return. You can specify the following values: "InProgress",
"Succeeded", or "Failed".public void setCompleted(String completed)
Specifies the state of the jobs to return. You can specify true or false.
completed - Specifies the state of the jobs to return. You can specify true or false.public String getCompleted()
Specifies the state of the jobs to return. You can specify true or false.
true or false.public ListJobsRequest withCompleted(String completed)
Specifies the state of the jobs to return. You can specify true or false.
completed - Specifies the state of the jobs to return. You can specify true or false.public String toString()
toString in class ObjectObject.toString()public ListJobsRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2016. All rights reserved.