#[non_exhaustive]pub struct GetFunctionOutputBuilder { /* private fields */ }
Expand description
A builder for GetFunctionOutput
.
Implementations§
source§impl GetFunctionOutputBuilder
impl GetFunctionOutputBuilder
sourcepub fn function_code(self, input: Blob) -> Self
pub fn function_code(self, input: Blob) -> Self
The function code of a CloudFront function.
sourcepub fn set_function_code(self, input: Option<Blob>) -> Self
pub fn set_function_code(self, input: Option<Blob>) -> Self
The function code of a CloudFront function.
sourcepub fn get_function_code(&self) -> &Option<Blob>
pub fn get_function_code(&self) -> &Option<Blob>
The function code of a CloudFront function.
sourcepub fn e_tag(self, input: impl Into<String>) -> Self
pub fn e_tag(self, input: impl Into<String>) -> Self
The version identifier for the current version of the CloudFront function.
sourcepub fn set_e_tag(self, input: Option<String>) -> Self
pub fn set_e_tag(self, input: Option<String>) -> Self
The version identifier for the current version of the CloudFront function.
sourcepub fn get_e_tag(&self) -> &Option<String>
pub fn get_e_tag(&self) -> &Option<String>
The version identifier for the current version of the CloudFront function.
sourcepub fn content_type(self, input: impl Into<String>) -> Self
pub fn content_type(self, input: impl Into<String>) -> Self
The content type (media type) of the response.
sourcepub fn set_content_type(self, input: Option<String>) -> Self
pub fn set_content_type(self, input: Option<String>) -> Self
The content type (media type) of the response.
sourcepub fn get_content_type(&self) -> &Option<String>
pub fn get_content_type(&self) -> &Option<String>
The content type (media type) of the response.
sourcepub fn build(self) -> GetFunctionOutput
pub fn build(self) -> GetFunctionOutput
Consumes the builder and constructs a GetFunctionOutput
.
Trait Implementations§
source§impl Clone for GetFunctionOutputBuilder
impl Clone for GetFunctionOutputBuilder
source§fn clone(&self) -> GetFunctionOutputBuilder
fn clone(&self) -> GetFunctionOutputBuilder
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 Debug for GetFunctionOutputBuilder
impl Debug for GetFunctionOutputBuilder
source§impl Default for GetFunctionOutputBuilder
impl Default for GetFunctionOutputBuilder
source§fn default() -> GetFunctionOutputBuilder
fn default() -> GetFunctionOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetFunctionOutputBuilder
impl PartialEq for GetFunctionOutputBuilder
source§fn eq(&self, other: &GetFunctionOutputBuilder) -> bool
fn eq(&self, other: &GetFunctionOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetFunctionOutputBuilder
Auto Trait Implementations§
impl Freeze for GetFunctionOutputBuilder
impl RefUnwindSafe for GetFunctionOutputBuilder
impl Send for GetFunctionOutputBuilder
impl Sync for GetFunctionOutputBuilder
impl Unpin for GetFunctionOutputBuilder
impl UnwindSafe for GetFunctionOutputBuilder
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
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.