Struct aws_sdk_cloudfront::operation::update_streaming_distribution::builders::UpdateStreamingDistributionInputBuilder
source · #[non_exhaustive]pub struct UpdateStreamingDistributionInputBuilder { /* private fields */ }
Expand description
A builder for UpdateStreamingDistributionInput
.
Implementations§
source§impl UpdateStreamingDistributionInputBuilder
impl UpdateStreamingDistributionInputBuilder
sourcepub fn streaming_distribution_config(
self,
input: StreamingDistributionConfig
) -> Self
pub fn streaming_distribution_config( self, input: StreamingDistributionConfig ) -> Self
The streaming distribution's configuration information.
sourcepub fn set_streaming_distribution_config(
self,
input: Option<StreamingDistributionConfig>
) -> Self
pub fn set_streaming_distribution_config( self, input: Option<StreamingDistributionConfig> ) -> Self
The streaming distribution's configuration information.
sourcepub fn get_streaming_distribution_config(
&self
) -> &Option<StreamingDistributionConfig>
pub fn get_streaming_distribution_config( &self ) -> &Option<StreamingDistributionConfig>
The streaming distribution's configuration information.
sourcepub fn if_match(self, input: impl Into<String>) -> Self
pub fn if_match(self, input: impl Into<String>) -> Self
The value of the ETag
header that you received when retrieving the streaming distribution's configuration. For example: E2QWRUHAPOMQZL
.
sourcepub fn set_if_match(self, input: Option<String>) -> Self
pub fn set_if_match(self, input: Option<String>) -> Self
The value of the ETag
header that you received when retrieving the streaming distribution's configuration. For example: E2QWRUHAPOMQZL
.
sourcepub fn get_if_match(&self) -> &Option<String>
pub fn get_if_match(&self) -> &Option<String>
The value of the ETag
header that you received when retrieving the streaming distribution's configuration. For example: E2QWRUHAPOMQZL
.
sourcepub fn build(self) -> Result<UpdateStreamingDistributionInput, BuildError>
pub fn build(self) -> Result<UpdateStreamingDistributionInput, BuildError>
Consumes the builder and constructs a UpdateStreamingDistributionInput
.
source§impl UpdateStreamingDistributionInputBuilder
impl UpdateStreamingDistributionInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateStreamingDistributionOutput, SdkError<UpdateStreamingDistributionError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateStreamingDistributionOutput, SdkError<UpdateStreamingDistributionError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateStreamingDistributionInputBuilder
impl Clone for UpdateStreamingDistributionInputBuilder
source§fn clone(&self) -> UpdateStreamingDistributionInputBuilder
fn clone(&self) -> UpdateStreamingDistributionInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for UpdateStreamingDistributionInputBuilder
impl Default for UpdateStreamingDistributionInputBuilder
source§fn default() -> UpdateStreamingDistributionInputBuilder
fn default() -> UpdateStreamingDistributionInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<UpdateStreamingDistributionInputBuilder> for UpdateStreamingDistributionInputBuilder
impl PartialEq<UpdateStreamingDistributionInputBuilder> for UpdateStreamingDistributionInputBuilder
source§fn eq(&self, other: &UpdateStreamingDistributionInputBuilder) -> bool
fn eq(&self, other: &UpdateStreamingDistributionInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateStreamingDistributionInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for UpdateStreamingDistributionInputBuilder
impl Send for UpdateStreamingDistributionInputBuilder
impl Sync for UpdateStreamingDistributionInputBuilder
impl Unpin for UpdateStreamingDistributionInputBuilder
impl UnwindSafe for UpdateStreamingDistributionInputBuilder
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
Mutably borrows from an owned value. Read more