#[non_exhaustive]pub struct UpdateStageOutputBuilder { /* private fields */ }
Expand description
A builder for UpdateStageOutput
.
Implementations§
source§impl UpdateStageOutputBuilder
impl UpdateStageOutputBuilder
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 api_gateway_managed(self, input: bool) -> Self
pub fn api_gateway_managed(self, input: bool) -> Self
Specifies whether a stage is managed by API Gateway. If you created an API using quick create, the $default stage is managed by API Gateway. You can't modify the $default stage.
sourcepub fn set_api_gateway_managed(self, input: Option<bool>) -> Self
pub fn set_api_gateway_managed(self, input: Option<bool>) -> Self
Specifies whether a stage is managed by API Gateway. If you created an API using quick create, the $default stage is managed by API Gateway. You can't modify the $default stage.
sourcepub fn get_api_gateway_managed(&self) -> &Option<bool>
pub fn get_api_gateway_managed(&self) -> &Option<bool>
Specifies whether a stage is managed by API Gateway. If you created an API using quick create, the $default stage is managed by API Gateway. You can't modify the $default stage.
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. Supported only for WebSocket APIs.
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. Supported only for WebSocket APIs.
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. Supported only for WebSocket APIs.
sourcepub fn created_date(self, input: DateTime) -> Self
pub fn created_date(self, input: DateTime) -> Self
The timestamp when the stage was created.
sourcepub fn set_created_date(self, input: Option<DateTime>) -> Self
pub fn set_created_date(self, input: Option<DateTime>) -> Self
The timestamp when the stage was created.
sourcepub fn get_created_date(&self) -> &Option<DateTime>
pub fn get_created_date(&self) -> &Option<DateTime>
The timestamp when the stage was created.
sourcepub fn default_route_settings(self, input: RouteSettings) -> Self
pub fn default_route_settings(self, input: RouteSettings) -> Self
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
Default route settings for the stage.
sourcepub fn get_default_route_settings(&self) -> &Option<RouteSettings>
pub fn get_default_route_settings(&self) -> &Option<RouteSettings>
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 identifier of the Deployment that the Stage is associated with. 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 identifier of the Deployment that the Stage is associated with. 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 identifier of the Deployment that the Stage is associated with. 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 of the stage.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the stage.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the stage.
sourcepub fn last_deployment_status_message(self, input: impl Into<String>) -> Self
pub fn last_deployment_status_message(self, input: impl Into<String>) -> Self
Describes the status of the last deployment of a stage. Supported only for stages with autoDeploy enabled.
sourcepub fn set_last_deployment_status_message(self, input: Option<String>) -> Self
pub fn set_last_deployment_status_message(self, input: Option<String>) -> Self
Describes the status of the last deployment of a stage. Supported only for stages with autoDeploy enabled.
sourcepub fn get_last_deployment_status_message(&self) -> &Option<String>
pub fn get_last_deployment_status_message(&self) -> &Option<String>
Describes the status of the last deployment of a stage. Supported only for stages with autoDeploy enabled.
sourcepub fn last_updated_date(self, input: DateTime) -> Self
pub fn last_updated_date(self, input: DateTime) -> Self
The timestamp when the stage was last updated.
sourcepub fn set_last_updated_date(self, input: Option<DateTime>) -> Self
pub fn set_last_updated_date(self, input: Option<DateTime>) -> Self
The timestamp when the stage was last updated.
sourcepub fn get_last_updated_date(&self) -> &Option<DateTime>
pub fn get_last_updated_date(&self) -> &Option<DateTime>
The timestamp when the stage was last updated.
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 route_settings
.
To override the contents of this collection use set_route_settings
.
Route settings for the stage, by routeKey.
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, by routeKey.
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, by routeKey.
sourcepub fn stage_name(self, input: impl Into<String>) -> Self
pub fn stage_name(self, input: impl Into<String>) -> Self
The name of the stage.
sourcepub fn set_stage_name(self, input: Option<String>) -> Self
pub fn set_stage_name(self, input: Option<String>) -> Self
The name of the stage.
sourcepub fn get_stage_name(&self) -> &Option<String>
pub fn get_stage_name(&self) -> &Option<String>
The name of the stage.
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 stage_variables
.
To override the contents of this collection use set_stage_variables
.
A map that defines the stage variables for a stage resource. Variable names can have alphanumeric and underscore characters, and the values must match [A-Za-z0-9-._~:/?#&=,]+.
sourcepub fn set_stage_variables(self, input: Option<HashMap<String, String>>) -> Self
pub fn set_stage_variables(self, input: Option<HashMap<String, String>>) -> Self
A map that defines the stage variables for a stage resource. Variable names can have alphanumeric and underscore characters, and the values must match [A-Za-z0-9-._~:/?#&=,]+.
sourcepub fn get_stage_variables(&self) -> &Option<HashMap<String, String>>
pub fn get_stage_variables(&self) -> &Option<HashMap<String, String>>
A map that defines the stage variables for a stage resource. Variable names can have alphanumeric and underscore characters, and the values must match [A-Za-z0-9-._~:/?#&=,]+.
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
The collection of tags. Each tag element is associated with a given resource.
The collection of tags. Each tag element is associated with a given resource.
The collection of tags. Each tag element is associated with a given resource.
sourcepub fn build(self) -> UpdateStageOutput
pub fn build(self) -> UpdateStageOutput
Consumes the builder and constructs a UpdateStageOutput
.
Trait Implementations§
source§impl Clone for UpdateStageOutputBuilder
impl Clone for UpdateStageOutputBuilder
source§fn clone(&self) -> UpdateStageOutputBuilder
fn clone(&self) -> UpdateStageOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateStageOutputBuilder
impl Debug for UpdateStageOutputBuilder
source§impl Default for UpdateStageOutputBuilder
impl Default for UpdateStageOutputBuilder
source§fn default() -> UpdateStageOutputBuilder
fn default() -> UpdateStageOutputBuilder
source§impl PartialEq for UpdateStageOutputBuilder
impl PartialEq for UpdateStageOutputBuilder
source§fn eq(&self, other: &UpdateStageOutputBuilder) -> bool
fn eq(&self, other: &UpdateStageOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateStageOutputBuilder
Auto Trait Implementations§
impl Freeze for UpdateStageOutputBuilder
impl RefUnwindSafe for UpdateStageOutputBuilder
impl Send for UpdateStageOutputBuilder
impl Sync for UpdateStageOutputBuilder
impl Unpin for UpdateStageOutputBuilder
impl UnwindSafe for UpdateStageOutputBuilder
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