Struct aws_sdk_appconfigdata::operation::start_configuration_session::builders::StartConfigurationSessionOutputBuilder
source · #[non_exhaustive]pub struct StartConfigurationSessionOutputBuilder { /* private fields */ }Expand description
A builder for StartConfigurationSessionOutput.
Implementations§
source§impl StartConfigurationSessionOutputBuilder
impl StartConfigurationSessionOutputBuilder
sourcepub fn initial_configuration_token(self, input: impl Into<String>) -> Self
pub fn initial_configuration_token(self, input: impl Into<String>) -> Self
Token encapsulating state about the configuration session. Provide this token to the GetLatestConfiguration API to retrieve configuration data.
This token should only be used once in your first call to GetLatestConfiguration. You must use the new token in the GetLatestConfiguration response (NextPollConfigurationToken) in each subsequent call to GetLatestConfiguration.
The InitialConfigurationToken and NextPollConfigurationToken should only be used once. To support long poll use cases, the tokens are valid for up to 24 hours. If a GetLatestConfiguration call uses an expired token, the system returns BadRequestException.
sourcepub fn set_initial_configuration_token(self, input: Option<String>) -> Self
pub fn set_initial_configuration_token(self, input: Option<String>) -> Self
Token encapsulating state about the configuration session. Provide this token to the GetLatestConfiguration API to retrieve configuration data.
This token should only be used once in your first call to GetLatestConfiguration. You must use the new token in the GetLatestConfiguration response (NextPollConfigurationToken) in each subsequent call to GetLatestConfiguration.
The InitialConfigurationToken and NextPollConfigurationToken should only be used once. To support long poll use cases, the tokens are valid for up to 24 hours. If a GetLatestConfiguration call uses an expired token, the system returns BadRequestException.
sourcepub fn get_initial_configuration_token(&self) -> &Option<String>
pub fn get_initial_configuration_token(&self) -> &Option<String>
Token encapsulating state about the configuration session. Provide this token to the GetLatestConfiguration API to retrieve configuration data.
This token should only be used once in your first call to GetLatestConfiguration. You must use the new token in the GetLatestConfiguration response (NextPollConfigurationToken) in each subsequent call to GetLatestConfiguration.
The InitialConfigurationToken and NextPollConfigurationToken should only be used once. To support long poll use cases, the tokens are valid for up to 24 hours. If a GetLatestConfiguration call uses an expired token, the system returns BadRequestException.
sourcepub fn build(self) -> StartConfigurationSessionOutput
pub fn build(self) -> StartConfigurationSessionOutput
Consumes the builder and constructs a StartConfigurationSessionOutput.
Trait Implementations§
source§impl Clone for StartConfigurationSessionOutputBuilder
impl Clone for StartConfigurationSessionOutputBuilder
source§fn clone(&self) -> StartConfigurationSessionOutputBuilder
fn clone(&self) -> StartConfigurationSessionOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for StartConfigurationSessionOutputBuilder
impl Default for StartConfigurationSessionOutputBuilder
source§fn default() -> StartConfigurationSessionOutputBuilder
fn default() -> StartConfigurationSessionOutputBuilder
source§impl PartialEq for StartConfigurationSessionOutputBuilder
impl PartialEq for StartConfigurationSessionOutputBuilder
source§fn eq(&self, other: &StartConfigurationSessionOutputBuilder) -> bool
fn eq(&self, other: &StartConfigurationSessionOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.