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<GetSdkOutputBuilder> for GetSdkOutputBuilder
impl PartialEq<GetSdkOutputBuilder> 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 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