public class DescribeJobRequest extends AmazonWebServiceRequest implements java.io.Serializable
DescribeJob operation.
This operation returns information about a job you previously initiated, including the job initiation date, the user who initiated the job, the job status code/message and the Amazon SNS topic to notify after Amazon Glacier completes the job. For more information about initiating a job, see InitiateJob.
NOTE: This operation enables you to check the status of your job. However, it is strongly recommended that you set up an Amazon SNS topic and specify it in your initiate job request so that Amazon Glacier can notify the topic after it completes the job.
A job ID will not expire for at least 24 hours after Amazon Glacier completes the job.
An AWS account has full permission to perform all operations (actions). However, AWS Identity and Access Management (IAM) users don't have any permissions by default. You must grant them explicit permission to perform specific actions. For more information, see Access Control Using AWS Identity and Access Management (IAM) .
For information about the underlying REST API, go to Working with Archives in Amazon Glacier in the Amazon Glacier Developer Guide .
| コンストラクタと説明 |
|---|
DescribeJobRequest()
Default constructor for a new DescribeJobRequest object.
|
DescribeJobRequest(java.lang.String vaultName,
java.lang.String jobId)
Constructs a new DescribeJobRequest object.
|
DescribeJobRequest(java.lang.String accountId,
java.lang.String vaultName,
java.lang.String jobId)
Constructs a new DescribeJobRequest object.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAccountId()
The
AccountId is the AWS Account ID. |
java.lang.String |
getJobId()
The ID of the job to describe.
|
java.lang.String |
getVaultName()
The name of the vault.
|
int |
hashCode() |
void |
setAccountId(java.lang.String accountId)
The
AccountId is the AWS Account ID. |
void |
setJobId(java.lang.String jobId)
The ID of the job to describe.
|
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.
|
DescribeJobRequest |
withAccountId(java.lang.String accountId)
The
AccountId is the AWS Account ID. |
DescribeJobRequest |
withJobId(java.lang.String jobId)
The ID of the job to describe.
|
DescribeJobRequest |
withVaultName(java.lang.String vaultName)
The name of the vault.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentialspublic DescribeJobRequest()
public DescribeJobRequest(java.lang.String accountId,
java.lang.String vaultName,
java.lang.String jobId)
accountId - The AccountId is the AWS Account ID. You
can specify either the AWS Account ID or optionally a '-', in which
case Amazon Glacier uses the AWS Account ID associated with the
credentials used to sign the request. If you specify your Account ID,
do not include hyphens in it.vaultName - The name of the vault.jobId - The ID of the job to describe.public DescribeJobRequest(java.lang.String vaultName,
java.lang.String jobId)
vaultName - The name of the vault.jobId - The ID of the job to describe.public java.lang.String getAccountId()
AccountId is the AWS Account ID. You can specify
either the AWS Account ID or optionally a '-', in which case Amazon
Glacier uses the AWS Account ID associated with the credentials used
to sign the request. If you specify your Account ID, do not include
hyphens in it.AccountId is the AWS Account ID. You can specify
either the AWS Account ID or optionally a '-', in which case Amazon
Glacier uses the AWS Account ID associated with the credentials used
to sign the request. If you specify your Account ID, do not include
hyphens in it.public void setAccountId(java.lang.String accountId)
AccountId is the AWS Account ID. You can specify
either the AWS Account ID or optionally a '-', in which case Amazon
Glacier uses the AWS Account ID associated with the credentials used
to sign the request. If you specify your Account ID, do not include
hyphens in it.accountId - The AccountId is the AWS Account ID. You can specify
either the AWS Account ID or optionally a '-', in which case Amazon
Glacier uses the AWS Account ID associated with the credentials used
to sign the request. If you specify your Account ID, do not include
hyphens in it.public DescribeJobRequest withAccountId(java.lang.String accountId)
AccountId is the AWS Account ID. You can specify
either the AWS Account ID or optionally a '-', in which case Amazon
Glacier uses the AWS Account ID associated with the credentials used
to sign the request. If you specify your Account ID, do not include
hyphens in it.
Returns a reference to this object so that method calls can be chained together.
accountId - The AccountId is the AWS Account ID. You can specify
either the AWS Account ID or optionally a '-', in which case Amazon
Glacier uses the AWS Account ID associated with the credentials used
to sign the request. If you specify your Account ID, do not include
hyphens in it.public java.lang.String getVaultName()
public void setVaultName(java.lang.String vaultName)
vaultName - The name of the vault.public DescribeJobRequest withVaultName(java.lang.String vaultName)
Returns a reference to this object so that method calls can be chained together.
vaultName - The name of the vault.public java.lang.String getJobId()
public void setJobId(java.lang.String jobId)
jobId - The ID of the job to describe.public DescribeJobRequest withJobId(java.lang.String jobId)
Returns a reference to this object so that method calls can be chained together.
jobId - The ID of the job to describe.public java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object