pub struct CreateJobFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateJob
.
Creates a job to import or export data between Amazon S3 and your on-premises data center. Your Amazon Web Services account must have the right trust policies and permissions in place to create a job for a Snow device. If you're creating a job for a node in a cluster, you only need to provide the clusterId
value; the other job attributes are inherited from the cluster.
Only the Snowball; Edge device type is supported when ordering clustered jobs.
The device capacity is optional.
Availability of device types differ by Amazon Web Services Region. For more information about Region availability, see Amazon Web Services Regional Services.
Snow Family devices and their capacities.
-
Device type: SNC1_SSD
-
Capacity: T14
-
Description: Snowcone
-
-
Device type: SNC1_HDD
-
Capacity: T8
-
Description: Snowcone
-
-
Device type: EDGE_S
-
Capacity: T98
-
Description: Snowball Edge Storage Optimized for data transfer only
-
-
Device type: EDGE_CG
-
Capacity: T42
-
Description: Snowball Edge Compute Optimized with GPU
-
-
Device type: EDGE_C
-
Capacity: T42
-
Description: Snowball Edge Compute Optimized without GPU
-
-
Device type: EDGE
-
Capacity: T100
-
Description: Snowball Edge Storage Optimized with EC2 Compute
This device is replaced with T98.
-
-
Device type: STANDARD
-
Capacity: T50
-
Description: Original Snowball device
This device is only available in the Ningxia, Beijing, and Singapore Amazon Web Services Region
-
-
Device type: STANDARD
-
Capacity: T80
-
Description: Original Snowball device
This device is only available in the Ningxia, Beijing, and Singapore Amazon Web Services Region.
-
-
Snow Family device type: RACK_5U_C
-
Capacity: T13
-
Description: Snowblade.
-
-
Device type: V3_5S
-
Capacity: T240
-
Description: Snowball Edge Storage Optimized 210TB
-
Implementations§
source§impl CreateJobFluentBuilder
impl CreateJobFluentBuilder
sourcepub fn as_input(&self) -> &CreateJobInputBuilder
pub fn as_input(&self) -> &CreateJobInputBuilder
Access the CreateJob as a reference.
sourcepub async fn send(
self
) -> Result<CreateJobOutput, SdkError<CreateJobError, HttpResponse>>
pub async fn send( self ) -> Result<CreateJobOutput, SdkError<CreateJobError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<CreateJobOutput, CreateJobError, Self>
pub fn customize( self ) -> CustomizableOperation<CreateJobOutput, CreateJobError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn set_job_type(self, input: Option<JobType>) -> Self
pub fn set_job_type(self, input: Option<JobType>) -> Self
Defines the type of job that you're creating.
sourcepub fn get_job_type(&self) -> &Option<JobType>
pub fn get_job_type(&self) -> &Option<JobType>
Defines the type of job that you're creating.
sourcepub fn resources(self, input: JobResource) -> Self
pub fn resources(self, input: JobResource) -> Self
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.
sourcepub fn set_resources(self, input: Option<JobResource>) -> Self
pub fn set_resources(self, input: Option<JobResource>) -> Self
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.
sourcepub fn get_resources(&self) -> &Option<JobResource>
pub fn get_resources(&self) -> &Option<JobResource>
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.
sourcepub fn on_device_service_configuration(
self,
input: OnDeviceServiceConfiguration
) -> Self
pub fn on_device_service_configuration( self, input: OnDeviceServiceConfiguration ) -> Self
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.
sourcepub fn set_on_device_service_configuration(
self,
input: Option<OnDeviceServiceConfiguration>
) -> Self
pub fn set_on_device_service_configuration( self, input: Option<OnDeviceServiceConfiguration> ) -> Self
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.
sourcepub fn get_on_device_service_configuration(
&self
) -> &Option<OnDeviceServiceConfiguration>
pub fn get_on_device_service_configuration( &self ) -> &Option<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.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
Defines an optional description of this specific job, for example Important Photos 2016-08-11
.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
Defines an optional description of this specific job, for example Important Photos 2016-08-11
.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
Defines an optional description of this specific job, for example Important Photos 2016-08-11
.
sourcepub fn address_id(self, input: impl Into<String>) -> Self
pub fn address_id(self, input: impl Into<String>) -> Self
The ID for the address that you want the Snow device shipped to.
sourcepub fn set_address_id(self, input: Option<String>) -> Self
pub fn set_address_id(self, input: Option<String>) -> Self
The ID for the address that you want the Snow device shipped to.
sourcepub fn get_address_id(&self) -> &Option<String>
pub fn get_address_id(&self) -> &Option<String>
The ID for the address that you want the Snow device shipped to.
sourcepub fn kms_key_arn(self, input: impl Into<String>) -> Self
pub fn kms_key_arn(self, input: impl Into<String>) -> Self
The KmsKeyARN
that you want to associate with this job. KmsKeyARN
s are created using the CreateKey Key Management Service (KMS) API action.
sourcepub fn set_kms_key_arn(self, input: Option<String>) -> Self
pub fn set_kms_key_arn(self, input: Option<String>) -> Self
The KmsKeyARN
that you want to associate with this job. KmsKeyARN
s are created using the CreateKey Key Management Service (KMS) API action.
sourcepub fn get_kms_key_arn(&self) -> &Option<String>
pub fn get_kms_key_arn(&self) -> &Option<String>
The KmsKeyARN
that you want to associate with this job. KmsKeyARN
s are created using the CreateKey Key Management Service (KMS) API action.
sourcepub fn role_arn(self, input: impl Into<String>) -> Self
pub fn role_arn(self, input: impl Into<String>) -> Self
The RoleARN
that you want to associate with this job. RoleArn
s are created using the CreateRole Identity and Access Management (IAM) API action.
sourcepub fn set_role_arn(self, input: Option<String>) -> Self
pub fn set_role_arn(self, input: Option<String>) -> Self
The RoleARN
that you want to associate with this job. RoleArn
s are created using the CreateRole Identity and Access Management (IAM) API action.
sourcepub fn get_role_arn(&self) -> &Option<String>
pub fn get_role_arn(&self) -> &Option<String>
The RoleARN
that you want to associate with this job. RoleArn
s are created using the CreateRole Identity and Access Management (IAM) API action.
sourcepub fn snowball_capacity_preference(self, input: SnowballCapacity) -> Self
pub fn snowball_capacity_preference(self, input: SnowballCapacity) -> Self
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.
sourcepub fn set_snowball_capacity_preference(
self,
input: Option<SnowballCapacity>
) -> Self
pub fn set_snowball_capacity_preference( self, input: Option<SnowballCapacity> ) -> Self
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.
sourcepub fn get_snowball_capacity_preference(&self) -> &Option<SnowballCapacity>
pub fn get_snowball_capacity_preference(&self) -> &Option<SnowballCapacity>
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.
sourcepub fn shipping_option(self, input: ShippingOption) -> Self
pub fn shipping_option(self, input: ShippingOption) -> Self
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.
sourcepub fn set_shipping_option(self, input: Option<ShippingOption>) -> Self
pub fn set_shipping_option(self, input: Option<ShippingOption>) -> Self
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.
sourcepub fn get_shipping_option(&self) -> &Option<ShippingOption>
pub fn get_shipping_option(&self) -> &Option<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.
sourcepub fn notification(self, input: Notification) -> Self
pub fn notification(self, input: Notification) -> Self
Defines the Amazon Simple Notification Service (Amazon SNS) notification settings for this job.
sourcepub fn set_notification(self, input: Option<Notification>) -> Self
pub fn set_notification(self, input: Option<Notification>) -> Self
Defines the Amazon Simple Notification Service (Amazon SNS) notification settings for this job.
sourcepub fn get_notification(&self) -> &Option<Notification>
pub fn get_notification(&self) -> &Option<Notification>
Defines the Amazon Simple Notification Service (Amazon SNS) notification settings for this job.
sourcepub fn cluster_id(self, input: impl Into<String>) -> Self
pub fn cluster_id(self, input: impl Into<String>) -> Self
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.
sourcepub fn set_cluster_id(self, input: Option<String>) -> Self
pub fn set_cluster_id(self, input: Option<String>) -> Self
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.
sourcepub fn get_cluster_id(&self) -> &Option<String>
pub fn get_cluster_id(&self) -> &Option<String>
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.
sourcepub fn snowball_type(self, input: SnowballType) -> Self
pub fn snowball_type(self, input: SnowballType) -> Self
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.
sourcepub fn set_snowball_type(self, input: Option<SnowballType>) -> Self
pub fn set_snowball_type(self, input: Option<SnowballType>) -> Self
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.
sourcepub fn get_snowball_type(&self) -> &Option<SnowballType>
pub fn get_snowball_type(&self) -> &Option<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.
sourcepub fn forwarding_address_id(self, input: impl Into<String>) -> Self
pub fn forwarding_address_id(self, input: impl Into<String>) -> Self
The forwarding address ID for a job. This field is not supported in most Regions.
sourcepub fn set_forwarding_address_id(self, input: Option<String>) -> Self
pub fn set_forwarding_address_id(self, input: Option<String>) -> Self
The forwarding address ID for a job. This field is not supported in most Regions.
sourcepub fn get_forwarding_address_id(&self) -> &Option<String>
pub fn get_forwarding_address_id(&self) -> &Option<String>
The forwarding address ID for a job. This field is not supported in most Regions.
sourcepub fn tax_documents(self, input: TaxDocuments) -> Self
pub fn tax_documents(self, input: TaxDocuments) -> Self
The tax documents required in your Amazon Web Services Region.
sourcepub fn set_tax_documents(self, input: Option<TaxDocuments>) -> Self
pub fn set_tax_documents(self, input: Option<TaxDocuments>) -> Self
The tax documents required in your Amazon Web Services Region.
sourcepub fn get_tax_documents(&self) -> &Option<TaxDocuments>
pub fn get_tax_documents(&self) -> &Option<TaxDocuments>
The tax documents required in your Amazon Web Services Region.
sourcepub fn device_configuration(self, input: DeviceConfiguration) -> Self
pub fn device_configuration(self, input: DeviceConfiguration) -> Self
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.
sourcepub fn set_device_configuration(
self,
input: Option<DeviceConfiguration>
) -> Self
pub fn set_device_configuration( self, input: Option<DeviceConfiguration> ) -> Self
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.
sourcepub fn get_device_configuration(&self) -> &Option<DeviceConfiguration>
pub fn get_device_configuration(&self) -> &Option<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.
sourcepub fn remote_management(self, input: RemoteManagement) -> Self
pub fn remote_management(self, input: RemoteManagement) -> Self
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.
sourcepub fn set_remote_management(self, input: Option<RemoteManagement>) -> Self
pub fn set_remote_management(self, input: Option<RemoteManagement>) -> Self
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.
sourcepub fn get_remote_management(&self) -> &Option<RemoteManagement>
pub fn get_remote_management(&self) -> &Option<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.
sourcepub fn long_term_pricing_id(self, input: impl Into<String>) -> Self
pub fn long_term_pricing_id(self, input: impl Into<String>) -> Self
The ID of the long-term pricing type for the device.
sourcepub fn set_long_term_pricing_id(self, input: Option<String>) -> Self
pub fn set_long_term_pricing_id(self, input: Option<String>) -> Self
The ID of the long-term pricing type for the device.
sourcepub fn get_long_term_pricing_id(&self) -> &Option<String>
pub fn get_long_term_pricing_id(&self) -> &Option<String>
The ID of the long-term pricing type for the device.
sourcepub fn impact_level(self, input: ImpactLevel) -> Self
pub fn impact_level(self, input: ImpactLevel) -> Self
The highest impact level of data that will be stored or processed on the device, provided at job creation.
sourcepub fn set_impact_level(self, input: Option<ImpactLevel>) -> Self
pub fn set_impact_level(self, input: Option<ImpactLevel>) -> Self
The highest impact level of data that will be stored or processed on the device, provided at job creation.
sourcepub fn get_impact_level(&self) -> &Option<ImpactLevel>
pub fn get_impact_level(&self) -> &Option<ImpactLevel>
The highest impact level of data that will be stored or processed on the device, provided at job creation.
sourcepub fn pickup_details(self, input: PickupDetails) -> Self
pub fn pickup_details(self, input: PickupDetails) -> Self
Information identifying the person picking up the device.
sourcepub fn set_pickup_details(self, input: Option<PickupDetails>) -> Self
pub fn set_pickup_details(self, input: Option<PickupDetails>) -> Self
Information identifying the person picking up the device.
sourcepub fn get_pickup_details(&self) -> &Option<PickupDetails>
pub fn get_pickup_details(&self) -> &Option<PickupDetails>
Information identifying the person picking up the device.
Trait Implementations§
source§impl Clone for CreateJobFluentBuilder
impl Clone for CreateJobFluentBuilder
source§fn clone(&self) -> CreateJobFluentBuilder
fn clone(&self) -> CreateJobFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more