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.
This field is required.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 id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The streaming distribution's id.
This field is required.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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for UpdateStreamingDistributionInputBuilder
impl Default for UpdateStreamingDistributionInputBuilder
source§fn default() -> UpdateStreamingDistributionInputBuilder
fn default() -> UpdateStreamingDistributionInputBuilder
source§impl PartialEq for UpdateStreamingDistributionInputBuilder
impl PartialEq for UpdateStreamingDistributionInputBuilder
source§fn eq(&self, other: &UpdateStreamingDistributionInputBuilder) -> bool
fn eq(&self, other: &UpdateStreamingDistributionInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdateStreamingDistributionInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateStreamingDistributionInputBuilder
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
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