@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateJobRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateJobRequest() |
Modifier and Type | Method and Description |
---|---|
CreateJobRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAddressId()
The ID for the address that you want the Snowball shipped to.
|
String |
getClusterId()
The ID of a cluster.
|
String |
getDescription()
Defines an optional description of this specific job, for example
Important Photos 2016-08-11 . |
String |
getForwardingAddressId()
The forwarding address ID for a job.
|
String |
getJobType()
Defines the type of job that you're creating.
|
String |
getKmsKeyARN()
The
KmsKeyARN that you want to associate with this job. |
Notification |
getNotification()
Defines the Amazon Simple Notification Service (Amazon SNS) notification settings for this job.
|
JobResource |
getResources()
Defines the Amazon S3 buckets associated with this job.
|
String |
getRoleARN()
The
RoleARN that you want to associate with this job. |
String |
getShippingOption()
The shipping speed for this job.
|
String |
getSnowballCapacityPreference()
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.
|
String |
getSnowballType()
The type of AWS Snowball appliance to use for this job.
|
int |
hashCode() |
void |
setAddressId(String addressId)
The ID for the address that you want the Snowball shipped to.
|
void |
setClusterId(String clusterId)
The ID of a cluster.
|
void |
setDescription(String description)
Defines an optional description of this specific job, for example
Important Photos 2016-08-11 . |
void |
setForwardingAddressId(String forwardingAddressId)
The forwarding address ID for a job.
|
void |
setJobType(JobType jobType)
Defines the type of job that you're creating.
|
void |
setJobType(String jobType)
Defines the type of job that you're creating.
|
void |
setKmsKeyARN(String kmsKeyARN)
The
KmsKeyARN that you want to associate with this job. |
void |
setNotification(Notification notification)
Defines the Amazon Simple Notification Service (Amazon SNS) notification settings for this job.
|
void |
setResources(JobResource resources)
Defines the Amazon S3 buckets associated with this job.
|
void |
setRoleARN(String roleARN)
The
RoleARN that you want to associate with this job. |
void |
setShippingOption(ShippingOption shippingOption)
The shipping speed for this job.
|
void |
setShippingOption(String shippingOption)
The shipping speed for this job.
|
void |
setSnowballCapacityPreference(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.
|
void |
setSnowballCapacityPreference(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.
|
void |
setSnowballType(SnowballType snowballType)
The type of AWS Snowball appliance to use for this job.
|
void |
setSnowballType(String snowballType)
The type of AWS Snowball appliance to use for this job.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreateJobRequest |
withAddressId(String addressId)
The ID for the address that you want the Snowball shipped to.
|
CreateJobRequest |
withClusterId(String clusterId)
The ID of a cluster.
|
CreateJobRequest |
withDescription(String description)
Defines an optional description of this specific job, for example
Important Photos 2016-08-11 . |
CreateJobRequest |
withForwardingAddressId(String forwardingAddressId)
The forwarding address ID for a job.
|
CreateJobRequest |
withJobType(JobType jobType)
Defines the type of job that you're creating.
|
CreateJobRequest |
withJobType(String jobType)
Defines the type of job that you're creating.
|
CreateJobRequest |
withKmsKeyARN(String kmsKeyARN)
The
KmsKeyARN that you want to associate with this job. |
CreateJobRequest |
withNotification(Notification notification)
Defines the Amazon Simple Notification Service (Amazon SNS) notification settings for this job.
|
CreateJobRequest |
withResources(JobResource resources)
Defines the Amazon S3 buckets associated with this job.
|
CreateJobRequest |
withRoleARN(String roleARN)
The
RoleARN that you want to associate with this job. |
CreateJobRequest |
withShippingOption(ShippingOption shippingOption)
The shipping speed for this job.
|
CreateJobRequest |
withShippingOption(String shippingOption)
The shipping speed for this job.
|
CreateJobRequest |
withSnowballCapacityPreference(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 |
withSnowballCapacityPreference(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 |
withSnowballType(SnowballType snowballType)
The type of AWS Snowball appliance to use for this job.
|
CreateJobRequest |
withSnowballType(String snowballType)
The type of AWS Snowball appliance to use for this job.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setJobType(String jobType)
Defines the type of job that you're creating.
jobType
- Defines the type of job that you're creating.JobType
public String getJobType()
Defines the type of job that you're creating.
JobType
public CreateJobRequest withJobType(String jobType)
Defines the type of job that you're creating.
jobType
- Defines the type of job that you're creating.JobType
public void setJobType(JobType jobType)
Defines the type of job that you're creating.
jobType
- Defines the type of job that you're creating.JobType
public CreateJobRequest withJobType(JobType jobType)
Defines the type of job that you're creating.
jobType
- Defines the type of job that you're creating.JobType
public void setResources(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.
public JobResource getResources()
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.
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 CreateJobRequest withResources(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.
public void setDescription(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
.public String getDescription()
Defines an optional description of this specific job, for example Important Photos 2016-08-11
.
Important Photos 2016-08-11
.public CreateJobRequest withDescription(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
.public void setAddressId(String addressId)
The ID for the address that you want the Snowball shipped to.
addressId
- The ID for the address that you want the Snowball shipped to.public String getAddressId()
The ID for the address that you want the Snowball shipped to.
public CreateJobRequest withAddressId(String addressId)
The ID for the address that you want the Snowball shipped to.
addressId
- The ID for the address that you want the Snowball shipped to.public void setKmsKeyARN(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.public String getKmsKeyARN()
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
that you want to associate with this job. KmsKeyARN
s are created
using the CreateKey
AWS Key Management Service (KMS) API action.public CreateJobRequest withKmsKeyARN(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.public void setRoleARN(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.public String getRoleARN()
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
that you want to associate with this job. RoleArn
s are created
using the CreateRole
AWS Identity and Access Management (IAM) API action.public CreateJobRequest withRoleARN(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.public void setSnowballCapacityPreference(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
public String getSnowballCapacityPreference()
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
public CreateJobRequest withSnowballCapacityPreference(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
public void setSnowballCapacityPreference(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
public CreateJobRequest withSnowballCapacityPreference(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
public void setShippingOption(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
public String getShippingOption()
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.
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
public CreateJobRequest withShippingOption(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
public void setShippingOption(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
public CreateJobRequest withShippingOption(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
public void setNotification(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.public Notification getNotification()
Defines the Amazon Simple Notification Service (Amazon SNS) notification settings for this job.
public CreateJobRequest withNotification(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.public void setClusterId(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.public String getClusterId()
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
value. The other job attributes are inherited from the cluster.public CreateJobRequest withClusterId(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.public void setSnowballType(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
public String getSnowballType()
The type of AWS Snowball appliance to use for this job. Currently, the only supported appliance type for cluster
jobs is EDGE
.
EDGE
.SnowballType
public CreateJobRequest withSnowballType(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
public void setSnowballType(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
public CreateJobRequest withSnowballType(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
public void setForwardingAddressId(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.public String getForwardingAddressId()
The forwarding address ID for a job. This field is not supported in most regions.
public CreateJobRequest withForwardingAddressId(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.public String toString()
toString
in class Object
Object.toString()
public CreateJobRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.