Struct aws_sdk_s3control::input::create_job_input::Builder
source · [−]#[non_exhaustive]pub struct Builder { /* private fields */ }
Expand description
A builder for CreateJobInput
Implementations
sourceimpl Builder
impl Builder
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 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 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 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 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 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 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 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 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.
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.
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 build(self) -> Result<CreateJobInput, BuildError>
pub fn build(self) -> Result<CreateJobInput, BuildError>
Consumes the builder and constructs a CreateJobInput
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more