Struct aws_sdk_amplify::operation::create_deployment::builders::CreateDeploymentInputBuilder
source · #[non_exhaustive]pub struct CreateDeploymentInputBuilder { /* private fields */ }Expand description
A builder for CreateDeploymentInput.
Implementations§
source§impl CreateDeploymentInputBuilder
impl CreateDeploymentInputBuilder
sourcepub fn set_app_id(self, input: Option<String>) -> Self
pub fn set_app_id(self, input: Option<String>) -> Self
The unique ID for an Amplify app.
sourcepub fn get_app_id(&self) -> &Option<String>
pub fn get_app_id(&self) -> &Option<String>
The unique ID for an Amplify app.
sourcepub fn branch_name(self, input: impl Into<String>) -> Self
pub fn branch_name(self, input: impl Into<String>) -> Self
The name for the branch, for the job.
sourcepub fn set_branch_name(self, input: Option<String>) -> Self
pub fn set_branch_name(self, input: Option<String>) -> Self
The name for the branch, for the job.
sourcepub fn get_branch_name(&self) -> &Option<String>
pub fn get_branch_name(&self) -> &Option<String>
The name for the branch, for the job.
sourcepub fn file_map(self, k: impl Into<String>, v: impl Into<String>) -> Self
pub fn file_map(self, k: impl Into<String>, v: impl Into<String>) -> Self
Adds a key-value pair to file_map.
To override the contents of this collection use set_file_map.
An optional file map that contains the file name as the key and the file content md5 hash as the value. If this argument is provided, the service will generate a unique upload URL per file. Otherwise, the service will only generate a single upload URL for the zipped files.
sourcepub fn set_file_map(self, input: Option<HashMap<String, String>>) -> Self
pub fn set_file_map(self, input: Option<HashMap<String, String>>) -> Self
An optional file map that contains the file name as the key and the file content md5 hash as the value. If this argument is provided, the service will generate a unique upload URL per file. Otherwise, the service will only generate a single upload URL for the zipped files.
sourcepub fn get_file_map(&self) -> &Option<HashMap<String, String>>
pub fn get_file_map(&self) -> &Option<HashMap<String, String>>
An optional file map that contains the file name as the key and the file content md5 hash as the value. If this argument is provided, the service will generate a unique upload URL per file. Otherwise, the service will only generate a single upload URL for the zipped files.
sourcepub fn build(self) -> Result<CreateDeploymentInput, BuildError>
pub fn build(self) -> Result<CreateDeploymentInput, BuildError>
Consumes the builder and constructs a CreateDeploymentInput.
source§impl CreateDeploymentInputBuilder
impl CreateDeploymentInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateDeploymentOutput, SdkError<CreateDeploymentError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateDeploymentOutput, SdkError<CreateDeploymentError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateDeploymentInputBuilder
impl Clone for CreateDeploymentInputBuilder
source§fn clone(&self) -> CreateDeploymentInputBuilder
fn clone(&self) -> CreateDeploymentInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateDeploymentInputBuilder
impl Debug for CreateDeploymentInputBuilder
source§impl Default for CreateDeploymentInputBuilder
impl Default for CreateDeploymentInputBuilder
source§fn default() -> CreateDeploymentInputBuilder
fn default() -> CreateDeploymentInputBuilder
source§impl PartialEq<CreateDeploymentInputBuilder> for CreateDeploymentInputBuilder
impl PartialEq<CreateDeploymentInputBuilder> for CreateDeploymentInputBuilder
source§fn eq(&self, other: &CreateDeploymentInputBuilder) -> bool
fn eq(&self, other: &CreateDeploymentInputBuilder) -> bool
self and other values to be equal, and is used
by ==.