public static interface CreateJobRequest.Builder extends SnowballRequest.Builder, CopyableBuilder<CreateJobRequest.Builder,CreateJobRequest>
Modifier and Type | Method and Description |
---|---|
CreateJobRequest.Builder |
addressId(String addressId)
The ID for the address that you want the Snowball shipped to.
|
CreateJobRequest.Builder |
clusterId(String clusterId)
The ID of a cluster.
|
CreateJobRequest.Builder |
description(String description)
Defines an optional description of this specific job, for example
Important Photos 2016-08-11 . |
CreateJobRequest.Builder |
forwardingAddressId(String forwardingAddressId)
The forwarding address ID for a job.
|
CreateJobRequest.Builder |
jobType(JobType jobType)
Defines the type of job that you're creating.
|
CreateJobRequest.Builder |
jobType(String jobType)
Defines the type of job that you're creating.
|
CreateJobRequest.Builder |
kmsKeyARN(String kmsKeyARN)
The
KmsKeyARN that you want to associate with this job. |
default CreateJobRequest.Builder |
notification(Consumer<Notification.Builder> notification)
Defines the Amazon Simple Notification Service (Amazon SNS) notification settings for this job.
|
CreateJobRequest.Builder |
notification(Notification notification)
Defines the Amazon Simple Notification Service (Amazon SNS) notification settings for this job.
|
CreateJobRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreateJobRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
default CreateJobRequest.Builder |
resources(Consumer<JobResource.Builder> resources)
Defines the Amazon S3 buckets associated with this job.
|
CreateJobRequest.Builder |
resources(JobResource resources)
Defines the Amazon S3 buckets associated with this job.
|
CreateJobRequest.Builder |
roleARN(String roleARN)
The
RoleARN that you want to associate with this job. |
CreateJobRequest.Builder |
shippingOption(ShippingOption shippingOption)
The shipping speed for this job.
|
CreateJobRequest.Builder |
shippingOption(String shippingOption)
The shipping speed for this job.
|
CreateJobRequest.Builder |
snowballCapacityPreference(SnowballCapacity snowballCapacityPreference)
If your job is being created in one of the US regions, you have the option of specifying what size Snowball
you'd like for this job.
|
CreateJobRequest.Builder |
snowballCapacityPreference(String snowballCapacityPreference)
If your job is being created in one of the US regions, you have the option of specifying what size Snowball
you'd like for this job.
|
CreateJobRequest.Builder |
snowballType(SnowballType snowballType)
The type of AWS Snowball appliance to use for this job.
|
CreateJobRequest.Builder |
snowballType(String snowballType)
The type of AWS Snowball appliance to use for this job.
|
build
overrideConfiguration
copy
applyMutation, build
CreateJobRequest.Builder jobType(String jobType)
Defines the type of job that you're creating.
CreateJobRequest.Builder jobType(JobType jobType)
Defines the type of job that you're creating.
CreateJobRequest.Builder resources(JobResource 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.
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.
default CreateJobRequest.Builder resources(Consumer<JobResource.Builder> 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.
JobResource.Builder
avoiding the need to create
one manually via JobResource.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to resources(JobResource)
.resources
- a consumer that will call methods on JobResource.Builder
resources(JobResource)
CreateJobRequest.Builder description(String description)
Defines an optional description of this specific job, for example Important Photos 2016-08-11
.
description
- Defines an optional description of this specific job, for example
Important Photos 2016-08-11
.CreateJobRequest.Builder addressId(String addressId)
The ID for the address that you want the Snowball shipped to.
addressId
- The ID for the address that you want the Snowball shipped to.CreateJobRequest.Builder kmsKeyARN(String kmsKeyARN)
The KmsKeyARN
that you want to associate with this job. KmsKeyARN
s are created
using the CreateKey AWS
Key Management Service (KMS) API action.
kmsKeyARN
- The KmsKeyARN
that you want to associate with this job. KmsKeyARN
s are
created using the CreateKey AWS Key
Management Service (KMS) API action.CreateJobRequest.Builder roleARN(String roleARN)
The RoleARN
that you want to associate with this job. RoleArn
s are created using
the CreateRole AWS
Identity and Access Management (IAM) API action.
roleARN
- The RoleARN
that you want to associate with this job. RoleArn
s are created
using the CreateRole AWS
Identity and Access Management (IAM) API action.CreateJobRequest.Builder snowballCapacityPreference(String snowballCapacityPreference)
If your job is being created in one of the US regions, you have the option of specifying what size Snowball you'd like for this job. In all other regions, Snowballs come with 80 TB in storage capacity.
snowballCapacityPreference
- If your job is being created in one of the US regions, you have the option of specifying what size
Snowball you'd like for this job. In all other regions, Snowballs come with 80 TB in storage capacity.SnowballCapacity
,
SnowballCapacity
CreateJobRequest.Builder snowballCapacityPreference(SnowballCapacity snowballCapacityPreference)
If your job is being created in one of the US regions, you have the option of specifying what size Snowball you'd like for this job. In all other regions, Snowballs come with 80 TB in storage capacity.
snowballCapacityPreference
- If your job is being created in one of the US regions, you have the option of specifying what size
Snowball you'd like for this job. In all other regions, Snowballs come with 80 TB in storage capacity.SnowballCapacity
,
SnowballCapacity
CreateJobRequest.Builder shippingOption(String shippingOption)
The shipping speed for this job. This speed doesn't dictate how soon you'll get the Snowball, rather it represents how quickly the Snowball moves to its destination while in transit. Regional shipping speeds are as follows:
In Australia, you have access to express shipping. Typically, Snowballs shipped express are delivered in about a day.
In the European Union (EU), you have access to express shipping. Typically, Snowballs 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, Snowballs are delivered in one to seven days.
In the US, you have access to one-day shipping and two-day shipping.
shippingOption
- The shipping speed for this job. This speed doesn't dictate how soon you'll get the Snowball, rather
it represents how quickly the Snowball moves to its destination while in transit. Regional shipping
speeds are as follows:
In Australia, you have access to express shipping. Typically, Snowballs shipped express are delivered in about a day.
In the European Union (EU), you have access to express shipping. Typically, Snowballs 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, Snowballs are delivered in one to seven days.
In the US, you have access to one-day shipping and two-day shipping.
ShippingOption
,
ShippingOption
CreateJobRequest.Builder shippingOption(ShippingOption shippingOption)
The shipping speed for this job. This speed doesn't dictate how soon you'll get the Snowball, rather it represents how quickly the Snowball moves to its destination while in transit. Regional shipping speeds are as follows:
In Australia, you have access to express shipping. Typically, Snowballs shipped express are delivered in about a day.
In the European Union (EU), you have access to express shipping. Typically, Snowballs 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, Snowballs are delivered in one to seven days.
In the US, you have access to one-day shipping and two-day shipping.
shippingOption
- The shipping speed for this job. This speed doesn't dictate how soon you'll get the Snowball, rather
it represents how quickly the Snowball moves to its destination while in transit. Regional shipping
speeds are as follows:
In Australia, you have access to express shipping. Typically, Snowballs shipped express are delivered in about a day.
In the European Union (EU), you have access to express shipping. Typically, Snowballs 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, Snowballs are delivered in one to seven days.
In the US, you have access to one-day shipping and two-day shipping.
ShippingOption
,
ShippingOption
CreateJobRequest.Builder notification(Notification notification)
Defines the Amazon Simple Notification Service (Amazon SNS) notification settings for this job.
notification
- Defines the Amazon Simple Notification Service (Amazon SNS) notification settings for this job.default CreateJobRequest.Builder notification(Consumer<Notification.Builder> notification)
Defines the Amazon Simple Notification Service (Amazon SNS) notification settings for this job.
This is a convenience that creates an instance of theNotification.Builder
avoiding the need to
create one manually via Notification.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to notification(Notification)
.notification
- a consumer that will call methods on Notification.Builder
notification(Notification)
CreateJobRequest.Builder clusterId(String 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.
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.CreateJobRequest.Builder snowballType(String snowballType)
The type of AWS Snowball appliance to use for this job. Currently, the only supported appliance type for
cluster jobs is EDGE
.
snowballType
- The type of AWS Snowball appliance to use for this job. Currently, the only supported appliance type
for cluster jobs is EDGE
.SnowballType
,
SnowballType
CreateJobRequest.Builder snowballType(SnowballType snowballType)
The type of AWS Snowball appliance to use for this job. Currently, the only supported appliance type for
cluster jobs is EDGE
.
snowballType
- The type of AWS Snowball appliance to use for this job. Currently, the only supported appliance type
for cluster jobs is EDGE
.SnowballType
,
SnowballType
CreateJobRequest.Builder forwardingAddressId(String forwardingAddressId)
The forwarding address ID for a job. This field is not supported in most regions.
forwardingAddressId
- The forwarding address ID for a job. This field is not supported in most regions.CreateJobRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateJobRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.