Struct aws_sdk_ecs::types::builders::EnvironmentFileBuilder   
source · #[non_exhaustive]pub struct EnvironmentFileBuilder { /* private fields */ }Expand description
A builder for EnvironmentFile.
Implementations§
source§impl EnvironmentFileBuilder
 
impl EnvironmentFileBuilder
sourcepub fn value(self, input: impl Into<String>) -> Self
 
pub fn value(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the Amazon S3 object containing the environment variable file.
This field is required.sourcepub fn set_value(self, input: Option<String>) -> Self
 
pub fn set_value(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the Amazon S3 object containing the environment variable file.
sourcepub fn get_value(&self) -> &Option<String>
 
pub fn get_value(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the Amazon S3 object containing the environment variable file.
sourcepub fn type(self, input: EnvironmentFileType) -> Self
 
pub fn type(self, input: EnvironmentFileType) -> Self
The file type to use. The only supported value is s3.
sourcepub fn set_type(self, input: Option<EnvironmentFileType>) -> Self
 
pub fn set_type(self, input: Option<EnvironmentFileType>) -> Self
The file type to use. The only supported value is s3.
sourcepub fn get_type(&self) -> &Option<EnvironmentFileType>
 
pub fn get_type(&self) -> &Option<EnvironmentFileType>
The file type to use. The only supported value is s3.
sourcepub fn build(self) -> Result<EnvironmentFile, BuildError>
 
pub fn build(self) -> Result<EnvironmentFile, BuildError>
Consumes the builder and constructs a EnvironmentFile.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for EnvironmentFileBuilder
 
impl Clone for EnvironmentFileBuilder
source§fn clone(&self) -> EnvironmentFileBuilder
 
fn clone(&self) -> EnvironmentFileBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moresource§impl Debug for EnvironmentFileBuilder
 
impl Debug for EnvironmentFileBuilder
source§impl Default for EnvironmentFileBuilder
 
impl Default for EnvironmentFileBuilder
source§fn default() -> EnvironmentFileBuilder
 
fn default() -> EnvironmentFileBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for EnvironmentFileBuilder
 
impl PartialEq for EnvironmentFileBuilder
source§fn eq(&self, other: &EnvironmentFileBuilder) -> bool
 
fn eq(&self, other: &EnvironmentFileBuilder) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for EnvironmentFileBuilder
Auto Trait Implementations§
impl Freeze for EnvironmentFileBuilder
impl RefUnwindSafe for EnvironmentFileBuilder
impl Send for EnvironmentFileBuilder
impl Sync for EnvironmentFileBuilder
impl Unpin for EnvironmentFileBuilder
impl UnwindSafe for EnvironmentFileBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
 
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
 
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
 
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.