Struct aws_sdk_m2::types::builders::S3BatchJobIdentifierBuilder
source · #[non_exhaustive]pub struct S3BatchJobIdentifierBuilder { /* private fields */ }Expand description
A builder for S3BatchJobIdentifier.
Implementations§
source§impl S3BatchJobIdentifierBuilder
impl S3BatchJobIdentifierBuilder
sourcepub fn bucket(self, input: impl Into<String>) -> Self
pub fn bucket(self, input: impl Into<String>) -> Self
The Amazon S3 bucket that contains the batch job definitions.
This field is required.sourcepub fn set_bucket(self, input: Option<String>) -> Self
pub fn set_bucket(self, input: Option<String>) -> Self
The Amazon S3 bucket that contains the batch job definitions.
sourcepub fn get_bucket(&self) -> &Option<String>
pub fn get_bucket(&self) -> &Option<String>
The Amazon S3 bucket that contains the batch job definitions.
sourcepub fn key_prefix(self, input: impl Into<String>) -> Self
pub fn key_prefix(self, input: impl Into<String>) -> Self
The key prefix that specifies the path to the folder in the S3 bucket that has the batch job definitions.
sourcepub fn set_key_prefix(self, input: Option<String>) -> Self
pub fn set_key_prefix(self, input: Option<String>) -> Self
The key prefix that specifies the path to the folder in the S3 bucket that has the batch job definitions.
sourcepub fn get_key_prefix(&self) -> &Option<String>
pub fn get_key_prefix(&self) -> &Option<String>
The key prefix that specifies the path to the folder in the S3 bucket that has the batch job definitions.
sourcepub fn identifier(self, input: JobIdentifier) -> Self
pub fn identifier(self, input: JobIdentifier) -> Self
Identifies the batch job definition. This identifier can also point to any batch job definition that already exists in the application or to one of the batch job definitions within the directory that is specified in keyPrefix.
sourcepub fn set_identifier(self, input: Option<JobIdentifier>) -> Self
pub fn set_identifier(self, input: Option<JobIdentifier>) -> Self
Identifies the batch job definition. This identifier can also point to any batch job definition that already exists in the application or to one of the batch job definitions within the directory that is specified in keyPrefix.
sourcepub fn get_identifier(&self) -> &Option<JobIdentifier>
pub fn get_identifier(&self) -> &Option<JobIdentifier>
Identifies the batch job definition. This identifier can also point to any batch job definition that already exists in the application or to one of the batch job definitions within the directory that is specified in keyPrefix.
sourcepub fn build(self) -> Result<S3BatchJobIdentifier, BuildError>
pub fn build(self) -> Result<S3BatchJobIdentifier, BuildError>
Consumes the builder and constructs a S3BatchJobIdentifier.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for S3BatchJobIdentifierBuilder
impl Clone for S3BatchJobIdentifierBuilder
source§fn clone(&self) -> S3BatchJobIdentifierBuilder
fn clone(&self) -> S3BatchJobIdentifierBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for S3BatchJobIdentifierBuilder
impl Debug for S3BatchJobIdentifierBuilder
source§impl Default for S3BatchJobIdentifierBuilder
impl Default for S3BatchJobIdentifierBuilder
source§fn default() -> S3BatchJobIdentifierBuilder
fn default() -> S3BatchJobIdentifierBuilder
source§impl PartialEq for S3BatchJobIdentifierBuilder
impl PartialEq for S3BatchJobIdentifierBuilder
source§fn eq(&self, other: &S3BatchJobIdentifierBuilder) -> bool
fn eq(&self, other: &S3BatchJobIdentifierBuilder) -> bool
self and other values to be equal, and is used
by ==.