#[non_exhaustive]pub struct ContainerDatasetActionBuilder { /* private fields */ }
Expand description
A builder for ContainerDatasetAction
.
Implementations§
source§impl ContainerDatasetActionBuilder
impl ContainerDatasetActionBuilder
sourcepub fn image(self, input: impl Into<String>) -> Self
pub fn image(self, input: impl Into<String>) -> Self
The ARN of the Docker container stored in your account. The Docker container contains an application and required support libraries and is used to generate dataset contents.
This field is required.sourcepub fn set_image(self, input: Option<String>) -> Self
pub fn set_image(self, input: Option<String>) -> Self
The ARN of the Docker container stored in your account. The Docker container contains an application and required support libraries and is used to generate dataset contents.
sourcepub fn get_image(&self) -> &Option<String>
pub fn get_image(&self) -> &Option<String>
The ARN of the Docker container stored in your account. The Docker container contains an application and required support libraries and is used to generate dataset contents.
sourcepub fn execution_role_arn(self, input: impl Into<String>) -> Self
pub fn execution_role_arn(self, input: impl Into<String>) -> Self
The ARN of the role that gives permission to the system to access required resources to run the containerAction
. This includes, at minimum, permission to retrieve the dataset contents that are the input to the containerized application.
sourcepub fn set_execution_role_arn(self, input: Option<String>) -> Self
pub fn set_execution_role_arn(self, input: Option<String>) -> Self
The ARN of the role that gives permission to the system to access required resources to run the containerAction
. This includes, at minimum, permission to retrieve the dataset contents that are the input to the containerized application.
sourcepub fn get_execution_role_arn(&self) -> &Option<String>
pub fn get_execution_role_arn(&self) -> &Option<String>
The ARN of the role that gives permission to the system to access required resources to run the containerAction
. This includes, at minimum, permission to retrieve the dataset contents that are the input to the containerized application.
sourcepub fn resource_configuration(self, input: ResourceConfiguration) -> Self
pub fn resource_configuration(self, input: ResourceConfiguration) -> Self
Configuration of the resource that executes the containerAction
.
sourcepub fn set_resource_configuration(
self,
input: Option<ResourceConfiguration>
) -> Self
pub fn set_resource_configuration( self, input: Option<ResourceConfiguration> ) -> Self
Configuration of the resource that executes the containerAction
.
sourcepub fn get_resource_configuration(&self) -> &Option<ResourceConfiguration>
pub fn get_resource_configuration(&self) -> &Option<ResourceConfiguration>
Configuration of the resource that executes the containerAction
.
sourcepub fn variables(self, input: Variable) -> Self
pub fn variables(self, input: Variable) -> Self
Appends an item to variables
.
To override the contents of this collection use set_variables
.
The values of variables used in the context of the execution of the containerized application (basically, parameters passed to the application). Each variable must have a name and a value given by one of stringValue
, datasetContentVersionValue
, or outputFileUriValue
.
sourcepub fn set_variables(self, input: Option<Vec<Variable>>) -> Self
pub fn set_variables(self, input: Option<Vec<Variable>>) -> Self
The values of variables used in the context of the execution of the containerized application (basically, parameters passed to the application). Each variable must have a name and a value given by one of stringValue
, datasetContentVersionValue
, or outputFileUriValue
.
sourcepub fn get_variables(&self) -> &Option<Vec<Variable>>
pub fn get_variables(&self) -> &Option<Vec<Variable>>
The values of variables used in the context of the execution of the containerized application (basically, parameters passed to the application). Each variable must have a name and a value given by one of stringValue
, datasetContentVersionValue
, or outputFileUriValue
.
sourcepub fn build(self) -> Result<ContainerDatasetAction, BuildError>
pub fn build(self) -> Result<ContainerDatasetAction, BuildError>
Consumes the builder and constructs a ContainerDatasetAction
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ContainerDatasetActionBuilder
impl Clone for ContainerDatasetActionBuilder
source§fn clone(&self) -> ContainerDatasetActionBuilder
fn clone(&self) -> ContainerDatasetActionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ContainerDatasetActionBuilder
impl Default for ContainerDatasetActionBuilder
source§fn default() -> ContainerDatasetActionBuilder
fn default() -> ContainerDatasetActionBuilder
source§impl PartialEq for ContainerDatasetActionBuilder
impl PartialEq for ContainerDatasetActionBuilder
source§fn eq(&self, other: &ContainerDatasetActionBuilder) -> bool
fn eq(&self, other: &ContainerDatasetActionBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.