Struct aws_sdk_appconfig::operation::get_configuration::builders::GetConfigurationOutputBuilder
source · #[non_exhaustive]pub struct GetConfigurationOutputBuilder { /* private fields */ }Expand description
A builder for GetConfigurationOutput.
Implementations§
source§impl GetConfigurationOutputBuilder
impl GetConfigurationOutputBuilder
sourcepub fn content(self, input: Blob) -> Self
pub fn content(self, input: Blob) -> Self
The content of the configuration or the configuration data.
The Content attribute only contains data if the system finds new or updated configuration data. If there is no new or updated data and ClientConfigurationVersion matches the version of the current configuration, AppConfig returns a 204 No Content HTTP response code and the Content value will be empty.
sourcepub fn set_content(self, input: Option<Blob>) -> Self
pub fn set_content(self, input: Option<Blob>) -> Self
The content of the configuration or the configuration data.
The Content attribute only contains data if the system finds new or updated configuration data. If there is no new or updated data and ClientConfigurationVersion matches the version of the current configuration, AppConfig returns a 204 No Content HTTP response code and the Content value will be empty.
sourcepub fn get_content(&self) -> &Option<Blob>
pub fn get_content(&self) -> &Option<Blob>
The content of the configuration or the configuration data.
The Content attribute only contains data if the system finds new or updated configuration data. If there is no new or updated data and ClientConfigurationVersion matches the version of the current configuration, AppConfig returns a 204 No Content HTTP response code and the Content value will be empty.
sourcepub fn configuration_version(self, input: impl Into<String>) -> Self
pub fn configuration_version(self, input: impl Into<String>) -> Self
The configuration version.
sourcepub fn set_configuration_version(self, input: Option<String>) -> Self
pub fn set_configuration_version(self, input: Option<String>) -> Self
The configuration version.
sourcepub fn get_configuration_version(&self) -> &Option<String>
pub fn get_configuration_version(&self) -> &Option<String>
The configuration version.
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. For more information, see Content-Type.
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. For more information, see Content-Type.
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. For more information, see Content-Type.
sourcepub fn build(self) -> GetConfigurationOutput
pub fn build(self) -> GetConfigurationOutput
Consumes the builder and constructs a GetConfigurationOutput.
Trait Implementations§
source§impl Clone for GetConfigurationOutputBuilder
impl Clone for GetConfigurationOutputBuilder
source§fn clone(&self) -> GetConfigurationOutputBuilder
fn clone(&self) -> GetConfigurationOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for GetConfigurationOutputBuilder
impl Default for GetConfigurationOutputBuilder
source§fn default() -> GetConfigurationOutputBuilder
fn default() -> GetConfigurationOutputBuilder
source§impl PartialEq<GetConfigurationOutputBuilder> for GetConfigurationOutputBuilder
impl PartialEq<GetConfigurationOutputBuilder> for GetConfigurationOutputBuilder
source§fn eq(&self, other: &GetConfigurationOutputBuilder) -> bool
fn eq(&self, other: &GetConfigurationOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.