public class JobMetadata extends Object implements Serializable, Cloneable
Contains information about a specific job including shipping information, job status, and other important metadata.
This information is returned as a part of the response syntax of the DescribeJob action.
| Constructor and Description |
|---|
JobMetadata() |
| Modifier and Type | Method and Description |
|---|---|
JobMetadata |
clone() |
boolean |
equals(Object obj) |
String |
getAddressId()
The ID for the address that you want the Snowball shipped to.
|
Date |
getCreationDate()
The creation date for this job.
|
DataTransfer |
getDataTransferProgress()
A value that defines the real-time status of a Snowball's data transfer while the appliance is at AWS.
|
String |
getDescription()
The description of the job, provided at job creation.
|
String |
getJobId()
The automatically generated ID for a job, for example
JID123e4567-e89b-12d3-a456-426655440000. |
JobLogs |
getJobLogInfo()
Links to Amazon S3 presigned URLs for the job report and logs.
|
String |
getJobState()
The current state of the jobs.
|
String |
getJobType()
The type of job.
|
String |
getKmsKeyARN()
The Amazon Resource Name (ARN) for the AWS Key Management Service (AWS KMS) key associated with this job.
|
Notification |
getNotification()
The Amazon Simple Notification Service (Amazon SNS) notification settings associated with a specific job.
|
JobResource |
getResources()
An array of
S3Resource objects. |
String |
getRoleARN()
The role ARN associated with this job.
|
ShippingDetails |
getShippingDetails()
A job's shipping information, including inbound and outbound tracking numbers and shipping speed options.
|
String |
getSnowballCapacityPreference()
The Snowball capacity preference for this job, specified at job creation.
|
int |
hashCode() |
void |
setAddressId(String addressId)
The ID for the address that you want the Snowball shipped to.
|
void |
setCreationDate(Date creationDate)
The creation date for this job.
|
void |
setDataTransferProgress(DataTransfer dataTransferProgress)
A value that defines the real-time status of a Snowball's data transfer while the appliance is at AWS.
|
void |
setDescription(String description)
The description of the job, provided at job creation.
|
void |
setJobId(String jobId)
The automatically generated ID for a job, for example
JID123e4567-e89b-12d3-a456-426655440000. |
void |
setJobLogInfo(JobLogs jobLogInfo)
Links to Amazon S3 presigned URLs for the job report and logs.
|
void |
setJobState(JobState jobState)
The current state of the jobs.
|
void |
setJobState(String jobState)
The current state of the jobs.
|
void |
setJobType(JobType jobType)
The type of job.
|
void |
setJobType(String jobType)
The type of job.
|
void |
setKmsKeyARN(String kmsKeyARN)
The Amazon Resource Name (ARN) for the AWS Key Management Service (AWS KMS) key associated with this job.
|
void |
setNotification(Notification notification)
The Amazon Simple Notification Service (Amazon SNS) notification settings associated with a specific job.
|
void |
setResources(JobResource resources)
An array of
S3Resource objects. |
void |
setRoleARN(String roleARN)
The role ARN associated with this job.
|
void |
setShippingDetails(ShippingDetails shippingDetails)
A job's shipping information, including inbound and outbound tracking numbers and shipping speed options.
|
void |
setSnowballCapacityPreference(SnowballCapacity snowballCapacityPreference)
The Snowball capacity preference for this job, specified at job creation.
|
void |
setSnowballCapacityPreference(String snowballCapacityPreference)
The Snowball capacity preference for this job, specified at job creation.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
JobMetadata |
withAddressId(String addressId)
The ID for the address that you want the Snowball shipped to.
|
JobMetadata |
withCreationDate(Date creationDate)
The creation date for this job.
|
JobMetadata |
withDataTransferProgress(DataTransfer dataTransferProgress)
A value that defines the real-time status of a Snowball's data transfer while the appliance is at AWS.
|
JobMetadata |
withDescription(String description)
The description of the job, provided at job creation.
|
JobMetadata |
withJobId(String jobId)
The automatically generated ID for a job, for example
JID123e4567-e89b-12d3-a456-426655440000. |
JobMetadata |
withJobLogInfo(JobLogs jobLogInfo)
Links to Amazon S3 presigned URLs for the job report and logs.
|
JobMetadata |
withJobState(JobState jobState)
The current state of the jobs.
|
JobMetadata |
withJobState(String jobState)
The current state of the jobs.
|
JobMetadata |
withJobType(JobType jobType)
The type of job.
|
JobMetadata |
withJobType(String jobType)
The type of job.
|
JobMetadata |
withKmsKeyARN(String kmsKeyARN)
The Amazon Resource Name (ARN) for the AWS Key Management Service (AWS KMS) key associated with this job.
|
JobMetadata |
withNotification(Notification notification)
The Amazon Simple Notification Service (Amazon SNS) notification settings associated with a specific job.
|
JobMetadata |
withResources(JobResource resources)
An array of
S3Resource objects. |
JobMetadata |
withRoleARN(String roleARN)
The role ARN associated with this job.
|
JobMetadata |
withShippingDetails(ShippingDetails shippingDetails)
A job's shipping information, including inbound and outbound tracking numbers and shipping speed options.
|
JobMetadata |
withSnowballCapacityPreference(SnowballCapacity snowballCapacityPreference)
The Snowball capacity preference for this job, specified at job creation.
|
JobMetadata |
withSnowballCapacityPreference(String snowballCapacityPreference)
The Snowball capacity preference for this job, specified at job creation.
|
public void setJobId(String jobId)
The automatically generated ID for a job, for example JID123e4567-e89b-12d3-a456-426655440000.
jobId - The automatically generated ID for a job, for example JID123e4567-e89b-12d3-a456-426655440000
.public String getJobId()
The automatically generated ID for a job, for example JID123e4567-e89b-12d3-a456-426655440000.
JID123e4567-e89b-12d3-a456-426655440000.public JobMetadata withJobId(String jobId)
The automatically generated ID for a job, for example JID123e4567-e89b-12d3-a456-426655440000.
jobId - The automatically generated ID for a job, for example JID123e4567-e89b-12d3-a456-426655440000
.public void setJobState(String jobState)
The current state of the jobs.
jobState - The current state of the jobs.JobStatepublic String getJobState()
The current state of the jobs.
JobStatepublic JobMetadata withJobState(String jobState)
The current state of the jobs.
jobState - The current state of the jobs.JobStatepublic void setJobState(JobState jobState)
The current state of the jobs.
jobState - The current state of the jobs.JobStatepublic JobMetadata withJobState(JobState jobState)
The current state of the jobs.
jobState - The current state of the jobs.JobStatepublic void setJobType(String jobType)
The type of job.
jobType - The type of job.JobTypepublic JobMetadata withJobType(String jobType)
The type of job.
jobType - The type of job.JobTypepublic void setJobType(JobType jobType)
The type of job.
jobType - The type of job.JobTypepublic JobMetadata withJobType(JobType jobType)
The type of job.
jobType - The type of job.JobTypepublic void setCreationDate(Date creationDate)
The creation date for this job.
creationDate - The creation date for this job.public Date getCreationDate()
The creation date for this job.
public JobMetadata withCreationDate(Date creationDate)
The creation date for this job.
creationDate - The creation date for this job.public void setResources(JobResource resources)
An array of S3Resource objects. Each S3Resource object represents an Amazon S3 bucket
that your transferred data will be exported from or imported into.
resources - An array of S3Resource objects. Each S3Resource object represents an Amazon S3
bucket that your transferred data will be exported from or imported into.public JobResource getResources()
An array of S3Resource objects. Each S3Resource object represents an Amazon S3 bucket
that your transferred data will be exported from or imported into.
S3Resource objects. Each S3Resource object represents an Amazon S3
bucket that your transferred data will be exported from or imported into.public JobMetadata withResources(JobResource resources)
An array of S3Resource objects. Each S3Resource object represents an Amazon S3 bucket
that your transferred data will be exported from or imported into.
resources - An array of S3Resource objects. Each S3Resource object represents an Amazon S3
bucket that your transferred data will be exported from or imported into.public void setDescription(String description)
The description of the job, provided at job creation.
description - The description of the job, provided at job creation.public String getDescription()
The description of the job, provided at job creation.
public JobMetadata withDescription(String description)
The description of the job, provided at job creation.
description - The description of the job, provided at job creation.public void setKmsKeyARN(String kmsKeyARN)
The Amazon Resource Name (ARN) for the AWS Key Management Service (AWS KMS) key associated with this job. This
ARN was created using the CreateKey API action in AWS KMS.
kmsKeyARN - The Amazon Resource Name (ARN) for the AWS Key Management Service (AWS KMS) key associated with this job.
This ARN was created using the CreateKey API action in AWS KMS.public String getKmsKeyARN()
The Amazon Resource Name (ARN) for the AWS Key Management Service (AWS KMS) key associated with this job. This
ARN was created using the CreateKey API action in AWS KMS.
CreateKey API action in AWS KMS.public JobMetadata withKmsKeyARN(String kmsKeyARN)
The Amazon Resource Name (ARN) for the AWS Key Management Service (AWS KMS) key associated with this job. This
ARN was created using the CreateKey API action in AWS KMS.
kmsKeyARN - The Amazon Resource Name (ARN) for the AWS Key Management Service (AWS KMS) key associated with this job.
This ARN was created using the CreateKey API action in AWS KMS.public void setRoleARN(String roleARN)
The role ARN associated with this job. This ARN was created using the CreateRole API action in AWS
Identity and Access Management (IAM).
roleARN - The role ARN associated with this job. This ARN was created using the CreateRole API action
in AWS Identity and Access Management (IAM).public String getRoleARN()
The role ARN associated with this job. This ARN was created using the CreateRole API action in AWS
Identity and Access Management (IAM).
CreateRole API action
in AWS Identity and Access Management (IAM).public JobMetadata withRoleARN(String roleARN)
The role ARN associated with this job. This ARN was created using the CreateRole API action in AWS
Identity and Access Management (IAM).
roleARN - The role ARN associated with this job. This ARN was created using the CreateRole API action
in AWS Identity and Access Management (IAM).public void setAddressId(String addressId)
The ID for the address that you want the Snowball shipped to.
addressId - The ID for the address that you want the Snowball shipped to.public String getAddressId()
The ID for the address that you want the Snowball shipped to.
public JobMetadata withAddressId(String addressId)
The ID for the address that you want the Snowball shipped to.
addressId - The ID for the address that you want the Snowball shipped to.public void setShippingDetails(ShippingDetails shippingDetails)
A job's shipping information, including inbound and outbound tracking numbers and shipping speed options.
shippingDetails - A job's shipping information, including inbound and outbound tracking numbers and shipping speed options.public ShippingDetails getShippingDetails()
A job's shipping information, including inbound and outbound tracking numbers and shipping speed options.
public JobMetadata withShippingDetails(ShippingDetails shippingDetails)
A job's shipping information, including inbound and outbound tracking numbers and shipping speed options.
shippingDetails - A job's shipping information, including inbound and outbound tracking numbers and shipping speed options.public void setSnowballCapacityPreference(String snowballCapacityPreference)
The Snowball capacity preference for this job, specified at job creation. In US regions, you can choose between 50 TB and 80 TB Snowballs. All other regions use 80 TB capacity Snowballs.
snowballCapacityPreference - The Snowball capacity preference for this job, specified at job creation. In US regions, you can choose
between 50 TB and 80 TB Snowballs. All other regions use 80 TB capacity Snowballs.SnowballCapacitypublic String getSnowballCapacityPreference()
The Snowball capacity preference for this job, specified at job creation. In US regions, you can choose between 50 TB and 80 TB Snowballs. All other regions use 80 TB capacity Snowballs.
SnowballCapacitypublic JobMetadata withSnowballCapacityPreference(String snowballCapacityPreference)
The Snowball capacity preference for this job, specified at job creation. In US regions, you can choose between 50 TB and 80 TB Snowballs. All other regions use 80 TB capacity Snowballs.
snowballCapacityPreference - The Snowball capacity preference for this job, specified at job creation. In US regions, you can choose
between 50 TB and 80 TB Snowballs. All other regions use 80 TB capacity Snowballs.SnowballCapacitypublic void setSnowballCapacityPreference(SnowballCapacity snowballCapacityPreference)
The Snowball capacity preference for this job, specified at job creation. In US regions, you can choose between 50 TB and 80 TB Snowballs. All other regions use 80 TB capacity Snowballs.
snowballCapacityPreference - The Snowball capacity preference for this job, specified at job creation. In US regions, you can choose
between 50 TB and 80 TB Snowballs. All other regions use 80 TB capacity Snowballs.SnowballCapacitypublic JobMetadata withSnowballCapacityPreference(SnowballCapacity snowballCapacityPreference)
The Snowball capacity preference for this job, specified at job creation. In US regions, you can choose between 50 TB and 80 TB Snowballs. All other regions use 80 TB capacity Snowballs.
snowballCapacityPreference - The Snowball capacity preference for this job, specified at job creation. In US regions, you can choose
between 50 TB and 80 TB Snowballs. All other regions use 80 TB capacity Snowballs.SnowballCapacitypublic void setNotification(Notification notification)
The Amazon Simple Notification Service (Amazon SNS) notification settings associated with a specific job. The
Notification object is returned as a part of the response syntax of the DescribeJob
action in the JobMetadata data type.
notification - The Amazon Simple Notification Service (Amazon SNS) notification settings associated with a specific job.
The Notification object is returned as a part of the response syntax of the
DescribeJob action in the JobMetadata data type.public Notification getNotification()
The Amazon Simple Notification Service (Amazon SNS) notification settings associated with a specific job. The
Notification object is returned as a part of the response syntax of the DescribeJob
action in the JobMetadata data type.
Notification object is returned as a part of the response syntax of the
DescribeJob action in the JobMetadata data type.public JobMetadata withNotification(Notification notification)
The Amazon Simple Notification Service (Amazon SNS) notification settings associated with a specific job. The
Notification object is returned as a part of the response syntax of the DescribeJob
action in the JobMetadata data type.
notification - The Amazon Simple Notification Service (Amazon SNS) notification settings associated with a specific job.
The Notification object is returned as a part of the response syntax of the
DescribeJob action in the JobMetadata data type.public void setDataTransferProgress(DataTransfer dataTransferProgress)
A value that defines the real-time status of a Snowball's data transfer while the appliance is at AWS. Note that
this data is only available while a job has a JobState value of InProgress, for both
import and export jobs.
dataTransferProgress - A value that defines the real-time status of a Snowball's data transfer while the appliance is at AWS.
Note that this data is only available while a job has a JobState value of
InProgress, for both import and export jobs.public DataTransfer getDataTransferProgress()
A value that defines the real-time status of a Snowball's data transfer while the appliance is at AWS. Note that
this data is only available while a job has a JobState value of InProgress, for both
import and export jobs.
JobState value of
InProgress, for both import and export jobs.public JobMetadata withDataTransferProgress(DataTransfer dataTransferProgress)
A value that defines the real-time status of a Snowball's data transfer while the appliance is at AWS. Note that
this data is only available while a job has a JobState value of InProgress, for both
import and export jobs.
dataTransferProgress - A value that defines the real-time status of a Snowball's data transfer while the appliance is at AWS.
Note that this data is only available while a job has a JobState value of
InProgress, for both import and export jobs.public void setJobLogInfo(JobLogs jobLogInfo)
Links to Amazon S3 presigned URLs for the job report and logs. For import jobs, the PDF job report becomes available at the end of the import process. For export jobs, your job report typically becomes available while the Snowball for your job part is being delivered to you.
jobLogInfo - Links to Amazon S3 presigned URLs for the job report and logs. For import jobs, the PDF job report becomes
available at the end of the import process. For export jobs, your job report typically becomes available
while the Snowball for your job part is being delivered to you.public JobLogs getJobLogInfo()
Links to Amazon S3 presigned URLs for the job report and logs. For import jobs, the PDF job report becomes available at the end of the import process. For export jobs, your job report typically becomes available while the Snowball for your job part is being delivered to you.
public JobMetadata withJobLogInfo(JobLogs jobLogInfo)
Links to Amazon S3 presigned URLs for the job report and logs. For import jobs, the PDF job report becomes available at the end of the import process. For export jobs, your job report typically becomes available while the Snowball for your job part is being delivered to you.
jobLogInfo - Links to Amazon S3 presigned URLs for the job report and logs. For import jobs, the PDF job report becomes
available at the end of the import process. For export jobs, your job report typically becomes available
while the Snowball for your job part is being delivered to you.public String toString()
toString in class ObjectObject.toString()public JobMetadata clone()
Copyright © 2016. All rights reserved.