Struct aws_sdk_ecs::model::environment_file::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for EnvironmentFile.
Implementations§
source§impl Builder
impl Builder
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.