Struct aws_sdk_apigateway::input::get_model_input::Builder
source · [−]pub struct Builder { /* private fields */ }Expand description
A builder for GetModelInput.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn rest_api_id(self, input: impl Into<String>) -> Self
pub fn rest_api_id(self, input: impl Into<String>) -> Self
The RestApi identifier under which the Model exists.
sourcepub fn set_rest_api_id(self, input: Option<String>) -> Self
pub fn set_rest_api_id(self, input: Option<String>) -> Self
The RestApi identifier under which the Model exists.
sourcepub fn model_name(self, input: impl Into<String>) -> Self
pub fn model_name(self, input: impl Into<String>) -> Self
The name of the model as an identifier.
sourcepub fn set_model_name(self, input: Option<String>) -> Self
pub fn set_model_name(self, input: Option<String>) -> Self
The name of the model as an identifier.
sourcepub fn flatten(self, input: bool) -> Self
pub fn flatten(self, input: bool) -> Self
A query parameter of a Boolean value to resolve (true) all external model references and returns a flattened model schema or not (false) The default is false.
sourcepub fn set_flatten(self, input: Option<bool>) -> Self
pub fn set_flatten(self, input: Option<bool>) -> Self
A query parameter of a Boolean value to resolve (true) all external model references and returns a flattened model schema or not (false) The default is false.
sourcepub fn build(self) -> Result<GetModelInput, BuildError>
pub fn build(self) -> Result<GetModelInput, BuildError>
Consumes the builder and constructs a GetModelInput.
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more