Struct aws_sdk_apigateway::operation::get_sdk::builders::GetSdkOutputBuilder
source · #[non_exhaustive]pub struct GetSdkOutputBuilder { /* private fields */ }Expand description
A builder for GetSdkOutput.
Implementations§
source§impl GetSdkOutputBuilder
impl GetSdkOutputBuilder
sourcepub fn content_type(self, input: impl Into<String>) -> Self
pub fn content_type(self, input: impl Into<String>) -> Self
The content-type header value in the HTTP response.
sourcepub fn set_content_type(self, input: Option<String>) -> Self
pub fn set_content_type(self, input: Option<String>) -> Self
The content-type header value in the HTTP response.
sourcepub fn get_content_type(&self) -> &Option<String>
pub fn get_content_type(&self) -> &Option<String>
The content-type header value in the HTTP response.
sourcepub fn content_disposition(self, input: impl Into<String>) -> Self
pub fn content_disposition(self, input: impl Into<String>) -> Self
The content-disposition header value in the HTTP response.
sourcepub fn set_content_disposition(self, input: Option<String>) -> Self
pub fn set_content_disposition(self, input: Option<String>) -> Self
The content-disposition header value in the HTTP response.
sourcepub fn get_content_disposition(&self) -> &Option<String>
pub fn get_content_disposition(&self) -> &Option<String>
The content-disposition header value in the HTTP response.
sourcepub fn body(self, input: Blob) -> Self
pub fn body(self, input: Blob) -> Self
The binary blob response to GetSdk, which contains the generated SDK.
sourcepub fn set_body(self, input: Option<Blob>) -> Self
pub fn set_body(self, input: Option<Blob>) -> Self
The binary blob response to GetSdk, which contains the generated SDK.
sourcepub fn get_body(&self) -> &Option<Blob>
pub fn get_body(&self) -> &Option<Blob>
The binary blob response to GetSdk, which contains the generated SDK.
sourcepub fn build(self) -> GetSdkOutput
pub fn build(self) -> GetSdkOutput
Consumes the builder and constructs a GetSdkOutput.
Trait Implementations§
source§impl Clone for GetSdkOutputBuilder
impl Clone for GetSdkOutputBuilder
source§fn clone(&self) -> GetSdkOutputBuilder
fn clone(&self) -> GetSdkOutputBuilder
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 GetSdkOutputBuilder
impl Debug for GetSdkOutputBuilder
source§impl Default for GetSdkOutputBuilder
impl Default for GetSdkOutputBuilder
source§fn default() -> GetSdkOutputBuilder
fn default() -> GetSdkOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetSdkOutputBuilder
impl PartialEq for GetSdkOutputBuilder
source§fn eq(&self, other: &GetSdkOutputBuilder) -> bool
fn eq(&self, other: &GetSdkOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for GetSdkOutputBuilder
Auto Trait Implementations§
impl Freeze for GetSdkOutputBuilder
impl RefUnwindSafe for GetSdkOutputBuilder
impl Send for GetSdkOutputBuilder
impl Sync for GetSdkOutputBuilder
impl Unpin for GetSdkOutputBuilder
impl UnwindSafe for GetSdkOutputBuilder
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.