// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`UpdateBranch`](crate::operation::update_branch::builders::UpdateBranchFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`app_id(impl Into<String>)`](crate::operation::update_branch::builders::UpdateBranchFluentBuilder::app_id) / [`set_app_id(Option<String>)`](crate::operation::update_branch::builders::UpdateBranchFluentBuilder::set_app_id):<br>required: **true**<br><p> The unique ID for an Amplify app. </p><br>
/// - [`branch_name(impl Into<String>)`](crate::operation::update_branch::builders::UpdateBranchFluentBuilder::branch_name) / [`set_branch_name(Option<String>)`](crate::operation::update_branch::builders::UpdateBranchFluentBuilder::set_branch_name):<br>required: **true**<br><p>The name of the branch. </p><br>
/// - [`description(impl Into<String>)`](crate::operation::update_branch::builders::UpdateBranchFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::update_branch::builders::UpdateBranchFluentBuilder::set_description):<br>required: **false**<br><p> The description for the branch. </p><br>
/// - [`framework(impl Into<String>)`](crate::operation::update_branch::builders::UpdateBranchFluentBuilder::framework) / [`set_framework(Option<String>)`](crate::operation::update_branch::builders::UpdateBranchFluentBuilder::set_framework):<br>required: **false**<br><p> The framework for the branch. </p><br>
/// - [`stage(Stage)`](crate::operation::update_branch::builders::UpdateBranchFluentBuilder::stage) / [`set_stage(Option<Stage>)`](crate::operation::update_branch::builders::UpdateBranchFluentBuilder::set_stage):<br>required: **false**<br><p> Describes the current stage for the branch. </p><br>
/// - [`enable_notification(bool)`](crate::operation::update_branch::builders::UpdateBranchFluentBuilder::enable_notification) / [`set_enable_notification(Option<bool>)`](crate::operation::update_branch::builders::UpdateBranchFluentBuilder::set_enable_notification):<br>required: **false**<br><p> Enables notifications for the branch. </p><br>
/// - [`enable_auto_build(bool)`](crate::operation::update_branch::builders::UpdateBranchFluentBuilder::enable_auto_build) / [`set_enable_auto_build(Option<bool>)`](crate::operation::update_branch::builders::UpdateBranchFluentBuilder::set_enable_auto_build):<br>required: **false**<br><p> Enables auto building for the branch. </p><br>
/// - [`environment_variables(impl Into<String>, impl Into<String>)`](crate::operation::update_branch::builders::UpdateBranchFluentBuilder::environment_variables) / [`set_environment_variables(Option<HashMap::<String, String>>)`](crate::operation::update_branch::builders::UpdateBranchFluentBuilder::set_environment_variables):<br>required: **false**<br><p> The environment variables for the branch. </p><br>
/// - [`basic_auth_credentials(impl Into<String>)`](crate::operation::update_branch::builders::UpdateBranchFluentBuilder::basic_auth_credentials) / [`set_basic_auth_credentials(Option<String>)`](crate::operation::update_branch::builders::UpdateBranchFluentBuilder::set_basic_auth_credentials):<br>required: **false**<br><p> The basic authorization credentials for the branch. You must base64-encode the authorization credentials and provide them in the format <code>user:password</code>.</p><br>
/// - [`enable_basic_auth(bool)`](crate::operation::update_branch::builders::UpdateBranchFluentBuilder::enable_basic_auth) / [`set_enable_basic_auth(Option<bool>)`](crate::operation::update_branch::builders::UpdateBranchFluentBuilder::set_enable_basic_auth):<br>required: **false**<br><p> Enables basic authorization for the branch. </p><br>
/// - [`enable_performance_mode(bool)`](crate::operation::update_branch::builders::UpdateBranchFluentBuilder::enable_performance_mode) / [`set_enable_performance_mode(Option<bool>)`](crate::operation::update_branch::builders::UpdateBranchFluentBuilder::set_enable_performance_mode):<br>required: **false**<br><p>Enables performance mode for the branch.</p> <p>Performance mode optimizes for faster hosting performance by keeping content cached at the edge for a longer interval. When performance mode is enabled, hosting configuration or code changes can take up to 10 minutes to roll out. </p><br>
/// - [`build_spec(impl Into<String>)`](crate::operation::update_branch::builders::UpdateBranchFluentBuilder::build_spec) / [`set_build_spec(Option<String>)`](crate::operation::update_branch::builders::UpdateBranchFluentBuilder::set_build_spec):<br>required: **false**<br><p> The build specification (build spec) for the branch. </p><br>
/// - [`ttl(impl Into<String>)`](crate::operation::update_branch::builders::UpdateBranchFluentBuilder::ttl) / [`set_ttl(Option<String>)`](crate::operation::update_branch::builders::UpdateBranchFluentBuilder::set_ttl):<br>required: **false**<br><p> The content Time to Live (TTL) for the website in seconds. </p><br>
/// - [`display_name(impl Into<String>)`](crate::operation::update_branch::builders::UpdateBranchFluentBuilder::display_name) / [`set_display_name(Option<String>)`](crate::operation::update_branch::builders::UpdateBranchFluentBuilder::set_display_name):<br>required: **false**<br><p> The display name for a branch. This is used as the default domain prefix. </p><br>
/// - [`enable_pull_request_preview(bool)`](crate::operation::update_branch::builders::UpdateBranchFluentBuilder::enable_pull_request_preview) / [`set_enable_pull_request_preview(Option<bool>)`](crate::operation::update_branch::builders::UpdateBranchFluentBuilder::set_enable_pull_request_preview):<br>required: **false**<br><p> Enables pull request previews for this branch. </p><br>
/// - [`pull_request_environment_name(impl Into<String>)`](crate::operation::update_branch::builders::UpdateBranchFluentBuilder::pull_request_environment_name) / [`set_pull_request_environment_name(Option<String>)`](crate::operation::update_branch::builders::UpdateBranchFluentBuilder::set_pull_request_environment_name):<br>required: **false**<br><p> The Amplify environment name for the pull request. </p><br>
/// - [`backend_environment_arn(impl Into<String>)`](crate::operation::update_branch::builders::UpdateBranchFluentBuilder::backend_environment_arn) / [`set_backend_environment_arn(Option<String>)`](crate::operation::update_branch::builders::UpdateBranchFluentBuilder::set_backend_environment_arn):<br>required: **false**<br><p>The Amazon Resource Name (ARN) for a backend environment that is part of an Amplify app. </p><br>
/// - [`backend(Backend)`](crate::operation::update_branch::builders::UpdateBranchFluentBuilder::backend) / [`set_backend(Option<Backend>)`](crate::operation::update_branch::builders::UpdateBranchFluentBuilder::set_backend):<br>required: **false**<br><p>The backend for a <code>Branch</code> of an Amplify app. Use for a backend created from an CloudFormation stack.</p><br>
/// - On success, responds with [`UpdateBranchOutput`](crate::operation::update_branch::UpdateBranchOutput) with field(s):
/// - [`branch(Option<Branch>)`](crate::operation::update_branch::UpdateBranchOutput::branch): <p> The branch for an Amplify app, which maps to a third-party repository branch. </p>
/// - On failure, responds with [`SdkError<UpdateBranchError>`](crate::operation::update_branch::UpdateBranchError)
pub fn update_branch(&self) -> crate::operation::update_branch::builders::UpdateBranchFluentBuilder {
crate::operation::update_branch::builders::UpdateBranchFluentBuilder::new(self.handle.clone())
}
}