public class GetJobOutputRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Provides options for downloading output of an Amazon Glacier job.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
accountId
The
AccountId value is the AWS account ID of the account
that owns the vault. |
private java.lang.String |
jobId
The job ID whose data is downloaded.
|
private java.lang.String |
range
The range of bytes to retrieve from the output.
|
private java.lang.String |
vaultName
The name of the vault.
|
NOOP
Constructor and Description |
---|
GetJobOutputRequest()
Default constructor for GetJobOutputRequest object.
|
GetJobOutputRequest(java.lang.String vaultName,
java.lang.String jobId,
java.lang.String range)
Constructs a new GetJobOutputRequest object.
|
GetJobOutputRequest(java.lang.String accountId,
java.lang.String vaultName,
java.lang.String jobId,
java.lang.String range)
Constructs a new GetJobOutputRequest object.
|
Modifier and Type | Method and Description |
---|---|
GetJobOutputRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAccountId()
The
AccountId value is the AWS account ID of the account
that owns the vault. |
java.lang.String |
getJobId()
The job ID whose data is downloaded.
|
java.lang.String |
getRange()
The range of bytes to retrieve from the output.
|
java.lang.String |
getVaultName()
The name of the vault.
|
int |
hashCode() |
void |
setAccountId(java.lang.String accountId)
The
AccountId value is the AWS account ID of the account
that owns the vault. |
void |
setJobId(java.lang.String jobId)
The job ID whose data is downloaded.
|
void |
setRange(java.lang.String range)
The range of bytes to retrieve from the output.
|
void |
setVaultName(java.lang.String vaultName)
The name of the vault.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetJobOutputRequest |
withAccountId(java.lang.String accountId)
The
AccountId value is the AWS account ID of the account
that owns the vault. |
GetJobOutputRequest |
withJobId(java.lang.String jobId)
The job ID whose data is downloaded.
|
GetJobOutputRequest |
withRange(java.lang.String range)
The range of bytes to retrieve from the output.
|
GetJobOutputRequest |
withVaultName(java.lang.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, withSdkRequestTimeout
private java.lang.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.
private java.lang.String vaultName
The name of the vault.
private java.lang.String jobId
The job ID whose data is downloaded.
private java.lang.String range
The range of bytes to retrieve from the output. For example, if you want to download the first 1,048,576 bytes, specify "Range: bytes=0-1048575". By default, this operation downloads the entire output.
public GetJobOutputRequest()
public GetJobOutputRequest(java.lang.String vaultName, java.lang.String jobId, java.lang.String range)
vaultName
- The name of the vault.jobId
- The job ID whose data is downloaded.range
- The range of bytes to retrieve from the output. For example, if
you want to download the first 1,048,576 bytes, specify
"Range: bytes=0-1048575". By default, this operation downloads the
entire output.public GetJobOutputRequest(java.lang.String accountId, java.lang.String vaultName, java.lang.String jobId, java.lang.String range)
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.jobId
- The job ID whose data is downloaded.range
- The range of bytes to retrieve from the output. For example, if
you want to download the first 1,048,576 bytes, specify
"Range: bytes=0-1048575". By default, this operation downloads the
entire output.public void setAccountId(java.lang.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 java.lang.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 GetJobOutputRequest withAccountId(java.lang.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(java.lang.String vaultName)
The name of the vault.
vaultName
- The name of the vault.public java.lang.String getVaultName()
The name of the vault.
public GetJobOutputRequest withVaultName(java.lang.String vaultName)
The name of the vault.
vaultName
- The name of the vault.public void setJobId(java.lang.String jobId)
The job ID whose data is downloaded.
jobId
- The job ID whose data is downloaded.public java.lang.String getJobId()
The job ID whose data is downloaded.
public GetJobOutputRequest withJobId(java.lang.String jobId)
The job ID whose data is downloaded.
jobId
- The job ID whose data is downloaded.public void setRange(java.lang.String range)
The range of bytes to retrieve from the output. For example, if you want to download the first 1,048,576 bytes, specify "Range: bytes=0-1048575". By default, this operation downloads the entire output.
range
- The range of bytes to retrieve from the output. For example, if
you want to download the first 1,048,576 bytes, specify
"Range: bytes=0-1048575". By default, this operation downloads the
entire output.public java.lang.String getRange()
The range of bytes to retrieve from the output. For example, if you want to download the first 1,048,576 bytes, specify "Range: bytes=0-1048575". By default, this operation downloads the entire output.
public GetJobOutputRequest withRange(java.lang.String range)
The range of bytes to retrieve from the output. For example, if you want to download the first 1,048,576 bytes, specify "Range: bytes=0-1048575". By default, this operation downloads the entire output.
range
- The range of bytes to retrieve from the output. For example, if
you want to download the first 1,048,576 bytes, specify
"Range: bytes=0-1048575". By default, this operation downloads the
entire output.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public GetJobOutputRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()