pub struct UpdateStageFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateStage
.
Updates a Stage.
Implementations§
source§impl UpdateStageFluentBuilder
impl UpdateStageFluentBuilder
sourcepub fn as_input(&self) -> &UpdateStageInputBuilder
pub fn as_input(&self) -> &UpdateStageInputBuilder
Access the UpdateStage as a reference.
sourcepub async fn send(
self
) -> Result<UpdateStageOutput, SdkError<UpdateStageError, HttpResponse>>
pub async fn send( self ) -> Result<UpdateStageOutput, SdkError<UpdateStageError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<UpdateStageOutput, UpdateStageError, Self>
pub fn customize( self ) -> CustomizableOperation<UpdateStageOutput, UpdateStageError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn access_log_settings(self, input: AccessLogSettings) -> Self
pub fn access_log_settings(self, input: AccessLogSettings) -> Self
Settings for logging access in this stage.
sourcepub fn set_access_log_settings(self, input: Option<AccessLogSettings>) -> Self
pub fn set_access_log_settings(self, input: Option<AccessLogSettings>) -> Self
Settings for logging access in this stage.
sourcepub fn get_access_log_settings(&self) -> &Option<AccessLogSettings>
pub fn get_access_log_settings(&self) -> &Option<AccessLogSettings>
Settings for logging access in this stage.
sourcepub fn set_api_id(self, input: Option<String>) -> Self
pub fn set_api_id(self, input: Option<String>) -> Self
The API identifier.
sourcepub fn get_api_id(&self) -> &Option<String>
pub fn get_api_id(&self) -> &Option<String>
The API identifier.
sourcepub fn auto_deploy(self, input: bool) -> Self
pub fn auto_deploy(self, input: bool) -> Self
Specifies whether updates to an API automatically trigger a new deployment. The default value is false.
sourcepub fn set_auto_deploy(self, input: Option<bool>) -> Self
pub fn set_auto_deploy(self, input: Option<bool>) -> Self
Specifies whether updates to an API automatically trigger a new deployment. The default value is false.
sourcepub fn get_auto_deploy(&self) -> &Option<bool>
pub fn get_auto_deploy(&self) -> &Option<bool>
Specifies whether updates to an API automatically trigger a new deployment. The default value is false.
sourcepub fn client_certificate_id(self, input: impl Into<String>) -> Self
pub fn client_certificate_id(self, input: impl Into<String>) -> Self
The identifier of a client certificate for a Stage.
sourcepub fn set_client_certificate_id(self, input: Option<String>) -> Self
pub fn set_client_certificate_id(self, input: Option<String>) -> Self
The identifier of a client certificate for a Stage.
sourcepub fn get_client_certificate_id(&self) -> &Option<String>
pub fn get_client_certificate_id(&self) -> &Option<String>
The identifier of a client certificate for a Stage.
sourcepub fn default_route_settings(self, input: RouteSettings) -> Self
pub fn default_route_settings(self, input: RouteSettings) -> Self
The default route settings for the stage.
sourcepub fn set_default_route_settings(self, input: Option<RouteSettings>) -> Self
pub fn set_default_route_settings(self, input: Option<RouteSettings>) -> Self
The default route settings for the stage.
sourcepub fn get_default_route_settings(&self) -> &Option<RouteSettings>
pub fn get_default_route_settings(&self) -> &Option<RouteSettings>
The default route settings for the stage.
sourcepub fn deployment_id(self, input: impl Into<String>) -> Self
pub fn deployment_id(self, input: impl Into<String>) -> Self
The deployment identifier for the API stage. Can't be updated if autoDeploy is enabled.
sourcepub fn set_deployment_id(self, input: Option<String>) -> Self
pub fn set_deployment_id(self, input: Option<String>) -> Self
The deployment identifier for the API stage. Can't be updated if autoDeploy is enabled.
sourcepub fn get_deployment_id(&self) -> &Option<String>
pub fn get_deployment_id(&self) -> &Option<String>
The deployment identifier for the API stage. Can't be updated if autoDeploy is enabled.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description for the API stage.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description for the API stage.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description for the API stage.
sourcepub fn route_settings(self, k: impl Into<String>, v: RouteSettings) -> Self
pub fn route_settings(self, k: impl Into<String>, v: RouteSettings) -> Self
Adds a key-value pair to RouteSettings
.
To override the contents of this collection use set_route_settings
.
Route settings for the stage.
sourcepub fn set_route_settings(
self,
input: Option<HashMap<String, RouteSettings>>
) -> Self
pub fn set_route_settings( self, input: Option<HashMap<String, RouteSettings>> ) -> Self
Route settings for the stage.
sourcepub fn get_route_settings(&self) -> &Option<HashMap<String, RouteSettings>>
pub fn get_route_settings(&self) -> &Option<HashMap<String, RouteSettings>>
Route settings for the stage.
sourcepub fn stage_name(self, input: impl Into<String>) -> Self
pub fn stage_name(self, input: impl Into<String>) -> Self
The stage name. Stage names can contain only alphanumeric characters, hyphens, and underscores, or be $default. Maximum length is 128 characters.
sourcepub fn set_stage_name(self, input: Option<String>) -> Self
pub fn set_stage_name(self, input: Option<String>) -> Self
The stage name. Stage names can contain only alphanumeric characters, hyphens, and underscores, or be $default. Maximum length is 128 characters.
sourcepub fn get_stage_name(&self) -> &Option<String>
pub fn get_stage_name(&self) -> &Option<String>
The stage name. Stage names can contain only alphanumeric characters, hyphens, and underscores, or be $default. Maximum length is 128 characters.
sourcepub fn stage_variables(self, k: impl Into<String>, v: impl Into<String>) -> Self
pub fn stage_variables(self, k: impl Into<String>, v: impl Into<String>) -> Self
Adds a key-value pair to StageVariables
.
To override the contents of this collection use set_stage_variables
.
A map that defines the stage variables for a Stage. Variable names can have alphanumeric and underscore characters, and the values must match [A-Za-z0-9-._~:/?#&=,]+.
Trait Implementations§
source§impl Clone for UpdateStageFluentBuilder
impl Clone for UpdateStageFluentBuilder
source§fn clone(&self) -> UpdateStageFluentBuilder
fn clone(&self) -> UpdateStageFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for UpdateStageFluentBuilder
impl !RefUnwindSafe for UpdateStageFluentBuilder
impl Send for UpdateStageFluentBuilder
impl Sync for UpdateStageFluentBuilder
impl Unpin for UpdateStageFluentBuilder
impl !UnwindSafe for UpdateStageFluentBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more