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.
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 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 build(self) -> EnvironmentFile
pub fn build(self) -> EnvironmentFile
Consumes the builder and constructs a EnvironmentFile.
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<EnvironmentFileBuilder> for EnvironmentFileBuilder
impl PartialEq<EnvironmentFileBuilder> 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 ==.