pub struct CreateJobFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateJob
.
You can use S3 Batch Operations to perform large-scale batch actions on Amazon S3 objects. Batch Operations can run a single action on lists of Amazon S3 objects that you specify. For more information, see S3 Batch Operations in the Amazon S3 User Guide.
This action creates a S3 Batch Operations job.
Related actions include:
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 async fn customize(
self
) -> Result<CustomizableOperation<CreateJobOutput, CreateJobError>, SdkError<CreateJobError>>
pub async fn customize( self ) -> Result<CustomizableOperation<CreateJobOutput, CreateJobError>, SdkError<CreateJobError>>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn account_id(self, input: impl Into<String>) -> Self
pub fn account_id(self, input: impl Into<String>) -> Self
The Amazon Web Services account ID that creates the job.
sourcepub fn set_account_id(self, input: Option<String>) -> Self
pub fn set_account_id(self, input: Option<String>) -> Self
The Amazon Web Services account ID that creates the job.
sourcepub fn get_account_id(&self) -> &Option<String>
pub fn get_account_id(&self) -> &Option<String>
The Amazon Web Services account ID that creates the job.
sourcepub fn confirmation_required(self, input: bool) -> Self
pub fn confirmation_required(self, input: bool) -> Self
Indicates whether confirmation is required before Amazon S3 runs the job. Confirmation is only required for jobs created through the Amazon S3 console.
sourcepub fn set_confirmation_required(self, input: Option<bool>) -> Self
pub fn set_confirmation_required(self, input: Option<bool>) -> Self
Indicates whether confirmation is required before Amazon S3 runs the job. Confirmation is only required for jobs created through the Amazon S3 console.
sourcepub fn get_confirmation_required(&self) -> &Option<bool>
pub fn get_confirmation_required(&self) -> &Option<bool>
Indicates whether confirmation is required before Amazon S3 runs the job. Confirmation is only required for jobs created through the Amazon S3 console.
sourcepub fn operation(self, input: JobOperation) -> Self
pub fn operation(self, input: JobOperation) -> Self
The action that you want this job to perform on every object listed in the manifest. For more information about the available actions, see Operations in the Amazon S3 User Guide.
sourcepub fn set_operation(self, input: Option<JobOperation>) -> Self
pub fn set_operation(self, input: Option<JobOperation>) -> Self
The action that you want this job to perform on every object listed in the manifest. For more information about the available actions, see Operations in the Amazon S3 User Guide.
sourcepub fn get_operation(&self) -> &Option<JobOperation>
pub fn get_operation(&self) -> &Option<JobOperation>
The action that you want this job to perform on every object listed in the manifest. For more information about the available actions, see Operations in the Amazon S3 User Guide.
sourcepub fn report(self, input: JobReport) -> Self
pub fn report(self, input: JobReport) -> Self
Configuration parameters for the optional job-completion report.
sourcepub fn set_report(self, input: Option<JobReport>) -> Self
pub fn set_report(self, input: Option<JobReport>) -> Self
Configuration parameters for the optional job-completion report.
sourcepub fn get_report(&self) -> &Option<JobReport>
pub fn get_report(&self) -> &Option<JobReport>
Configuration parameters for the optional job-completion report.
sourcepub fn client_request_token(self, input: impl Into<String>) -> Self
pub fn client_request_token(self, input: impl Into<String>) -> Self
An idempotency token to ensure that you don't accidentally submit the same request twice. You can use any string up to the maximum length.
sourcepub fn set_client_request_token(self, input: Option<String>) -> Self
pub fn set_client_request_token(self, input: Option<String>) -> Self
An idempotency token to ensure that you don't accidentally submit the same request twice. You can use any string up to the maximum length.
sourcepub fn get_client_request_token(&self) -> &Option<String>
pub fn get_client_request_token(&self) -> &Option<String>
An idempotency token to ensure that you don't accidentally submit the same request twice. You can use any string up to the maximum length.
sourcepub fn manifest(self, input: JobManifest) -> Self
pub fn manifest(self, input: JobManifest) -> Self
Configuration parameters for the manifest.
sourcepub fn set_manifest(self, input: Option<JobManifest>) -> Self
pub fn set_manifest(self, input: Option<JobManifest>) -> Self
Configuration parameters for the manifest.
sourcepub fn get_manifest(&self) -> &Option<JobManifest>
pub fn get_manifest(&self) -> &Option<JobManifest>
Configuration parameters for the manifest.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A description for this job. You can use any string within the permitted length. Descriptions don't need to be unique and can be used for multiple jobs.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A description for this job. You can use any string within the permitted length. Descriptions don't need to be unique and can be used for multiple jobs.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
A description for this job. You can use any string within the permitted length. Descriptions don't need to be unique and can be used for multiple jobs.
sourcepub fn priority(self, input: i32) -> Self
pub fn priority(self, input: i32) -> Self
The numerical priority for this job. Higher numbers indicate higher priority.
sourcepub fn set_priority(self, input: Option<i32>) -> Self
pub fn set_priority(self, input: Option<i32>) -> Self
The numerical priority for this job. Higher numbers indicate higher priority.
sourcepub fn get_priority(&self) -> &Option<i32>
pub fn get_priority(&self) -> &Option<i32>
The numerical priority for this job. Higher numbers indicate higher priority.
sourcepub fn role_arn(self, input: impl Into<String>) -> Self
pub fn role_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) for the Identity and Access Management (IAM) role that Batch Operations will use to run this job's action on every object in the manifest.
sourcepub fn set_role_arn(self, input: Option<String>) -> Self
pub fn set_role_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) for the Identity and Access Management (IAM) role that Batch Operations will use to run this job's action on every object in the manifest.
sourcepub fn get_role_arn(&self) -> &Option<String>
pub fn get_role_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) for the Identity and Access Management (IAM) role that Batch Operations will use to run this job's action on every object in the manifest.
Appends an item to Tags
.
To override the contents of this collection use set_tags
.
A set of tags to associate with the S3 Batch Operations job. This is an optional parameter.
A set of tags to associate with the S3 Batch Operations job. This is an optional parameter.
A set of tags to associate with the S3 Batch Operations job. This is an optional parameter.
sourcepub fn manifest_generator(self, input: JobManifestGenerator) -> Self
pub fn manifest_generator(self, input: JobManifestGenerator) -> Self
The attribute container for the ManifestGenerator details. Jobs must be created with either a manifest file or a ManifestGenerator, but not both.
sourcepub fn set_manifest_generator(self, input: Option<JobManifestGenerator>) -> Self
pub fn set_manifest_generator(self, input: Option<JobManifestGenerator>) -> Self
The attribute container for the ManifestGenerator details. Jobs must be created with either a manifest file or a ManifestGenerator, but not both.
sourcepub fn get_manifest_generator(&self) -> &Option<JobManifestGenerator>
pub fn get_manifest_generator(&self) -> &Option<JobManifestGenerator>
The attribute container for the ManifestGenerator details. Jobs must be created with either a manifest file or a ManifestGenerator, but not both.
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