com.amazonaws.services.snowball.model.CreateJobRequest 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.AmazonWebServiceRequest;
/**
*
* @see AWS API
* Documentation
*/
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public class CreateJobRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable {
/**
*
* Defines the type of job that you're creating.
*
*/
private String jobType;
/**
*
* Defines the Amazon S3 buckets associated with this job.
*
*
* With IMPORT
jobs, you specify the bucket or buckets that your transferred data will be imported
* into.
*
*
* With EXPORT
jobs, you specify the bucket or buckets that your transferred data will be exported
* from. Optionally, you can also specify a KeyRange
value. If you choose to export a range, you define
* the length of the range by providing either an inclusive BeginMarker
value, an inclusive
* EndMarker
value, or both. Ranges are UTF-8 binary sorted.
*
*/
private JobResource resources;
/**
*
* Specifies the service or services on the Snow Family device that your transferred data will be exported from or
* imported into. Amazon Web Services Snow Family supports Amazon S3 and NFS (Network File System) and the Amazon
* Web Services Storage Gateway service Tape Gateway type.
*
*/
private OnDeviceServiceConfiguration onDeviceServiceConfiguration;
/**
*
* Defines an optional description of this specific job, for example Important Photos 2016-08-11
.
*
*/
private String description;
/**
*
* The ID for the address that you want the Snow device shipped to.
*
*/
private String addressId;
/**
*
* The KmsKeyARN
that you want to associate with this job. KmsKeyARN
s are created using
* the CreateKey Key Management
* Service (KMS) API action.
*
*/
private String kmsKeyARN;
/**
*
* The RoleARN
that you want to associate with this job. RoleArn
s are created using the CreateRole Identity and Access
* Management (IAM) API action.
*
*/
private String roleARN;
/**
*
* If your job is being created in one of the US regions, you have the option of specifying what size Snow device
* you'd like for this job. In all other regions, Snowballs come with 80 TB in storage capacity.
*
*
* 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 shipping speed for this job. This speed doesn't dictate how soon you'll get the Snow device, rather it
* represents how quickly the Snow device moves to its destination while in transit. Regional shipping speeds are as
* follows:
*
*
* -
*
* In Australia, you have access to express shipping. Typically, Snow devices shipped express are delivered in about
* a day.
*
*
* -
*
* In the European Union (EU), you have access to express shipping. Typically, Snow devices shipped express are
* delivered in about a day. In addition, most countries in the EU have access to standard shipping, which typically
* takes less than a week, one way.
*
*
* -
*
* In India, Snow devices are delivered in one to seven days.
*
*
* -
*
* In the US, you have access to one-day shipping and two-day shipping.
*
*
*
*/
private String shippingOption;
/**
*
* Defines the Amazon Simple Notification Service (Amazon SNS) notification settings for this job.
*
*/
private Notification notification;
/**
*
* The ID of a cluster. If you're creating a job for a node in a cluster, you need to provide only this
* clusterId
value. The other job attributes are inherited from the cluster.
*
*/
private String clusterId;
/**
*
* The type of Snow Family devices to use for this job.
*
*
*
* For cluster jobs, Amazon Web Services Snow Family currently supports only the EDGE
device type.
*
*
*
* The type of Amazon Web Services Snow device to use for this job. Currently, the only supported device type for
* cluster jobs is EDGE
.
*
*
* For more information, see Snowball Edge Device
* Options in the Snowball Edge Developer Guide.
*
*
* 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 snowballType;
/**
*
* The forwarding address ID for a job. This field is not supported in most Regions.
*
*/
private String forwardingAddressId;
/**
*
* The tax documents required in your Amazon Web Services Region.
*
*/
private TaxDocuments taxDocuments;
/**
*
* Defines the device configuration for an Snowcone job.
*
*
* 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 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 Edge client to manage the device. When set to
* NOT_INSTALLED
, remote management will not be available on the device.
*
*/
private String remoteManagement;
/**
*
* The ID of the long-term pricing type for the device.
*
*/
private String longTermPricingId;
/**
*
* 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;
/**
*
* Defines the type of job that you're creating.
*
*
* @param jobType
* Defines the type of job that you're creating.
* @see JobType
*/
public void setJobType(String jobType) {
this.jobType = jobType;
}
/**
*
* Defines the type of job that you're creating.
*
*
* @return Defines the type of job that you're creating.
* @see JobType
*/
public String getJobType() {
return this.jobType;
}
/**
*
* Defines the type of job that you're creating.
*
*
* @param jobType
* Defines the type of job that you're creating.
* @return Returns a reference to this object so that method calls can be chained together.
* @see JobType
*/
public CreateJobRequest withJobType(String jobType) {
setJobType(jobType);
return this;
}
/**
*
* Defines the type of job that you're creating.
*
*
* @param jobType
* Defines the type of job that you're creating.
* @see JobType
*/
public void setJobType(JobType jobType) {
withJobType(jobType);
}
/**
*
* Defines the type of job that you're creating.
*
*
* @param jobType
* Defines the type of job that you're creating.
* @return Returns a reference to this object so that method calls can be chained together.
* @see JobType
*/
public CreateJobRequest withJobType(JobType jobType) {
this.jobType = jobType.toString();
return this;
}
/**
*
* Defines the Amazon S3 buckets associated with this job.
*
*
* With IMPORT
jobs, you specify the bucket or buckets that your transferred data will be imported
* into.
*
*
* With EXPORT
jobs, you specify the bucket or buckets that your transferred data will be exported
* from. Optionally, you can also specify a KeyRange
value. If you choose to export a range, you define
* the length of the range by providing either an inclusive BeginMarker
value, an inclusive
* EndMarker
value, or both. Ranges are UTF-8 binary sorted.
*
*
* @param resources
* Defines the Amazon S3 buckets associated with this job.
*
* With IMPORT
jobs, you specify the bucket or buckets that your transferred data will be
* imported into.
*
*
* With EXPORT
jobs, you specify the bucket or buckets that your transferred data will be
* exported from. Optionally, you can also specify a KeyRange
value. If you choose to export a
* range, you define the length of the range by providing either an inclusive BeginMarker
value,
* an inclusive EndMarker
value, or both. Ranges are UTF-8 binary sorted.
*/
public void setResources(JobResource resources) {
this.resources = resources;
}
/**
*
* Defines the Amazon S3 buckets associated with this job.
*
*
* With IMPORT
jobs, you specify the bucket or buckets that your transferred data will be imported
* into.
*
*
* With EXPORT
jobs, you specify the bucket or buckets that your transferred data will be exported
* from. Optionally, you can also specify a KeyRange
value. If you choose to export a range, you define
* the length of the range by providing either an inclusive BeginMarker
value, an inclusive
* EndMarker
value, or both. Ranges are UTF-8 binary sorted.
*
*
* @return Defines the Amazon S3 buckets associated with this job.
*
* With IMPORT
jobs, you specify the bucket or buckets that your transferred data will be
* imported into.
*
*
* With EXPORT
jobs, you specify the bucket or buckets that your transferred data will be
* exported from. Optionally, you can also specify a KeyRange
value. If you choose to export a
* range, you define the length of the range by providing either an inclusive BeginMarker
* value, an inclusive EndMarker
value, or both. Ranges are UTF-8 binary sorted.
*/
public JobResource getResources() {
return this.resources;
}
/**
*
* Defines the Amazon S3 buckets associated with this job.
*
*
* With IMPORT
jobs, you specify the bucket or buckets that your transferred data will be imported
* into.
*
*
* With EXPORT
jobs, you specify the bucket or buckets that your transferred data will be exported
* from. Optionally, you can also specify a KeyRange
value. If you choose to export a range, you define
* the length of the range by providing either an inclusive BeginMarker
value, an inclusive
* EndMarker
value, or both. Ranges are UTF-8 binary sorted.
*
*
* @param resources
* Defines the Amazon S3 buckets associated with this job.
*
* With IMPORT
jobs, you specify the bucket or buckets that your transferred data will be
* imported into.
*
*
* With EXPORT
jobs, you specify the bucket or buckets that your transferred data will be
* exported from. Optionally, you can also specify a KeyRange
value. If you choose to export a
* range, you define the length of the range by providing either an inclusive BeginMarker
value,
* an inclusive EndMarker
value, or both. Ranges are UTF-8 binary sorted.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateJobRequest withResources(JobResource resources) {
setResources(resources);
return this;
}
/**
*
* Specifies the service or services on the Snow Family device that your transferred data will be exported from or
* imported into. Amazon Web Services Snow Family supports Amazon S3 and NFS (Network File System) and the Amazon
* Web Services Storage Gateway service Tape Gateway type.
*
*
* @param onDeviceServiceConfiguration
* Specifies the service or services on the Snow Family device that your transferred data will be exported
* from or imported into. Amazon Web Services Snow Family supports Amazon S3 and NFS (Network File System)
* and the Amazon Web Services Storage Gateway service Tape Gateway type.
*/
public void setOnDeviceServiceConfiguration(OnDeviceServiceConfiguration onDeviceServiceConfiguration) {
this.onDeviceServiceConfiguration = onDeviceServiceConfiguration;
}
/**
*
* Specifies the service or services on the Snow Family device that your transferred data will be exported from or
* imported into. Amazon Web Services Snow Family supports Amazon S3 and NFS (Network File System) and the Amazon
* Web Services Storage Gateway service Tape Gateway type.
*
*
* @return Specifies the service or services on the Snow Family device that your transferred data will be exported
* from or imported into. Amazon Web Services Snow Family supports Amazon S3 and NFS (Network File System)
* and the Amazon Web Services Storage Gateway service Tape Gateway type.
*/
public OnDeviceServiceConfiguration getOnDeviceServiceConfiguration() {
return this.onDeviceServiceConfiguration;
}
/**
*
* Specifies the service or services on the Snow Family device that your transferred data will be exported from or
* imported into. Amazon Web Services Snow Family supports Amazon S3 and NFS (Network File System) and the Amazon
* Web Services Storage Gateway service Tape Gateway type.
*
*
* @param onDeviceServiceConfiguration
* Specifies the service or services on the Snow Family device that your transferred data will be exported
* from or imported into. Amazon Web Services Snow Family supports Amazon S3 and NFS (Network File System)
* and the Amazon Web Services Storage Gateway service Tape Gateway type.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateJobRequest withOnDeviceServiceConfiguration(OnDeviceServiceConfiguration onDeviceServiceConfiguration) {
setOnDeviceServiceConfiguration(onDeviceServiceConfiguration);
return this;
}
/**
*
* Defines an optional description of this specific job, for example Important Photos 2016-08-11
.
*
*
* @param description
* Defines an optional description of this specific job, for example Important Photos 2016-08-11
* .
*/
public void setDescription(String description) {
this.description = description;
}
/**
*
* Defines an optional description of this specific job, for example Important Photos 2016-08-11
.
*
*
* @return Defines an optional description of this specific job, for example
* Important Photos 2016-08-11
.
*/
public String getDescription() {
return this.description;
}
/**
*
* Defines an optional description of this specific job, for example Important Photos 2016-08-11
.
*
*
* @param description
* Defines an optional description of this specific job, for example Important Photos 2016-08-11
* .
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateJobRequest withDescription(String description) {
setDescription(description);
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 CreateJobRequest withAddressId(String addressId) {
setAddressId(addressId);
return this;
}
/**
*
* The KmsKeyARN
that you want to associate with this job. KmsKeyARN
s are created using
* the CreateKey Key Management
* Service (KMS) API action.
*
*
* @param kmsKeyARN
* The KmsKeyARN
that you want to associate with this job. KmsKeyARN
s are created
* using the CreateKey
* Key Management Service (KMS) API action.
*/
public void setKmsKeyARN(String kmsKeyARN) {
this.kmsKeyARN = kmsKeyARN;
}
/**
*
* The KmsKeyARN
that you want to associate with this job. KmsKeyARN
s are created using
* the CreateKey Key Management
* Service (KMS) API action.
*
*
* @return The KmsKeyARN
that you want to associate with this job. KmsKeyARN
s are created
* using the CreateKey
* Key Management Service (KMS) API action.
*/
public String getKmsKeyARN() {
return this.kmsKeyARN;
}
/**
*
* The KmsKeyARN
that you want to associate with this job. KmsKeyARN
s are created using
* the CreateKey Key Management
* Service (KMS) API action.
*
*
* @param kmsKeyARN
* The KmsKeyARN
that you want to associate with this job. KmsKeyARN
s are created
* using the CreateKey
* Key Management Service (KMS) API action.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateJobRequest withKmsKeyARN(String kmsKeyARN) {
setKmsKeyARN(kmsKeyARN);
return this;
}
/**
*
* The RoleARN
that you want to associate with this job. RoleArn
s are created using the CreateRole Identity and Access
* Management (IAM) API action.
*
*
* @param roleARN
* The RoleARN
that you want to associate with this job. RoleArn
s are created using
* the CreateRole
* Identity and Access Management (IAM) API action.
*/
public void setRoleARN(String roleARN) {
this.roleARN = roleARN;
}
/**
*
* The RoleARN
that you want to associate with this job. RoleArn
s are created using the CreateRole Identity and Access
* Management (IAM) API action.
*
*
* @return The RoleARN
that you want to associate with this job. RoleArn
s are created
* using the CreateRole Identity
* and Access Management (IAM) API action.
*/
public String getRoleARN() {
return this.roleARN;
}
/**
*
* The RoleARN
that you want to associate with this job. RoleArn
s are created using the CreateRole Identity and Access
* Management (IAM) API action.
*
*
* @param roleARN
* The RoleARN
that you want to associate with this job. RoleArn
s are created using
* the CreateRole
* Identity and Access Management (IAM) API action.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateJobRequest withRoleARN(String roleARN) {
setRoleARN(roleARN);
return this;
}
/**
*
* If your job is being created in one of the US regions, you have the option of specifying what size Snow device
* you'd like for this job. In all other regions, Snowballs come with 80 TB in storage capacity.
*
*
* 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
* If your job is being created in one of the US regions, you have the option of specifying what size Snow
* device you'd like for this job. In all other regions, Snowballs come with 80 TB in storage capacity.
*
* 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;
}
/**
*
* If your job is being created in one of the US regions, you have the option of specifying what size Snow device
* you'd like for this job. In all other regions, Snowballs come with 80 TB in storage capacity.
*
*
* 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 If your job is being created in one of the US regions, you have the option of specifying what size Snow
* device you'd like for this job. In all other regions, Snowballs come with 80 TB in storage capacity.
*
* 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;
}
/**
*
* If your job is being created in one of the US regions, you have the option of specifying what size Snow device
* you'd like for this job. In all other regions, Snowballs come with 80 TB in storage capacity.
*
*
* 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
* If your job is being created in one of the US regions, you have the option of specifying what size Snow
* device you'd like for this job. In all other regions, Snowballs come with 80 TB in storage capacity.
*
* 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 CreateJobRequest withSnowballCapacityPreference(String snowballCapacityPreference) {
setSnowballCapacityPreference(snowballCapacityPreference);
return this;
}
/**
*
* If your job is being created in one of the US regions, you have the option of specifying what size Snow device
* you'd like for this job. In all other regions, Snowballs come with 80 TB in storage capacity.
*
*
* 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
* If your job is being created in one of the US regions, you have the option of specifying what size Snow
* device you'd like for this job. In all other regions, Snowballs come with 80 TB in storage capacity.
*
* 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);
}
/**
*
* If your job is being created in one of the US regions, you have the option of specifying what size Snow device
* you'd like for this job. In all other regions, Snowballs come with 80 TB in storage capacity.
*
*
* 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
* If your job is being created in one of the US regions, you have the option of specifying what size Snow
* device you'd like for this job. In all other regions, Snowballs come with 80 TB in storage capacity.
*
* 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 CreateJobRequest withSnowballCapacityPreference(SnowballCapacity snowballCapacityPreference) {
this.snowballCapacityPreference = snowballCapacityPreference.toString();
return this;
}
/**
*
* The shipping speed for this job. This speed doesn't dictate how soon you'll get the Snow device, rather it
* represents how quickly the Snow device moves to its destination while in transit. Regional shipping speeds are as
* follows:
*
*
* -
*
* In Australia, you have access to express shipping. Typically, Snow devices shipped express are delivered in about
* a day.
*
*
* -
*
* In the European Union (EU), you have access to express shipping. Typically, Snow devices shipped express are
* delivered in about a day. In addition, most countries in the EU have access to standard shipping, which typically
* takes less than a week, one way.
*
*
* -
*
* In India, Snow devices are delivered in one to seven days.
*
*
* -
*
* In the US, you have access to one-day shipping and two-day shipping.
*
*
*
*
* @param shippingOption
* The shipping speed for this job. This speed doesn't dictate how soon you'll get the Snow device, rather it
* represents how quickly the Snow device moves to its destination while in transit. Regional shipping speeds
* are as follows:
*
* -
*
* In Australia, you have access to express shipping. Typically, Snow devices shipped express are delivered
* in about a day.
*
*
* -
*
* In the European Union (EU), you have access to express shipping. Typically, Snow devices shipped express
* are delivered in about a day. In addition, most countries in the EU have access to standard shipping,
* which typically takes less than a week, one way.
*
*
* -
*
* In India, Snow devices are delivered in one to seven days.
*
*
* -
*
* In the US, you have access to one-day shipping and two-day shipping.
*
*
* @see ShippingOption
*/
public void setShippingOption(String shippingOption) {
this.shippingOption = shippingOption;
}
/**
*
* The shipping speed for this job. This speed doesn't dictate how soon you'll get the Snow device, rather it
* represents how quickly the Snow device moves to its destination while in transit. Regional shipping speeds are as
* follows:
*
*
* -
*
* In Australia, you have access to express shipping. Typically, Snow devices shipped express are delivered in about
* a day.
*
*
* -
*
* In the European Union (EU), you have access to express shipping. Typically, Snow devices shipped express are
* delivered in about a day. In addition, most countries in the EU have access to standard shipping, which typically
* takes less than a week, one way.
*
*
* -
*
* In India, Snow devices are delivered in one to seven days.
*
*
* -
*
* In the US, you have access to one-day shipping and two-day shipping.
*
*
*
*
* @return The shipping speed for this job. This speed doesn't dictate how soon you'll get the Snow device, rather
* it represents how quickly the Snow device moves to its destination while in transit. Regional shipping
* speeds are as follows:
*
* -
*
* In Australia, you have access to express shipping. Typically, Snow devices shipped express are delivered
* in about a day.
*
*
* -
*
* In the European Union (EU), you have access to express shipping. Typically, Snow devices shipped express
* are delivered in about a day. In addition, most countries in the EU have access to standard shipping,
* which typically takes less than a week, one way.
*
*
* -
*
* In India, Snow devices are delivered in one to seven days.
*
*
* -
*
* In the US, you have access to one-day shipping and two-day shipping.
*
*
* @see ShippingOption
*/
public String getShippingOption() {
return this.shippingOption;
}
/**
*
* The shipping speed for this job. This speed doesn't dictate how soon you'll get the Snow device, rather it
* represents how quickly the Snow device moves to its destination while in transit. Regional shipping speeds are as
* follows:
*
*
* -
*
* In Australia, you have access to express shipping. Typically, Snow devices shipped express are delivered in about
* a day.
*
*
* -
*
* In the European Union (EU), you have access to express shipping. Typically, Snow devices shipped express are
* delivered in about a day. In addition, most countries in the EU have access to standard shipping, which typically
* takes less than a week, one way.
*
*
* -
*
* In India, Snow devices are delivered in one to seven days.
*
*
* -
*
* In the US, you have access to one-day shipping and two-day shipping.
*
*
*
*
* @param shippingOption
* The shipping speed for this job. This speed doesn't dictate how soon you'll get the Snow device, rather it
* represents how quickly the Snow device moves to its destination while in transit. Regional shipping speeds
* are as follows:
*
* -
*
* In Australia, you have access to express shipping. Typically, Snow devices shipped express are delivered
* in about a day.
*
*
* -
*
* In the European Union (EU), you have access to express shipping. Typically, Snow devices shipped express
* are delivered in about a day. In addition, most countries in the EU have access to standard shipping,
* which typically takes less than a week, one way.
*
*
* -
*
* In India, Snow devices are delivered in one to seven days.
*
*
* -
*
* In the US, you have access to one-day shipping and two-day shipping.
*
*
* @return Returns a reference to this object so that method calls can be chained together.
* @see ShippingOption
*/
public CreateJobRequest withShippingOption(String shippingOption) {
setShippingOption(shippingOption);
return this;
}
/**
*
* The shipping speed for this job. This speed doesn't dictate how soon you'll get the Snow device, rather it
* represents how quickly the Snow device moves to its destination while in transit. Regional shipping speeds are as
* follows:
*
*
* -
*
* In Australia, you have access to express shipping. Typically, Snow devices shipped express are delivered in about
* a day.
*
*
* -
*
* In the European Union (EU), you have access to express shipping. Typically, Snow devices shipped express are
* delivered in about a day. In addition, most countries in the EU have access to standard shipping, which typically
* takes less than a week, one way.
*
*
* -
*
* In India, Snow devices are delivered in one to seven days.
*
*
* -
*
* In the US, you have access to one-day shipping and two-day shipping.
*
*
*
*
* @param shippingOption
* The shipping speed for this job. This speed doesn't dictate how soon you'll get the Snow device, rather it
* represents how quickly the Snow device moves to its destination while in transit. Regional shipping speeds
* are as follows:
*
* -
*
* In Australia, you have access to express shipping. Typically, Snow devices shipped express are delivered
* in about a day.
*
*
* -
*
* In the European Union (EU), you have access to express shipping. Typically, Snow devices shipped express
* are delivered in about a day. In addition, most countries in the EU have access to standard shipping,
* which typically takes less than a week, one way.
*
*
* -
*
* In India, Snow devices are delivered in one to seven days.
*
*
* -
*
* In the US, you have access to one-day shipping and two-day shipping.
*
*
* @see ShippingOption
*/
public void setShippingOption(ShippingOption shippingOption) {
withShippingOption(shippingOption);
}
/**
*
* The shipping speed for this job. This speed doesn't dictate how soon you'll get the Snow device, rather it
* represents how quickly the Snow device moves to its destination while in transit. Regional shipping speeds are as
* follows:
*
*
* -
*
* In Australia, you have access to express shipping. Typically, Snow devices shipped express are delivered in about
* a day.
*
*
* -
*
* In the European Union (EU), you have access to express shipping. Typically, Snow devices shipped express are
* delivered in about a day. In addition, most countries in the EU have access to standard shipping, which typically
* takes less than a week, one way.
*
*
* -
*
* In India, Snow devices are delivered in one to seven days.
*
*
* -
*
* In the US, you have access to one-day shipping and two-day shipping.
*
*
*
*
* @param shippingOption
* The shipping speed for this job. This speed doesn't dictate how soon you'll get the Snow device, rather it
* represents how quickly the Snow device moves to its destination while in transit. Regional shipping speeds
* are as follows:
*
* -
*
* In Australia, you have access to express shipping. Typically, Snow devices shipped express are delivered
* in about a day.
*
*
* -
*
* In the European Union (EU), you have access to express shipping. Typically, Snow devices shipped express
* are delivered in about a day. In addition, most countries in the EU have access to standard shipping,
* which typically takes less than a week, one way.
*
*
* -
*
* In India, Snow devices are delivered in one to seven days.
*
*
* -
*
* In the US, you have access to one-day shipping and two-day shipping.
*
*
* @return Returns a reference to this object so that method calls can be chained together.
* @see ShippingOption
*/
public CreateJobRequest withShippingOption(ShippingOption shippingOption) {
this.shippingOption = shippingOption.toString();
return this;
}
/**
*
* Defines the Amazon Simple Notification Service (Amazon SNS) notification settings for this job.
*
*
* @param notification
* Defines the Amazon Simple Notification Service (Amazon SNS) notification settings for this job.
*/
public void setNotification(Notification notification) {
this.notification = notification;
}
/**
*
* Defines the Amazon Simple Notification Service (Amazon SNS) notification settings for this job.
*
*
* @return Defines the Amazon Simple Notification Service (Amazon SNS) notification settings for this job.
*/
public Notification getNotification() {
return this.notification;
}
/**
*
* Defines the Amazon Simple Notification Service (Amazon SNS) notification settings for this job.
*
*
* @param notification
* Defines the Amazon Simple Notification Service (Amazon SNS) notification settings for this job.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateJobRequest withNotification(Notification notification) {
setNotification(notification);
return this;
}
/**
*
* The ID of a cluster. If you're creating a job for a node in a cluster, you need to provide only this
* clusterId
value. The other job attributes are inherited from the cluster.
*
*
* @param clusterId
* The ID of a cluster. If you're creating a job for a node in a cluster, you need to provide only this
* clusterId
value. The other job attributes are inherited from the cluster.
*/
public void setClusterId(String clusterId) {
this.clusterId = clusterId;
}
/**
*
* The ID of a cluster. If you're creating a job for a node in a cluster, you need to provide only this
* clusterId
value. The other job attributes are inherited from the cluster.
*
*
* @return The ID of a cluster. If you're creating a job for a node in a cluster, you need to provide only this
* clusterId
value. The other job attributes are inherited from the cluster.
*/
public String getClusterId() {
return this.clusterId;
}
/**
*
* The ID of a cluster. If you're creating a job for a node in a cluster, you need to provide only this
* clusterId
value. The other job attributes are inherited from the cluster.
*
*
* @param clusterId
* The ID of a cluster. If you're creating a job for a node in a cluster, you need to provide only this
* clusterId
value. The other job attributes are inherited from the cluster.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateJobRequest withClusterId(String clusterId) {
setClusterId(clusterId);
return this;
}
/**
*
* The type of Snow Family devices to use for this job.
*
*
*
* For cluster jobs, Amazon Web Services Snow Family currently supports only the EDGE
device type.
*
*
*
* The type of Amazon Web Services Snow device to use for this job. Currently, the only supported device type for
* cluster jobs is EDGE
.
*
*
* For more information, see Snowball Edge Device
* Options in the Snowball Edge Developer Guide.
*
*
* 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 snowballType
* The type of Snow Family devices to use for this job.
*
* For cluster jobs, Amazon Web Services Snow Family currently supports only the EDGE
device
* type.
*
*
*
* The type of Amazon Web Services Snow device to use for this job. Currently, the only supported device type
* for cluster jobs is EDGE
.
*
*
* For more information, see Snowball Edge
* Device Options in the Snowball Edge Developer Guide.
*
*
* 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 SnowballType
*/
public void setSnowballType(String snowballType) {
this.snowballType = snowballType;
}
/**
*
* The type of Snow Family devices to use for this job.
*
*
*
* For cluster jobs, Amazon Web Services Snow Family currently supports only the EDGE
device type.
*
*
*
* The type of Amazon Web Services Snow device to use for this job. Currently, the only supported device type for
* cluster jobs is EDGE
.
*
*
* For more information, see Snowball Edge Device
* Options in the Snowball Edge Developer Guide.
*
*
* 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 type of Snow Family devices to use for this job.
*
* For cluster jobs, Amazon Web Services Snow Family currently supports only the EDGE
device
* type.
*
*
*
* The type of Amazon Web Services Snow device to use for this job. Currently, the only supported device
* type for cluster jobs is EDGE
.
*
*
* For more information, see Snowball Edge
* Device Options in the Snowball Edge Developer Guide.
*
*
* 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 SnowballType
*/
public String getSnowballType() {
return this.snowballType;
}
/**
*
* The type of Snow Family devices to use for this job.
*
*
*
* For cluster jobs, Amazon Web Services Snow Family currently supports only the EDGE
device type.
*
*
*
* The type of Amazon Web Services Snow device to use for this job. Currently, the only supported device type for
* cluster jobs is EDGE
.
*
*
* For more information, see Snowball Edge Device
* Options in the Snowball Edge Developer Guide.
*
*
* 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 snowballType
* The type of Snow Family devices to use for this job.
*
* For cluster jobs, Amazon Web Services Snow Family currently supports only the EDGE
device
* type.
*
*
*
* The type of Amazon Web Services Snow device to use for this job. Currently, the only supported device type
* for cluster jobs is EDGE
.
*
*
* For more information, see Snowball Edge
* Device Options in the Snowball Edge Developer Guide.
*
*
* 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 SnowballType
*/
public CreateJobRequest withSnowballType(String snowballType) {
setSnowballType(snowballType);
return this;
}
/**
*
* The type of Snow Family devices to use for this job.
*
*
*
* For cluster jobs, Amazon Web Services Snow Family currently supports only the EDGE
device type.
*
*
*
* The type of Amazon Web Services Snow device to use for this job. Currently, the only supported device type for
* cluster jobs is EDGE
.
*
*
* For more information, see Snowball Edge Device
* Options in the Snowball Edge Developer Guide.
*
*
* 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 snowballType
* The type of Snow Family devices to use for this job.
*
* For cluster jobs, Amazon Web Services Snow Family currently supports only the EDGE
device
* type.
*
*
*
* The type of Amazon Web Services Snow device to use for this job. Currently, the only supported device type
* for cluster jobs is EDGE
.
*
*
* For more information, see Snowball Edge
* Device Options in the Snowball Edge Developer Guide.
*
*
* 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 SnowballType
*/
public void setSnowballType(SnowballType snowballType) {
withSnowballType(snowballType);
}
/**
*
* The type of Snow Family devices to use for this job.
*
*
*
* For cluster jobs, Amazon Web Services Snow Family currently supports only the EDGE
device type.
*
*
*
* The type of Amazon Web Services Snow device to use for this job. Currently, the only supported device type for
* cluster jobs is EDGE
.
*
*
* For more information, see Snowball Edge Device
* Options in the Snowball Edge Developer Guide.
*
*
* 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 snowballType
* The type of Snow Family devices to use for this job.
*
* For cluster jobs, Amazon Web Services Snow Family currently supports only the EDGE
device
* type.
*
*
*
* The type of Amazon Web Services Snow device to use for this job. Currently, the only supported device type
* for cluster jobs is EDGE
.
*
*
* For more information, see Snowball Edge
* Device Options in the Snowball Edge Developer Guide.
*
*
* 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 SnowballType
*/
public CreateJobRequest withSnowballType(SnowballType snowballType) {
this.snowballType = snowballType.toString();
return this;
}
/**
*
* The forwarding address ID for a job. This field is not supported in most Regions.
*
*
* @param forwardingAddressId
* The forwarding address ID for a job. This field is not supported in most Regions.
*/
public void setForwardingAddressId(String forwardingAddressId) {
this.forwardingAddressId = forwardingAddressId;
}
/**
*
* The forwarding address ID for a job. This field is not supported in most Regions.
*
*
* @return The forwarding address ID for a job. This field is not supported in most Regions.
*/
public String getForwardingAddressId() {
return this.forwardingAddressId;
}
/**
*
* The forwarding address ID for a job. This field is not supported in most Regions.
*
*
* @param forwardingAddressId
* The forwarding address ID for a job. This field is not supported in most Regions.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateJobRequest withForwardingAddressId(String forwardingAddressId) {
setForwardingAddressId(forwardingAddressId);
return this;
}
/**
*
* The tax documents required in your Amazon Web Services Region.
*
*
* @param taxDocuments
* The tax documents required in your Amazon Web Services Region.
*/
public void setTaxDocuments(TaxDocuments taxDocuments) {
this.taxDocuments = taxDocuments;
}
/**
*
* The tax documents required in your Amazon Web Services Region.
*
*
* @return The tax documents required in your Amazon Web Services Region.
*/
public TaxDocuments getTaxDocuments() {
return this.taxDocuments;
}
/**
*
* The tax documents required in your Amazon Web Services Region.
*
*
* @param taxDocuments
* 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 CreateJobRequest withTaxDocuments(TaxDocuments taxDocuments) {
setTaxDocuments(taxDocuments);
return this;
}
/**
*
* Defines the device configuration for an Snowcone job.
*
*
* 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 deviceConfiguration
* Defines the device configuration for an Snowcone job.
*
* 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.
*/
public void setDeviceConfiguration(DeviceConfiguration deviceConfiguration) {
this.deviceConfiguration = deviceConfiguration;
}
/**
*
* Defines the device configuration for an Snowcone job.
*
*
* 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 Defines the device configuration for an Snowcone job.
*
* 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.
*/
public DeviceConfiguration getDeviceConfiguration() {
return this.deviceConfiguration;
}
/**
*
* Defines the device configuration for an Snowcone job.
*
*
* 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 deviceConfiguration
* Defines the device configuration for an Snowcone job.
*
* 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.
*/
public CreateJobRequest 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 Edge client to manage the device. When set to
* NOT_INSTALLED
, remote management will not be available on 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 Edge client to manage the device.
* When set to NOT_INSTALLED
, remote management will not be available on 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 Edge client to manage the device. When set to
* NOT_INSTALLED
, remote management will not be available on 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 Edge client to manage
* the device. When set to NOT_INSTALLED
, remote management will not be available on 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 Edge client to manage the device. When set to
* NOT_INSTALLED
, remote management will not be available on 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 Edge client to manage the device.
* When set to NOT_INSTALLED
, remote management will not be available on the device.
* @return Returns a reference to this object so that method calls can be chained together.
* @see RemoteManagement
*/
public CreateJobRequest 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 Edge client to manage the device. When set to
* NOT_INSTALLED
, remote management will not be available on 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 Edge client to manage the device.
* When set to NOT_INSTALLED
, remote management will not be available on 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 Edge client to manage the device. When set to
* NOT_INSTALLED
, remote management will not be available on 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 Edge client to manage the device.
* When set to NOT_INSTALLED
, remote management will not be available on the device.
* @return Returns a reference to this object so that method calls can be chained together.
* @see RemoteManagement
*/
public CreateJobRequest 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 CreateJobRequest withLongTermPricingId(String longTermPricingId) {
setLongTermPricingId(longTermPricingId);
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 CreateJobRequest 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 CreateJobRequest 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 CreateJobRequest withPickupDetails(PickupDetails pickupDetails) {
setPickupDetails(pickupDetails);
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 (getJobType() != null)
sb.append("JobType: ").append(getJobType()).append(",");
if (getResources() != null)
sb.append("Resources: ").append(getResources()).append(",");
if (getOnDeviceServiceConfiguration() != null)
sb.append("OnDeviceServiceConfiguration: ").append(getOnDeviceServiceConfiguration()).append(",");
if (getDescription() != null)
sb.append("Description: ").append(getDescription()).append(",");
if (getAddressId() != null)
sb.append("AddressId: ").append(getAddressId()).append(",");
if (getKmsKeyARN() != null)
sb.append("KmsKeyARN: ").append(getKmsKeyARN()).append(",");
if (getRoleARN() != null)
sb.append("RoleARN: ").append(getRoleARN()).append(",");
if (getSnowballCapacityPreference() != null)
sb.append("SnowballCapacityPreference: ").append(getSnowballCapacityPreference()).append(",");
if (getShippingOption() != null)
sb.append("ShippingOption: ").append(getShippingOption()).append(",");
if (getNotification() != null)
sb.append("Notification: ").append(getNotification()).append(",");
if (getClusterId() != null)
sb.append("ClusterId: ").append(getClusterId()).append(",");
if (getSnowballType() != null)
sb.append("SnowballType: ").append(getSnowballType()).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 (getImpactLevel() != null)
sb.append("ImpactLevel: ").append(getImpactLevel()).append(",");
if (getPickupDetails() != null)
sb.append("PickupDetails: ").append(getPickupDetails());
sb.append("}");
return sb.toString();
}
@Override
public boolean equals(Object obj) {
if (this == obj)
return true;
if (obj == null)
return false;
if (obj instanceof CreateJobRequest == false)
return false;
CreateJobRequest other = (CreateJobRequest) obj;
if (other.getJobType() == null ^ this.getJobType() == null)
return false;
if (other.getJobType() != null && other.getJobType().equals(this.getJobType()) == 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.getOnDeviceServiceConfiguration() == null ^ this.getOnDeviceServiceConfiguration() == null)
return false;
if (other.getOnDeviceServiceConfiguration() != null && other.getOnDeviceServiceConfiguration().equals(this.getOnDeviceServiceConfiguration()) == 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.getAddressId() == null ^ this.getAddressId() == null)
return false;
if (other.getAddressId() != null && other.getAddressId().equals(this.getAddressId()) == 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.getSnowballCapacityPreference() == null ^ this.getSnowballCapacityPreference() == null)
return false;
if (other.getSnowballCapacityPreference() != null && other.getSnowballCapacityPreference().equals(this.getSnowballCapacityPreference()) == false)
return false;
if (other.getShippingOption() == null ^ this.getShippingOption() == null)
return false;
if (other.getShippingOption() != null && other.getShippingOption().equals(this.getShippingOption()) == 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.getClusterId() == null ^ this.getClusterId() == null)
return false;
if (other.getClusterId() != null && other.getClusterId().equals(this.getClusterId()) == 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.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.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;
return true;
}
@Override
public int hashCode() {
final int prime = 31;
int hashCode = 1;
hashCode = prime * hashCode + ((getJobType() == null) ? 0 : getJobType().hashCode());
hashCode = prime * hashCode + ((getResources() == null) ? 0 : getResources().hashCode());
hashCode = prime * hashCode + ((getOnDeviceServiceConfiguration() == null) ? 0 : getOnDeviceServiceConfiguration().hashCode());
hashCode = prime * hashCode + ((getDescription() == null) ? 0 : getDescription().hashCode());
hashCode = prime * hashCode + ((getAddressId() == null) ? 0 : getAddressId().hashCode());
hashCode = prime * hashCode + ((getKmsKeyARN() == null) ? 0 : getKmsKeyARN().hashCode());
hashCode = prime * hashCode + ((getRoleARN() == null) ? 0 : getRoleARN().hashCode());
hashCode = prime * hashCode + ((getSnowballCapacityPreference() == null) ? 0 : getSnowballCapacityPreference().hashCode());
hashCode = prime * hashCode + ((getShippingOption() == null) ? 0 : getShippingOption().hashCode());
hashCode = prime * hashCode + ((getNotification() == null) ? 0 : getNotification().hashCode());
hashCode = prime * hashCode + ((getClusterId() == null) ? 0 : getClusterId().hashCode());
hashCode = prime * hashCode + ((getSnowballType() == null) ? 0 : getSnowballType().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 + ((getImpactLevel() == null) ? 0 : getImpactLevel().hashCode());
hashCode = prime * hashCode + ((getPickupDetails() == null) ? 0 : getPickupDetails().hashCode());
return hashCode;
}
@Override
public CreateJobRequest clone() {
return (CreateJobRequest) super.clone();
}
}