Struct aws_sdk_appconfigdata::operation::get_latest_configuration::builders::GetLatestConfigurationOutputBuilder
source · #[non_exhaustive]pub struct GetLatestConfigurationOutputBuilder { /* private fields */ }
Expand description
A builder for GetLatestConfigurationOutput
.
Implementations§
source§impl GetLatestConfigurationOutputBuilder
impl GetLatestConfigurationOutputBuilder
sourcepub fn next_poll_configuration_token(self, input: impl Into<String>) -> Self
pub fn next_poll_configuration_token(self, input: impl Into<String>) -> Self
The latest token describing the current state of the configuration session. This must be provided to the next call to GetLatestConfiguration.
This token should only be used once. To support long poll use cases, the token is valid for up to 24 hours. If a GetLatestConfiguration
call uses an expired token, the system returns BadRequestException
.
sourcepub fn set_next_poll_configuration_token(self, input: Option<String>) -> Self
pub fn set_next_poll_configuration_token(self, input: Option<String>) -> Self
The latest token describing the current state of the configuration session. This must be provided to the next call to GetLatestConfiguration.
This token should only be used once. To support long poll use cases, the token is valid for up to 24 hours. If a GetLatestConfiguration
call uses an expired token, the system returns BadRequestException
.
sourcepub fn get_next_poll_configuration_token(&self) -> &Option<String>
pub fn get_next_poll_configuration_token(&self) -> &Option<String>
The latest token describing the current state of the configuration session. This must be provided to the next call to GetLatestConfiguration.
This token should only be used once. To support long poll use cases, the token is valid for up to 24 hours. If a GetLatestConfiguration
call uses an expired token, the system returns BadRequestException
.
sourcepub fn next_poll_interval_in_seconds(self, input: i32) -> Self
pub fn next_poll_interval_in_seconds(self, input: i32) -> Self
The amount of time the client should wait before polling for configuration updates again. Use RequiredMinimumPollIntervalInSeconds
to set the desired poll interval.
sourcepub fn set_next_poll_interval_in_seconds(self, input: Option<i32>) -> Self
pub fn set_next_poll_interval_in_seconds(self, input: Option<i32>) -> Self
The amount of time the client should wait before polling for configuration updates again. Use RequiredMinimumPollIntervalInSeconds
to set the desired poll interval.
sourcepub fn get_next_poll_interval_in_seconds(&self) -> &Option<i32>
pub fn get_next_poll_interval_in_seconds(&self) -> &Option<i32>
The amount of time the client should wait before polling for configuration updates again. Use RequiredMinimumPollIntervalInSeconds
to set the desired poll interval.
sourcepub fn content_type(self, input: impl Into<String>) -> Self
pub fn content_type(self, input: impl Into<String>) -> Self
A standard MIME type describing the format of the configuration content.
sourcepub fn set_content_type(self, input: Option<String>) -> Self
pub fn set_content_type(self, input: Option<String>) -> Self
A standard MIME type describing the format of the configuration content.
sourcepub fn get_content_type(&self) -> &Option<String>
pub fn get_content_type(&self) -> &Option<String>
A standard MIME type describing the format of the configuration content.
sourcepub fn configuration(self, input: Blob) -> Self
pub fn configuration(self, input: Blob) -> Self
The data of the configuration. This may be empty if the client already has the latest version of configuration.
sourcepub fn set_configuration(self, input: Option<Blob>) -> Self
pub fn set_configuration(self, input: Option<Blob>) -> Self
The data of the configuration. This may be empty if the client already has the latest version of configuration.
sourcepub fn get_configuration(&self) -> &Option<Blob>
pub fn get_configuration(&self) -> &Option<Blob>
The data of the configuration. This may be empty if the client already has the latest version of configuration.
sourcepub fn version_label(self, input: impl Into<String>) -> Self
pub fn version_label(self, input: impl Into<String>) -> Self
The user-defined label for the AppConfig hosted configuration version. This attribute doesn't apply if the configuration is not from an AppConfig hosted configuration version. If the client already has the latest version of the configuration data, this value is empty.
sourcepub fn set_version_label(self, input: Option<String>) -> Self
pub fn set_version_label(self, input: Option<String>) -> Self
The user-defined label for the AppConfig hosted configuration version. This attribute doesn't apply if the configuration is not from an AppConfig hosted configuration version. If the client already has the latest version of the configuration data, this value is empty.
sourcepub fn get_version_label(&self) -> &Option<String>
pub fn get_version_label(&self) -> &Option<String>
The user-defined label for the AppConfig hosted configuration version. This attribute doesn't apply if the configuration is not from an AppConfig hosted configuration version. If the client already has the latest version of the configuration data, this value is empty.
sourcepub fn build(self) -> GetLatestConfigurationOutput
pub fn build(self) -> GetLatestConfigurationOutput
Consumes the builder and constructs a GetLatestConfigurationOutput
.
Trait Implementations§
source§impl Clone for GetLatestConfigurationOutputBuilder
impl Clone for GetLatestConfigurationOutputBuilder
source§fn clone(&self) -> GetLatestConfigurationOutputBuilder
fn clone(&self) -> GetLatestConfigurationOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for GetLatestConfigurationOutputBuilder
impl Default for GetLatestConfigurationOutputBuilder
source§fn default() -> GetLatestConfigurationOutputBuilder
fn default() -> GetLatestConfigurationOutputBuilder
source§impl PartialEq for GetLatestConfigurationOutputBuilder
impl PartialEq for GetLatestConfigurationOutputBuilder
source§fn eq(&self, other: &GetLatestConfigurationOutputBuilder) -> bool
fn eq(&self, other: &GetLatestConfigurationOutputBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for GetLatestConfigurationOutputBuilder
Auto Trait Implementations§
impl Freeze for GetLatestConfigurationOutputBuilder
impl RefUnwindSafe for GetLatestConfigurationOutputBuilder
impl Send for GetLatestConfigurationOutputBuilder
impl Sync for GetLatestConfigurationOutputBuilder
impl Unpin for GetLatestConfigurationOutputBuilder
impl UnwindSafe for GetLatestConfigurationOutputBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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