Struct aws_sdk_amplify::input::update_app_input::Builder
source · [−]#[non_exhaustive]pub struct Builder { /* private fields */ }
Expand description
A builder for UpdateAppInput
Implementations
sourceimpl Builder
impl Builder
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 description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description for an Amplify app.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description for an Amplify app.
sourcepub fn set_platform(self, input: Option<Platform>) -> Self
pub fn set_platform(self, input: Option<Platform>) -> Self
The platform for an Amplify app.
sourcepub fn iam_service_role_arn(self, input: impl Into<String>) -> Self
pub fn iam_service_role_arn(self, input: impl Into<String>) -> Self
The AWS Identity and Access Management (IAM) service role for an Amplify app.
sourcepub fn set_iam_service_role_arn(self, input: Option<String>) -> Self
pub fn set_iam_service_role_arn(self, input: Option<String>) -> Self
The AWS Identity and Access Management (IAM) service role for an Amplify app.
sourcepub fn environment_variables(
self,
k: impl Into<String>,
v: impl Into<String>
) -> Self
pub fn environment_variables(
self,
k: impl Into<String>,
v: impl Into<String>
) -> Self
Adds a key-value pair to environment_variables
.
To override the contents of this collection use set_environment_variables
.
The environment variables for an Amplify app.
sourcepub fn set_environment_variables(
self,
input: Option<HashMap<String, String>>
) -> Self
pub fn set_environment_variables(
self,
input: Option<HashMap<String, String>>
) -> Self
The environment variables for an Amplify app.
sourcepub fn enable_branch_auto_build(self, input: bool) -> Self
pub fn enable_branch_auto_build(self, input: bool) -> Self
Enables branch auto-building for an Amplify app.
sourcepub fn set_enable_branch_auto_build(self, input: Option<bool>) -> Self
pub fn set_enable_branch_auto_build(self, input: Option<bool>) -> Self
Enables branch auto-building for an Amplify app.
sourcepub fn enable_branch_auto_deletion(self, input: bool) -> Self
pub fn enable_branch_auto_deletion(self, input: bool) -> Self
Automatically disconnects a branch in the Amplify Console when you delete a branch from your Git repository.
sourcepub fn set_enable_branch_auto_deletion(self, input: Option<bool>) -> Self
pub fn set_enable_branch_auto_deletion(self, input: Option<bool>) -> Self
Automatically disconnects a branch in the Amplify Console when you delete a branch from your Git repository.
sourcepub fn enable_basic_auth(self, input: bool) -> Self
pub fn enable_basic_auth(self, input: bool) -> Self
Enables basic authorization for an Amplify app.
sourcepub fn set_enable_basic_auth(self, input: Option<bool>) -> Self
pub fn set_enable_basic_auth(self, input: Option<bool>) -> Self
Enables basic authorization for an Amplify app.
sourcepub fn basic_auth_credentials(self, input: impl Into<String>) -> Self
pub fn basic_auth_credentials(self, input: impl Into<String>) -> Self
The basic authorization credentials for an Amplify app. You must base64-encode the authorization credentials and provide them in the format user:password
.
sourcepub fn set_basic_auth_credentials(self, input: Option<String>) -> Self
pub fn set_basic_auth_credentials(self, input: Option<String>) -> Self
The basic authorization credentials for an Amplify app. You must base64-encode the authorization credentials and provide them in the format user:password
.
sourcepub fn custom_rules(self, input: CustomRule) -> Self
pub fn custom_rules(self, input: CustomRule) -> Self
Appends an item to custom_rules
.
To override the contents of this collection use set_custom_rules
.
The custom redirect and rewrite rules for an Amplify app.
sourcepub fn set_custom_rules(self, input: Option<Vec<CustomRule>>) -> Self
pub fn set_custom_rules(self, input: Option<Vec<CustomRule>>) -> Self
The custom redirect and rewrite rules for an Amplify app.
sourcepub fn build_spec(self, input: impl Into<String>) -> Self
pub fn build_spec(self, input: impl Into<String>) -> Self
The build specification (build spec) for an Amplify app.
sourcepub fn set_build_spec(self, input: Option<String>) -> Self
pub fn set_build_spec(self, input: Option<String>) -> Self
The build specification (build spec) for an Amplify app.
sourcepub fn custom_headers(self, input: impl Into<String>) -> Self
pub fn custom_headers(self, input: impl Into<String>) -> Self
The custom HTTP headers for an Amplify app.
sourcepub fn set_custom_headers(self, input: Option<String>) -> Self
pub fn set_custom_headers(self, input: Option<String>) -> Self
The custom HTTP headers for an Amplify app.
sourcepub fn enable_auto_branch_creation(self, input: bool) -> Self
pub fn enable_auto_branch_creation(self, input: bool) -> Self
Enables automated branch creation for an Amplify app.
sourcepub fn set_enable_auto_branch_creation(self, input: Option<bool>) -> Self
pub fn set_enable_auto_branch_creation(self, input: Option<bool>) -> Self
Enables automated branch creation for an Amplify app.
sourcepub fn auto_branch_creation_patterns(self, input: impl Into<String>) -> Self
pub fn auto_branch_creation_patterns(self, input: impl Into<String>) -> Self
Appends an item to auto_branch_creation_patterns
.
To override the contents of this collection use set_auto_branch_creation_patterns
.
Describes the automated branch creation glob patterns for an Amplify app.
sourcepub fn set_auto_branch_creation_patterns(
self,
input: Option<Vec<String>>
) -> Self
pub fn set_auto_branch_creation_patterns(
self,
input: Option<Vec<String>>
) -> Self
Describes the automated branch creation glob patterns for an Amplify app.
sourcepub fn auto_branch_creation_config(
self,
input: AutoBranchCreationConfig
) -> Self
pub fn auto_branch_creation_config(
self,
input: AutoBranchCreationConfig
) -> Self
The automated branch creation configuration for an Amplify app.
sourcepub fn set_auto_branch_creation_config(
self,
input: Option<AutoBranchCreationConfig>
) -> Self
pub fn set_auto_branch_creation_config(
self,
input: Option<AutoBranchCreationConfig>
) -> Self
The automated branch creation configuration for an Amplify app.
sourcepub fn repository(self, input: impl Into<String>) -> Self
pub fn repository(self, input: impl Into<String>) -> Self
The name of the repository for an Amplify app
sourcepub fn set_repository(self, input: Option<String>) -> Self
pub fn set_repository(self, input: Option<String>) -> Self
The name of the repository for an Amplify app
sourcepub fn oauth_token(self, input: impl Into<String>) -> Self
pub fn oauth_token(self, input: impl Into<String>) -> Self
The OAuth token for a third-party source control system for an Amplify app. The token is used to create a webhook and a read-only deploy key. The OAuth token is not stored.
sourcepub fn set_oauth_token(self, input: Option<String>) -> Self
pub fn set_oauth_token(self, input: Option<String>) -> Self
The OAuth token for a third-party source control system for an Amplify app. The token is used to create a webhook and a read-only deploy key. The OAuth token is not stored.
sourcepub fn access_token(self, input: impl Into<String>) -> Self
pub fn access_token(self, input: impl Into<String>) -> Self
The personal access token for a third-party source control system for an Amplify app. The token is used to create webhook and a read-only deploy key. The token is not stored.
sourcepub fn set_access_token(self, input: Option<String>) -> Self
pub fn set_access_token(self, input: Option<String>) -> Self
The personal access token for a third-party source control system for an Amplify app. The token is used to create webhook and a read-only deploy key. The token is not stored.
sourcepub fn build(self) -> Result<UpdateAppInput, BuildError>
pub fn build(self) -> Result<UpdateAppInput, BuildError>
Consumes the builder and constructs a UpdateAppInput
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more