com.amazonaws.services.snowball.model.JobMetadata Maven / Gradle / Ivy
Show all versions of aws-java-sdk-snowball Show documentation
/*
* Copyright 2019-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
* and limitations under the License.
*/
package com.amazonaws.services.snowball.model;
import java.io.Serializable;
import javax.annotation.Generated;
import com.amazonaws.protocol.StructuredPojo;
import com.amazonaws.protocol.ProtocolMarshaller;
/**
*
* 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.
*
*
* @see AWS API
* Documentation
*/
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public class JobMetadata implements Serializable, Cloneable, StructuredPojo {
/**
*
* The automatically generated ID for a job, for example JID123e4567-e89b-12d3-a456-426655440000
.
*
*/
private String jobId;
/**
*
* The current status of the jobs.
*
*/
private String jobState;
/**
*
* The type of job.
*
*/
private String jobType;
/**
*
* The type of device used with this job.
*
*/
private String snowballType;
/**
*
* The creation date for this job.
*
*/
private java.util.Date creationDate;
/**
*
* An array of S3Resource
objects. Each S3Resource
object represents an Amazon S3 bucket
* that your transferred data will be exported from or imported into.
*
*/
private JobResource resources;
/**
*
* The description of the job, provided at job creation.
*
*/
private String description;
/**
*
* The Amazon Resource Name (ARN) for the Key Management Service (KMS) key associated with this job. This ARN was
* created using the CreateKey
* API action in KMS.
*
*/
private String kmsKeyARN;
/**
*
* The role ARN associated with this job. This ARN was created using the CreateRole API action in
* Identity and Access Management.
*
*/
private String roleARN;
/**
*
* The ID for the address that you want the Snow device shipped to.
*
*/
private String addressId;
/**
*
* A job's shipping information, including inbound and outbound tracking numbers and shipping speed options.
*
*/
private ShippingDetails shippingDetails;
/**
*
* The Snow device 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.
*
*
* For more information, see "https://docs.aws.amazon.com/snowball/latest/snowcone-guide/snow-device-types.html"
* (Snow Family Devices and Capacity) in the Snowcone User Guide or
* "https://docs.aws.amazon.com/snowball/latest/developer-guide/snow-device-types.html" (Snow Family Devices and
* Capacity) in the Snowcone User Guide.
*
*/
private String snowballCapacityPreference;
/**
*
* 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.
*
*/
private Notification notification;
/**
*
* A value that defines the real-time status of a Snow device's data transfer while the device is at Amazon Web
* Services. This data is only available while a job has a JobState
value of InProgress
,
* for both import and export jobs.
*
*/
private DataTransfer dataTransferProgress;
/**
*
* 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 Snow device for your job part is being delivered to you.
*
*/
private JobLogs jobLogInfo;
/**
*
* The 39-character ID for the cluster, for example CID123e4567-e89b-12d3-a456-426655440000
.
*
*/
private String clusterId;
/**
*
* The ID of the address that you want a job shipped to, after it will be shipped to its primary address. This field
* is not supported in most regions.
*
*/
private String forwardingAddressId;
/**
*
* The metadata associated with the tax documents required in your Amazon Web Services Region.
*
*/
private TaxDocuments taxDocuments;
private DeviceConfiguration deviceConfiguration;
/**
*
* Allows you to securely operate and manage Snowcone devices remotely from outside of your internal network. When
* set to INSTALLED_AUTOSTART
, remote management will automatically be available when the device
* arrives at your location. Otherwise, you need to use the Snowball Client to manage the device.
*
*/
private String remoteManagement;
/**
*
* The ID of the long-term pricing type for the device.
*
*/
private String longTermPricingId;
/**
*
* Represents metadata and configuration settings for services on an Amazon Web Services Snow Family device.
*
*/
private OnDeviceServiceConfiguration onDeviceServiceConfiguration;
/**
*
* The highest impact level of data that will be stored or processed on the device, provided at job creation.
*
*/
private String impactLevel;
/**
*
* Information identifying the person picking up the device.
*
*/
private PickupDetails pickupDetails;
/**
*
* Unique ID associated with a device.
*
*/
private String snowballId;
/**
*
* The automatically generated ID for a job, for example JID123e4567-e89b-12d3-a456-426655440000
.
*
*
* @param jobId
* The automatically generated ID for a job, for example JID123e4567-e89b-12d3-a456-426655440000
* .
*/
public void setJobId(String jobId) {
this.jobId = jobId;
}
/**
*
* The automatically generated ID for a job, for example JID123e4567-e89b-12d3-a456-426655440000
.
*
*
* @return The automatically generated ID for a job, for example
* JID123e4567-e89b-12d3-a456-426655440000
.
*/
public String getJobId() {
return this.jobId;
}
/**
*
* The automatically generated ID for a job, for example JID123e4567-e89b-12d3-a456-426655440000
.
*
*
* @param jobId
* The automatically generated ID for a job, for example JID123e4567-e89b-12d3-a456-426655440000
* .
* @return Returns a reference to this object so that method calls can be chained together.
*/
public JobMetadata withJobId(String jobId) {
setJobId(jobId);
return this;
}
/**
*
* The current status of the jobs.
*
*
* @param jobState
* The current status of the jobs.
* @see JobState
*/
public void setJobState(String jobState) {
this.jobState = jobState;
}
/**
*
* The current status of the jobs.
*
*
* @return The current status of the jobs.
* @see JobState
*/
public String getJobState() {
return this.jobState;
}
/**
*
* The current status of the jobs.
*
*
* @param jobState
* The current status of the jobs.
* @return Returns a reference to this object so that method calls can be chained together.
* @see JobState
*/
public JobMetadata withJobState(String jobState) {
setJobState(jobState);
return this;
}
/**
*
* The current status of the jobs.
*
*
* @param jobState
* The current status of the jobs.
* @see JobState
*/
public void setJobState(JobState jobState) {
withJobState(jobState);
}
/**
*
* The current status of the jobs.
*
*
* @param jobState
* The current status of the jobs.
* @return Returns a reference to this object so that method calls can be chained together.
* @see JobState
*/
public JobMetadata withJobState(JobState jobState) {
this.jobState = jobState.toString();
return this;
}
/**
*
* The type of job.
*
*
* @param jobType
* The type of job.
* @see JobType
*/
public void setJobType(String jobType) {
this.jobType = jobType;
}
/**
*
* The type of job.
*
*
* @return The type of job.
* @see JobType
*/
public String getJobType() {
return this.jobType;
}
/**
*
* The type of job.
*
*
* @param jobType
* The type of job.
* @return Returns a reference to this object so that method calls can be chained together.
* @see JobType
*/
public JobMetadata withJobType(String jobType) {
setJobType(jobType);
return this;
}
/**
*
* The type of job.
*
*
* @param jobType
* The type of job.
* @see JobType
*/
public void setJobType(JobType jobType) {
withJobType(jobType);
}
/**
*
* The type of job.
*
*
* @param jobType
* The type of job.
* @return Returns a reference to this object so that method calls can be chained together.
* @see JobType
*/
public JobMetadata withJobType(JobType jobType) {
this.jobType = jobType.toString();
return this;
}
/**
*
* The type of device used with this job.
*
*
* @param snowballType
* The type of device used with this job.
* @see SnowballType
*/
public void setSnowballType(String snowballType) {
this.snowballType = snowballType;
}
/**
*
* The type of device used with this job.
*
*
* @return The type of device used with this job.
* @see SnowballType
*/
public String getSnowballType() {
return this.snowballType;
}
/**
*
* The type of device used with this job.
*
*
* @param snowballType
* The type of device used with this job.
* @return Returns a reference to this object so that method calls can be chained together.
* @see SnowballType
*/
public JobMetadata withSnowballType(String snowballType) {
setSnowballType(snowballType);
return this;
}
/**
*
* The type of device used with this job.
*
*
* @param snowballType
* The type of device used with this job.
* @see SnowballType
*/
public void setSnowballType(SnowballType snowballType) {
withSnowballType(snowballType);
}
/**
*
* The type of device used with this job.
*
*
* @param snowballType
* The type of device used with this job.
* @return Returns a reference to this object so that method calls can be chained together.
* @see SnowballType
*/
public JobMetadata withSnowballType(SnowballType snowballType) {
this.snowballType = snowballType.toString();
return this;
}
/**
*
* The creation date for this job.
*
*
* @param creationDate
* The creation date for this job.
*/
public void setCreationDate(java.util.Date creationDate) {
this.creationDate = creationDate;
}
/**
*
* The creation date for this job.
*
*
* @return The creation date for this job.
*/
public java.util.Date getCreationDate() {
return this.creationDate;
}
/**
*
* The creation date for this job.
*
*
* @param creationDate
* The creation date for this job.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public JobMetadata withCreationDate(java.util.Date creationDate) {
setCreationDate(creationDate);
return this;
}
/**
*
* An array of S3Resource
objects. Each S3Resource
object represents an Amazon S3 bucket
* that your transferred data will be exported from or imported into.
*
*
* @param 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 setResources(JobResource resources) {
this.resources = 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.
*
*
* @return 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() {
return this.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.
*
*
* @param 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.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public JobMetadata withResources(JobResource resources) {
setResources(resources);
return this;
}
/**
*
* The description of the job, provided at job creation.
*
*
* @param description
* The description of the job, provided at job creation.
*/
public void setDescription(String description) {
this.description = description;
}
/**
*
* The description of the job, provided at job creation.
*
*
* @return The description of the job, provided at job creation.
*/
public String getDescription() {
return this.description;
}
/**
*
* The description of the job, provided at job creation.
*
*
* @param description
* The description of the job, provided at job creation.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public JobMetadata withDescription(String description) {
setDescription(description);
return this;
}
/**
*
* The Amazon Resource Name (ARN) for the Key Management Service (KMS) key associated with this job. This ARN was
* created using the CreateKey
* API action in KMS.
*
*
* @param kmsKeyARN
* The Amazon Resource Name (ARN) for the Key Management Service (KMS) key associated with this job. This ARN
* was created using the CreateKey API action in
* KMS.
*/
public void setKmsKeyARN(String kmsKeyARN) {
this.kmsKeyARN = kmsKeyARN;
}
/**
*
* The Amazon Resource Name (ARN) for the Key Management Service (KMS) key associated with this job. This ARN was
* created using the CreateKey
* API action in KMS.
*
*
* @return The Amazon Resource Name (ARN) for the Key Management Service (KMS) key associated with this job. This
* ARN was created using the CreateKey API action in
* KMS.
*/
public String getKmsKeyARN() {
return this.kmsKeyARN;
}
/**
*
* The Amazon Resource Name (ARN) for the Key Management Service (KMS) key associated with this job. This ARN was
* created using the CreateKey
* API action in KMS.
*
*
* @param kmsKeyARN
* The Amazon Resource Name (ARN) for the Key Management Service (KMS) key associated with this job. This ARN
* was created using the CreateKey API action in
* KMS.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public JobMetadata withKmsKeyARN(String kmsKeyARN) {
setKmsKeyARN(kmsKeyARN);
return this;
}
/**
*
* The role ARN associated with this job. This ARN was created using the CreateRole API action in
* Identity and Access Management.
*
*
* @param roleARN
* The role ARN associated with this job. This ARN was created using the CreateRole API action
* in Identity and Access Management.
*/
public void setRoleARN(String roleARN) {
this.roleARN = roleARN;
}
/**
*
* The role ARN associated with this job. This ARN was created using the CreateRole API action in
* Identity and Access Management.
*
*
* @return The role ARN associated with this job. This ARN was created using the CreateRole API action
* in Identity and Access Management.
*/
public String getRoleARN() {
return this.roleARN;
}
/**
*
* The role ARN associated with this job. This ARN was created using the CreateRole API action in
* Identity and Access Management.
*
*
* @param roleARN
* The role ARN associated with this job. This ARN was created using the CreateRole API action
* in Identity and Access Management.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public JobMetadata withRoleARN(String roleARN) {
setRoleARN(roleARN);
return this;
}
/**
*
* The ID for the address that you want the Snow device shipped to.
*
*
* @param addressId
* The ID for the address that you want the Snow device shipped to.
*/
public void setAddressId(String addressId) {
this.addressId = addressId;
}
/**
*
* The ID for the address that you want the Snow device shipped to.
*
*
* @return The ID for the address that you want the Snow device shipped to.
*/
public String getAddressId() {
return this.addressId;
}
/**
*
* The ID for the address that you want the Snow device shipped to.
*
*
* @param addressId
* The ID for the address that you want the Snow device shipped to.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public JobMetadata withAddressId(String addressId) {
setAddressId(addressId);
return this;
}
/**
*
* A job's shipping information, including inbound and outbound tracking numbers and shipping speed options.
*
*
* @param shippingDetails
* A job's shipping information, including inbound and outbound tracking numbers and shipping speed options.
*/
public void setShippingDetails(ShippingDetails shippingDetails) {
this.shippingDetails = shippingDetails;
}
/**
*
* A job's shipping information, including inbound and outbound tracking numbers and shipping speed options.
*
*
* @return A job's shipping information, including inbound and outbound tracking numbers and shipping speed options.
*/
public ShippingDetails getShippingDetails() {
return this.shippingDetails;
}
/**
*
* A job's shipping information, including inbound and outbound tracking numbers and shipping speed options.
*
*
* @param shippingDetails
* A job's shipping information, including inbound and outbound tracking numbers and shipping speed options.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public JobMetadata withShippingDetails(ShippingDetails shippingDetails) {
setShippingDetails(shippingDetails);
return this;
}
/**
*
* The Snow device 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.
*
*
* For more information, see "https://docs.aws.amazon.com/snowball/latest/snowcone-guide/snow-device-types.html"
* (Snow Family Devices and Capacity) in the Snowcone User Guide or
* "https://docs.aws.amazon.com/snowball/latest/developer-guide/snow-device-types.html" (Snow Family Devices and
* Capacity) in the Snowcone User Guide.
*
*
* @param snowballCapacityPreference
* The Snow device 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.
*
* For more information, see
* "https://docs.aws.amazon.com/snowball/latest/snowcone-guide/snow-device-types.html" (Snow Family Devices
* and Capacity) in the Snowcone User Guide or
* "https://docs.aws.amazon.com/snowball/latest/developer-guide/snow-device-types.html" (Snow Family Devices
* and Capacity) in the Snowcone User Guide.
* @see SnowballCapacity
*/
public void setSnowballCapacityPreference(String snowballCapacityPreference) {
this.snowballCapacityPreference = snowballCapacityPreference;
}
/**
*
* The Snow device 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.
*
*
* For more information, see "https://docs.aws.amazon.com/snowball/latest/snowcone-guide/snow-device-types.html"
* (Snow Family Devices and Capacity) in the Snowcone User Guide or
* "https://docs.aws.amazon.com/snowball/latest/developer-guide/snow-device-types.html" (Snow Family Devices and
* Capacity) in the Snowcone User Guide.
*
*
* @return The Snow device 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.
*
* For more information, see
* "https://docs.aws.amazon.com/snowball/latest/snowcone-guide/snow-device-types.html" (Snow Family Devices
* and Capacity) in the Snowcone User Guide or
* "https://docs.aws.amazon.com/snowball/latest/developer-guide/snow-device-types.html" (Snow Family Devices
* and Capacity) in the Snowcone User Guide.
* @see SnowballCapacity
*/
public String getSnowballCapacityPreference() {
return this.snowballCapacityPreference;
}
/**
*
* The Snow device 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.
*
*
* For more information, see "https://docs.aws.amazon.com/snowball/latest/snowcone-guide/snow-device-types.html"
* (Snow Family Devices and Capacity) in the Snowcone User Guide or
* "https://docs.aws.amazon.com/snowball/latest/developer-guide/snow-device-types.html" (Snow Family Devices and
* Capacity) in the Snowcone User Guide.
*
*
* @param snowballCapacityPreference
* The Snow device 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.
*
* For more information, see
* "https://docs.aws.amazon.com/snowball/latest/snowcone-guide/snow-device-types.html" (Snow Family Devices
* and Capacity) in the Snowcone User Guide or
* "https://docs.aws.amazon.com/snowball/latest/developer-guide/snow-device-types.html" (Snow Family Devices
* and Capacity) in the Snowcone User Guide.
* @return Returns a reference to this object so that method calls can be chained together.
* @see SnowballCapacity
*/
public JobMetadata withSnowballCapacityPreference(String snowballCapacityPreference) {
setSnowballCapacityPreference(snowballCapacityPreference);
return this;
}
/**
*
* The Snow device 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.
*
*
* For more information, see "https://docs.aws.amazon.com/snowball/latest/snowcone-guide/snow-device-types.html"
* (Snow Family Devices and Capacity) in the Snowcone User Guide or
* "https://docs.aws.amazon.com/snowball/latest/developer-guide/snow-device-types.html" (Snow Family Devices and
* Capacity) in the Snowcone User Guide.
*
*
* @param snowballCapacityPreference
* The Snow device 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.
*
* For more information, see
* "https://docs.aws.amazon.com/snowball/latest/snowcone-guide/snow-device-types.html" (Snow Family Devices
* and Capacity) in the Snowcone User Guide or
* "https://docs.aws.amazon.com/snowball/latest/developer-guide/snow-device-types.html" (Snow Family Devices
* and Capacity) in the Snowcone User Guide.
* @see SnowballCapacity
*/
public void setSnowballCapacityPreference(SnowballCapacity snowballCapacityPreference) {
withSnowballCapacityPreference(snowballCapacityPreference);
}
/**
*
* The Snow device 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.
*
*
* For more information, see "https://docs.aws.amazon.com/snowball/latest/snowcone-guide/snow-device-types.html"
* (Snow Family Devices and Capacity) in the Snowcone User Guide or
* "https://docs.aws.amazon.com/snowball/latest/developer-guide/snow-device-types.html" (Snow Family Devices and
* Capacity) in the Snowcone User Guide.
*
*
* @param snowballCapacityPreference
* The Snow device 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.
*
* For more information, see
* "https://docs.aws.amazon.com/snowball/latest/snowcone-guide/snow-device-types.html" (Snow Family Devices
* and Capacity) in the Snowcone User Guide or
* "https://docs.aws.amazon.com/snowball/latest/developer-guide/snow-device-types.html" (Snow Family Devices
* and Capacity) in the Snowcone User Guide.
* @return Returns a reference to this object so that method calls can be chained together.
* @see SnowballCapacity
*/
public JobMetadata withSnowballCapacityPreference(SnowballCapacity snowballCapacityPreference) {
this.snowballCapacityPreference = snowballCapacityPreference.toString();
return this;
}
/**
*
* 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.
*
*
* @param 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 setNotification(Notification notification) {
this.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.
*
*
* @return 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() {
return this.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.
*
*
* @param 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.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public JobMetadata withNotification(Notification notification) {
setNotification(notification);
return this;
}
/**
*
* A value that defines the real-time status of a Snow device's data transfer while the device is at Amazon Web
* Services. This data is only available while a job has a JobState
value of InProgress
,
* for both import and export jobs.
*
*
* @param dataTransferProgress
* A value that defines the real-time status of a Snow device's data transfer while the device is at Amazon
* Web Services. This data is only available while a job has a JobState
value of
* InProgress
, for both import and export jobs.
*/
public void setDataTransferProgress(DataTransfer dataTransferProgress) {
this.dataTransferProgress = dataTransferProgress;
}
/**
*
* A value that defines the real-time status of a Snow device's data transfer while the device is at Amazon Web
* Services. This data is only available while a job has a JobState
value of InProgress
,
* for both import and export jobs.
*
*
* @return A value that defines the real-time status of a Snow device's data transfer while the device is at Amazon
* Web Services. This data is only available while a job has a JobState
value of
* InProgress
, for both import and export jobs.
*/
public DataTransfer getDataTransferProgress() {
return this.dataTransferProgress;
}
/**
*
* A value that defines the real-time status of a Snow device's data transfer while the device is at Amazon Web
* Services. This data is only available while a job has a JobState
value of InProgress
,
* for both import and export jobs.
*
*
* @param dataTransferProgress
* A value that defines the real-time status of a Snow device's data transfer while the device is at Amazon
* Web Services. This data is only available while a job has a JobState
value of
* InProgress
, for both import and export jobs.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public JobMetadata withDataTransferProgress(DataTransfer dataTransferProgress) {
setDataTransferProgress(dataTransferProgress);
return this;
}
/**
*
* 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 Snow device for your job part is being delivered to you.
*
*
* @param 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 Snow device for your job part is being delivered to you.
*/
public void setJobLogInfo(JobLogs jobLogInfo) {
this.jobLogInfo = 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 Snow device for your job part is being delivered to you.
*
*
* @return 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 Snow device for your job part is being delivered to you.
*/
public JobLogs getJobLogInfo() {
return this.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 Snow device for your job part is being delivered to you.
*
*
* @param 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 Snow device for your job part is being delivered to you.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public JobMetadata withJobLogInfo(JobLogs jobLogInfo) {
setJobLogInfo(jobLogInfo);
return this;
}
/**
*
* The 39-character ID for the cluster, for example CID123e4567-e89b-12d3-a456-426655440000
.
*
*
* @param clusterId
* The 39-character ID for the cluster, for example CID123e4567-e89b-12d3-a456-426655440000
.
*/
public void setClusterId(String clusterId) {
this.clusterId = clusterId;
}
/**
*
* The 39-character ID for the cluster, for example CID123e4567-e89b-12d3-a456-426655440000
.
*
*
* @return The 39-character ID for the cluster, for example CID123e4567-e89b-12d3-a456-426655440000
.
*/
public String getClusterId() {
return this.clusterId;
}
/**
*
* The 39-character ID for the cluster, for example CID123e4567-e89b-12d3-a456-426655440000
.
*
*
* @param clusterId
* The 39-character ID for the cluster, for example CID123e4567-e89b-12d3-a456-426655440000
.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public JobMetadata withClusterId(String clusterId) {
setClusterId(clusterId);
return this;
}
/**
*
* The ID of the address that you want a job shipped to, after it will be shipped to its primary address. This field
* is not supported in most regions.
*
*
* @param forwardingAddressId
* The ID of the address that you want a job shipped to, after it will be shipped to its primary address.
* This field is not supported in most regions.
*/
public void setForwardingAddressId(String forwardingAddressId) {
this.forwardingAddressId = forwardingAddressId;
}
/**
*
* The ID of the address that you want a job shipped to, after it will be shipped to its primary address. This field
* is not supported in most regions.
*
*
* @return The ID of the address that you want a job shipped to, after it will be shipped to its primary address.
* This field is not supported in most regions.
*/
public String getForwardingAddressId() {
return this.forwardingAddressId;
}
/**
*
* The ID of the address that you want a job shipped to, after it will be shipped to its primary address. This field
* is not supported in most regions.
*
*
* @param forwardingAddressId
* The ID of the address that you want a job shipped to, after it will be shipped to its primary address.
* This field is not supported in most regions.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public JobMetadata withForwardingAddressId(String forwardingAddressId) {
setForwardingAddressId(forwardingAddressId);
return this;
}
/**
*
* The metadata associated with the tax documents required in your Amazon Web Services Region.
*
*
* @param taxDocuments
* The metadata associated with the tax documents required in your Amazon Web Services Region.
*/
public void setTaxDocuments(TaxDocuments taxDocuments) {
this.taxDocuments = taxDocuments;
}
/**
*
* The metadata associated with the tax documents required in your Amazon Web Services Region.
*
*
* @return The metadata associated with the tax documents required in your Amazon Web Services Region.
*/
public TaxDocuments getTaxDocuments() {
return this.taxDocuments;
}
/**
*
* The metadata associated with the tax documents required in your Amazon Web Services Region.
*
*
* @param taxDocuments
* The metadata associated with the tax documents required in your Amazon Web Services Region.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public JobMetadata withTaxDocuments(TaxDocuments taxDocuments) {
setTaxDocuments(taxDocuments);
return this;
}
/**
* @param deviceConfiguration
*/
public void setDeviceConfiguration(DeviceConfiguration deviceConfiguration) {
this.deviceConfiguration = deviceConfiguration;
}
/**
* @return
*/
public DeviceConfiguration getDeviceConfiguration() {
return this.deviceConfiguration;
}
/**
* @param deviceConfiguration
* @return Returns a reference to this object so that method calls can be chained together.
*/
public JobMetadata withDeviceConfiguration(DeviceConfiguration deviceConfiguration) {
setDeviceConfiguration(deviceConfiguration);
return this;
}
/**
*
* Allows you to securely operate and manage Snowcone devices remotely from outside of your internal network. When
* set to INSTALLED_AUTOSTART
, remote management will automatically be available when the device
* arrives at your location. Otherwise, you need to use the Snowball Client to manage the device.
*
*
* @param remoteManagement
* Allows you to securely operate and manage Snowcone devices remotely from outside of your internal network.
* When set to INSTALLED_AUTOSTART
, remote management will automatically be available when the
* device arrives at your location. Otherwise, you need to use the Snowball Client to manage the device.
* @see RemoteManagement
*/
public void setRemoteManagement(String remoteManagement) {
this.remoteManagement = remoteManagement;
}
/**
*
* Allows you to securely operate and manage Snowcone devices remotely from outside of your internal network. When
* set to INSTALLED_AUTOSTART
, remote management will automatically be available when the device
* arrives at your location. Otherwise, you need to use the Snowball Client to manage the device.
*
*
* @return Allows you to securely operate and manage Snowcone devices remotely from outside of your internal
* network. When set to INSTALLED_AUTOSTART
, remote management will automatically be available
* when the device arrives at your location. Otherwise, you need to use the Snowball Client to manage the
* device.
* @see RemoteManagement
*/
public String getRemoteManagement() {
return this.remoteManagement;
}
/**
*
* Allows you to securely operate and manage Snowcone devices remotely from outside of your internal network. When
* set to INSTALLED_AUTOSTART
, remote management will automatically be available when the device
* arrives at your location. Otherwise, you need to use the Snowball Client to manage the device.
*
*
* @param remoteManagement
* Allows you to securely operate and manage Snowcone devices remotely from outside of your internal network.
* When set to INSTALLED_AUTOSTART
, remote management will automatically be available when the
* device arrives at your location. Otherwise, you need to use the Snowball Client to manage the device.
* @return Returns a reference to this object so that method calls can be chained together.
* @see RemoteManagement
*/
public JobMetadata withRemoteManagement(String remoteManagement) {
setRemoteManagement(remoteManagement);
return this;
}
/**
*
* Allows you to securely operate and manage Snowcone devices remotely from outside of your internal network. When
* set to INSTALLED_AUTOSTART
, remote management will automatically be available when the device
* arrives at your location. Otherwise, you need to use the Snowball Client to manage the device.
*
*
* @param remoteManagement
* Allows you to securely operate and manage Snowcone devices remotely from outside of your internal network.
* When set to INSTALLED_AUTOSTART
, remote management will automatically be available when the
* device arrives at your location. Otherwise, you need to use the Snowball Client to manage the device.
* @see RemoteManagement
*/
public void setRemoteManagement(RemoteManagement remoteManagement) {
withRemoteManagement(remoteManagement);
}
/**
*
* Allows you to securely operate and manage Snowcone devices remotely from outside of your internal network. When
* set to INSTALLED_AUTOSTART
, remote management will automatically be available when the device
* arrives at your location. Otherwise, you need to use the Snowball Client to manage the device.
*
*
* @param remoteManagement
* Allows you to securely operate and manage Snowcone devices remotely from outside of your internal network.
* When set to INSTALLED_AUTOSTART
, remote management will automatically be available when the
* device arrives at your location. Otherwise, you need to use the Snowball Client to manage the device.
* @return Returns a reference to this object so that method calls can be chained together.
* @see RemoteManagement
*/
public JobMetadata withRemoteManagement(RemoteManagement remoteManagement) {
this.remoteManagement = remoteManagement.toString();
return this;
}
/**
*
* The ID of the long-term pricing type for the device.
*
*
* @param longTermPricingId
* The ID of the long-term pricing type for the device.
*/
public void setLongTermPricingId(String longTermPricingId) {
this.longTermPricingId = longTermPricingId;
}
/**
*
* The ID of the long-term pricing type for the device.
*
*
* @return The ID of the long-term pricing type for the device.
*/
public String getLongTermPricingId() {
return this.longTermPricingId;
}
/**
*
* The ID of the long-term pricing type for the device.
*
*
* @param longTermPricingId
* The ID of the long-term pricing type for the device.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public JobMetadata withLongTermPricingId(String longTermPricingId) {
setLongTermPricingId(longTermPricingId);
return this;
}
/**
*
* Represents metadata and configuration settings for services on an Amazon Web Services Snow Family device.
*
*
* @param onDeviceServiceConfiguration
* Represents metadata and configuration settings for services on an Amazon Web Services Snow Family device.
*/
public void setOnDeviceServiceConfiguration(OnDeviceServiceConfiguration onDeviceServiceConfiguration) {
this.onDeviceServiceConfiguration = onDeviceServiceConfiguration;
}
/**
*
* Represents metadata and configuration settings for services on an Amazon Web Services Snow Family device.
*
*
* @return Represents metadata and configuration settings for services on an Amazon Web Services Snow Family device.
*/
public OnDeviceServiceConfiguration getOnDeviceServiceConfiguration() {
return this.onDeviceServiceConfiguration;
}
/**
*
* Represents metadata and configuration settings for services on an Amazon Web Services Snow Family device.
*
*
* @param onDeviceServiceConfiguration
* Represents metadata and configuration settings for services on an Amazon Web Services Snow Family device.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public JobMetadata withOnDeviceServiceConfiguration(OnDeviceServiceConfiguration onDeviceServiceConfiguration) {
setOnDeviceServiceConfiguration(onDeviceServiceConfiguration);
return this;
}
/**
*
* The highest impact level of data that will be stored or processed on the device, provided at job creation.
*
*
* @param impactLevel
* The highest impact level of data that will be stored or processed on the device, provided at job creation.
* @see ImpactLevel
*/
public void setImpactLevel(String impactLevel) {
this.impactLevel = impactLevel;
}
/**
*
* The highest impact level of data that will be stored or processed on the device, provided at job creation.
*
*
* @return The highest impact level of data that will be stored or processed on the device, provided at job
* creation.
* @see ImpactLevel
*/
public String getImpactLevel() {
return this.impactLevel;
}
/**
*
* The highest impact level of data that will be stored or processed on the device, provided at job creation.
*
*
* @param impactLevel
* The highest impact level of data that will be stored or processed on the device, provided at job creation.
* @return Returns a reference to this object so that method calls can be chained together.
* @see ImpactLevel
*/
public JobMetadata withImpactLevel(String impactLevel) {
setImpactLevel(impactLevel);
return this;
}
/**
*
* The highest impact level of data that will be stored or processed on the device, provided at job creation.
*
*
* @param impactLevel
* The highest impact level of data that will be stored or processed on the device, provided at job creation.
* @see ImpactLevel
*/
public void setImpactLevel(ImpactLevel impactLevel) {
withImpactLevel(impactLevel);
}
/**
*
* The highest impact level of data that will be stored or processed on the device, provided at job creation.
*
*
* @param impactLevel
* The highest impact level of data that will be stored or processed on the device, provided at job creation.
* @return Returns a reference to this object so that method calls can be chained together.
* @see ImpactLevel
*/
public JobMetadata withImpactLevel(ImpactLevel impactLevel) {
this.impactLevel = impactLevel.toString();
return this;
}
/**
*
* Information identifying the person picking up the device.
*
*
* @param pickupDetails
* Information identifying the person picking up the device.
*/
public void setPickupDetails(PickupDetails pickupDetails) {
this.pickupDetails = pickupDetails;
}
/**
*
* Information identifying the person picking up the device.
*
*
* @return Information identifying the person picking up the device.
*/
public PickupDetails getPickupDetails() {
return this.pickupDetails;
}
/**
*
* Information identifying the person picking up the device.
*
*
* @param pickupDetails
* Information identifying the person picking up the device.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public JobMetadata withPickupDetails(PickupDetails pickupDetails) {
setPickupDetails(pickupDetails);
return this;
}
/**
*
* Unique ID associated with a device.
*
*
* @param snowballId
* Unique ID associated with a device.
*/
public void setSnowballId(String snowballId) {
this.snowballId = snowballId;
}
/**
*
* Unique ID associated with a device.
*
*
* @return Unique ID associated with a device.
*/
public String getSnowballId() {
return this.snowballId;
}
/**
*
* Unique ID associated with a device.
*
*
* @param snowballId
* Unique ID associated with a device.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public JobMetadata withSnowballId(String snowballId) {
setSnowballId(snowballId);
return this;
}
/**
* Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
* redacted from this string using a placeholder value.
*
* @return A string representation of this object.
*
* @see java.lang.Object#toString()
*/
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("{");
if (getJobId() != null)
sb.append("JobId: ").append(getJobId()).append(",");
if (getJobState() != null)
sb.append("JobState: ").append(getJobState()).append(",");
if (getJobType() != null)
sb.append("JobType: ").append(getJobType()).append(",");
if (getSnowballType() != null)
sb.append("SnowballType: ").append(getSnowballType()).append(",");
if (getCreationDate() != null)
sb.append("CreationDate: ").append(getCreationDate()).append(",");
if (getResources() != null)
sb.append("Resources: ").append(getResources()).append(",");
if (getDescription() != null)
sb.append("Description: ").append(getDescription()).append(",");
if (getKmsKeyARN() != null)
sb.append("KmsKeyARN: ").append(getKmsKeyARN()).append(",");
if (getRoleARN() != null)
sb.append("RoleARN: ").append(getRoleARN()).append(",");
if (getAddressId() != null)
sb.append("AddressId: ").append(getAddressId()).append(",");
if (getShippingDetails() != null)
sb.append("ShippingDetails: ").append(getShippingDetails()).append(",");
if (getSnowballCapacityPreference() != null)
sb.append("SnowballCapacityPreference: ").append(getSnowballCapacityPreference()).append(",");
if (getNotification() != null)
sb.append("Notification: ").append(getNotification()).append(",");
if (getDataTransferProgress() != null)
sb.append("DataTransferProgress: ").append(getDataTransferProgress()).append(",");
if (getJobLogInfo() != null)
sb.append("JobLogInfo: ").append(getJobLogInfo()).append(",");
if (getClusterId() != null)
sb.append("ClusterId: ").append(getClusterId()).append(",");
if (getForwardingAddressId() != null)
sb.append("ForwardingAddressId: ").append(getForwardingAddressId()).append(",");
if (getTaxDocuments() != null)
sb.append("TaxDocuments: ").append(getTaxDocuments()).append(",");
if (getDeviceConfiguration() != null)
sb.append("DeviceConfiguration: ").append(getDeviceConfiguration()).append(",");
if (getRemoteManagement() != null)
sb.append("RemoteManagement: ").append(getRemoteManagement()).append(",");
if (getLongTermPricingId() != null)
sb.append("LongTermPricingId: ").append(getLongTermPricingId()).append(",");
if (getOnDeviceServiceConfiguration() != null)
sb.append("OnDeviceServiceConfiguration: ").append(getOnDeviceServiceConfiguration()).append(",");
if (getImpactLevel() != null)
sb.append("ImpactLevel: ").append(getImpactLevel()).append(",");
if (getPickupDetails() != null)
sb.append("PickupDetails: ").append(getPickupDetails()).append(",");
if (getSnowballId() != null)
sb.append("SnowballId: ").append(getSnowballId());
sb.append("}");
return sb.toString();
}
@Override
public boolean equals(Object obj) {
if (this == obj)
return true;
if (obj == null)
return false;
if (obj instanceof JobMetadata == false)
return false;
JobMetadata other = (JobMetadata) obj;
if (other.getJobId() == null ^ this.getJobId() == null)
return false;
if (other.getJobId() != null && other.getJobId().equals(this.getJobId()) == false)
return false;
if (other.getJobState() == null ^ this.getJobState() == null)
return false;
if (other.getJobState() != null && other.getJobState().equals(this.getJobState()) == false)
return false;
if (other.getJobType() == null ^ this.getJobType() == null)
return false;
if (other.getJobType() != null && other.getJobType().equals(this.getJobType()) == false)
return false;
if (other.getSnowballType() == null ^ this.getSnowballType() == null)
return false;
if (other.getSnowballType() != null && other.getSnowballType().equals(this.getSnowballType()) == false)
return false;
if (other.getCreationDate() == null ^ this.getCreationDate() == null)
return false;
if (other.getCreationDate() != null && other.getCreationDate().equals(this.getCreationDate()) == false)
return false;
if (other.getResources() == null ^ this.getResources() == null)
return false;
if (other.getResources() != null && other.getResources().equals(this.getResources()) == false)
return false;
if (other.getDescription() == null ^ this.getDescription() == null)
return false;
if (other.getDescription() != null && other.getDescription().equals(this.getDescription()) == false)
return false;
if (other.getKmsKeyARN() == null ^ this.getKmsKeyARN() == null)
return false;
if (other.getKmsKeyARN() != null && other.getKmsKeyARN().equals(this.getKmsKeyARN()) == false)
return false;
if (other.getRoleARN() == null ^ this.getRoleARN() == null)
return false;
if (other.getRoleARN() != null && other.getRoleARN().equals(this.getRoleARN()) == false)
return false;
if (other.getAddressId() == null ^ this.getAddressId() == null)
return false;
if (other.getAddressId() != null && other.getAddressId().equals(this.getAddressId()) == false)
return false;
if (other.getShippingDetails() == null ^ this.getShippingDetails() == null)
return false;
if (other.getShippingDetails() != null && other.getShippingDetails().equals(this.getShippingDetails()) == false)
return false;
if (other.getSnowballCapacityPreference() == null ^ this.getSnowballCapacityPreference() == null)
return false;
if (other.getSnowballCapacityPreference() != null && other.getSnowballCapacityPreference().equals(this.getSnowballCapacityPreference()) == false)
return false;
if (other.getNotification() == null ^ this.getNotification() == null)
return false;
if (other.getNotification() != null && other.getNotification().equals(this.getNotification()) == false)
return false;
if (other.getDataTransferProgress() == null ^ this.getDataTransferProgress() == null)
return false;
if (other.getDataTransferProgress() != null && other.getDataTransferProgress().equals(this.getDataTransferProgress()) == false)
return false;
if (other.getJobLogInfo() == null ^ this.getJobLogInfo() == null)
return false;
if (other.getJobLogInfo() != null && other.getJobLogInfo().equals(this.getJobLogInfo()) == false)
return false;
if (other.getClusterId() == null ^ this.getClusterId() == null)
return false;
if (other.getClusterId() != null && other.getClusterId().equals(this.getClusterId()) == false)
return false;
if (other.getForwardingAddressId() == null ^ this.getForwardingAddressId() == null)
return false;
if (other.getForwardingAddressId() != null && other.getForwardingAddressId().equals(this.getForwardingAddressId()) == false)
return false;
if (other.getTaxDocuments() == null ^ this.getTaxDocuments() == null)
return false;
if (other.getTaxDocuments() != null && other.getTaxDocuments().equals(this.getTaxDocuments()) == false)
return false;
if (other.getDeviceConfiguration() == null ^ this.getDeviceConfiguration() == null)
return false;
if (other.getDeviceConfiguration() != null && other.getDeviceConfiguration().equals(this.getDeviceConfiguration()) == false)
return false;
if (other.getRemoteManagement() == null ^ this.getRemoteManagement() == null)
return false;
if (other.getRemoteManagement() != null && other.getRemoteManagement().equals(this.getRemoteManagement()) == false)
return false;
if (other.getLongTermPricingId() == null ^ this.getLongTermPricingId() == null)
return false;
if (other.getLongTermPricingId() != null && other.getLongTermPricingId().equals(this.getLongTermPricingId()) == false)
return false;
if (other.getOnDeviceServiceConfiguration() == null ^ this.getOnDeviceServiceConfiguration() == null)
return false;
if (other.getOnDeviceServiceConfiguration() != null && other.getOnDeviceServiceConfiguration().equals(this.getOnDeviceServiceConfiguration()) == false)
return false;
if (other.getImpactLevel() == null ^ this.getImpactLevel() == null)
return false;
if (other.getImpactLevel() != null && other.getImpactLevel().equals(this.getImpactLevel()) == false)
return false;
if (other.getPickupDetails() == null ^ this.getPickupDetails() == null)
return false;
if (other.getPickupDetails() != null && other.getPickupDetails().equals(this.getPickupDetails()) == false)
return false;
if (other.getSnowballId() == null ^ this.getSnowballId() == null)
return false;
if (other.getSnowballId() != null && other.getSnowballId().equals(this.getSnowballId()) == false)
return false;
return true;
}
@Override
public int hashCode() {
final int prime = 31;
int hashCode = 1;
hashCode = prime * hashCode + ((getJobId() == null) ? 0 : getJobId().hashCode());
hashCode = prime * hashCode + ((getJobState() == null) ? 0 : getJobState().hashCode());
hashCode = prime * hashCode + ((getJobType() == null) ? 0 : getJobType().hashCode());
hashCode = prime * hashCode + ((getSnowballType() == null) ? 0 : getSnowballType().hashCode());
hashCode = prime * hashCode + ((getCreationDate() == null) ? 0 : getCreationDate().hashCode());
hashCode = prime * hashCode + ((getResources() == null) ? 0 : getResources().hashCode());
hashCode = prime * hashCode + ((getDescription() == null) ? 0 : getDescription().hashCode());
hashCode = prime * hashCode + ((getKmsKeyARN() == null) ? 0 : getKmsKeyARN().hashCode());
hashCode = prime * hashCode + ((getRoleARN() == null) ? 0 : getRoleARN().hashCode());
hashCode = prime * hashCode + ((getAddressId() == null) ? 0 : getAddressId().hashCode());
hashCode = prime * hashCode + ((getShippingDetails() == null) ? 0 : getShippingDetails().hashCode());
hashCode = prime * hashCode + ((getSnowballCapacityPreference() == null) ? 0 : getSnowballCapacityPreference().hashCode());
hashCode = prime * hashCode + ((getNotification() == null) ? 0 : getNotification().hashCode());
hashCode = prime * hashCode + ((getDataTransferProgress() == null) ? 0 : getDataTransferProgress().hashCode());
hashCode = prime * hashCode + ((getJobLogInfo() == null) ? 0 : getJobLogInfo().hashCode());
hashCode = prime * hashCode + ((getClusterId() == null) ? 0 : getClusterId().hashCode());
hashCode = prime * hashCode + ((getForwardingAddressId() == null) ? 0 : getForwardingAddressId().hashCode());
hashCode = prime * hashCode + ((getTaxDocuments() == null) ? 0 : getTaxDocuments().hashCode());
hashCode = prime * hashCode + ((getDeviceConfiguration() == null) ? 0 : getDeviceConfiguration().hashCode());
hashCode = prime * hashCode + ((getRemoteManagement() == null) ? 0 : getRemoteManagement().hashCode());
hashCode = prime * hashCode + ((getLongTermPricingId() == null) ? 0 : getLongTermPricingId().hashCode());
hashCode = prime * hashCode + ((getOnDeviceServiceConfiguration() == null) ? 0 : getOnDeviceServiceConfiguration().hashCode());
hashCode = prime * hashCode + ((getImpactLevel() == null) ? 0 : getImpactLevel().hashCode());
hashCode = prime * hashCode + ((getPickupDetails() == null) ? 0 : getPickupDetails().hashCode());
hashCode = prime * hashCode + ((getSnowballId() == null) ? 0 : getSnowballId().hashCode());
return hashCode;
}
@Override
public JobMetadata clone() {
try {
return (JobMetadata) super.clone();
} catch (CloneNotSupportedException e) {
throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e);
}
}
@com.amazonaws.annotation.SdkInternalApi
@Override
public void marshall(ProtocolMarshaller protocolMarshaller) {
com.amazonaws.services.snowball.model.transform.JobMetadataMarshaller.getInstance().marshall(this, protocolMarshaller);
}
}