#[non_exhaustive]pub struct GetProfileOutputBuilder { /* private fields */ }
Expand description
A builder for GetProfileOutput
.
Implementations§
source§impl GetProfileOutputBuilder
impl GetProfileOutputBuilder
sourcepub fn set_profile(self, input: Option<Blob>) -> Self
pub fn set_profile(self, input: Option<Blob>) -> Self
Information about the profile.
sourcepub fn content_type(self, input: impl Into<String>) -> Self
pub fn content_type(self, input: impl Into<String>) -> Self
The content type of the profile in the payload. It is either application/json
or the default application/x-amzn-ion
.
sourcepub fn set_content_type(self, input: Option<String>) -> Self
pub fn set_content_type(self, input: Option<String>) -> Self
The content type of the profile in the payload. It is either application/json
or the default application/x-amzn-ion
.
sourcepub fn content_encoding(self, input: impl Into<String>) -> Self
pub fn content_encoding(self, input: impl Into<String>) -> Self
The content encoding of the profile.
sourcepub fn set_content_encoding(self, input: Option<String>) -> Self
pub fn set_content_encoding(self, input: Option<String>) -> Self
The content encoding of the profile.
sourcepub fn build(self) -> GetProfileOutput
pub fn build(self) -> GetProfileOutput
Consumes the builder and constructs a GetProfileOutput
.
Trait Implementations§
source§impl Clone for GetProfileOutputBuilder
impl Clone for GetProfileOutputBuilder
source§fn clone(&self) -> GetProfileOutputBuilder
fn clone(&self) -> GetProfileOutputBuilder
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 GetProfileOutputBuilder
impl Debug for GetProfileOutputBuilder
source§impl Default for GetProfileOutputBuilder
impl Default for GetProfileOutputBuilder
source§fn default() -> GetProfileOutputBuilder
fn default() -> GetProfileOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<GetProfileOutputBuilder> for GetProfileOutputBuilder
impl PartialEq<GetProfileOutputBuilder> for GetProfileOutputBuilder
source§fn eq(&self, other: &GetProfileOutputBuilder) -> bool
fn eq(&self, other: &GetProfileOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.