Struct aws_sdk_apigateway::types::builders::MethodSnapshotBuilder
source · #[non_exhaustive]pub struct MethodSnapshotBuilder { /* private fields */ }Expand description
A builder for MethodSnapshot.
Implementations§
source§impl MethodSnapshotBuilder
impl MethodSnapshotBuilder
The method's authorization type. Valid values are NONE for open access, AWS_IAM for using AWS IAM permissions, CUSTOM for using a custom authorizer, or COGNITO_USER_POOLS for using a Cognito user pool.
The method's authorization type. Valid values are NONE for open access, AWS_IAM for using AWS IAM permissions, CUSTOM for using a custom authorizer, or COGNITO_USER_POOLS for using a Cognito user pool.
The method's authorization type. Valid values are NONE for open access, AWS_IAM for using AWS IAM permissions, CUSTOM for using a custom authorizer, or COGNITO_USER_POOLS for using a Cognito user pool.
sourcepub fn api_key_required(self, input: bool) -> Self
pub fn api_key_required(self, input: bool) -> Self
Specifies whether the method requires a valid ApiKey.
sourcepub fn set_api_key_required(self, input: Option<bool>) -> Self
pub fn set_api_key_required(self, input: Option<bool>) -> Self
Specifies whether the method requires a valid ApiKey.
sourcepub fn get_api_key_required(&self) -> &Option<bool>
pub fn get_api_key_required(&self) -> &Option<bool>
Specifies whether the method requires a valid ApiKey.
sourcepub fn build(self) -> MethodSnapshot
pub fn build(self) -> MethodSnapshot
Consumes the builder and constructs a MethodSnapshot.
Trait Implementations§
source§impl Clone for MethodSnapshotBuilder
impl Clone for MethodSnapshotBuilder
source§fn clone(&self) -> MethodSnapshotBuilder
fn clone(&self) -> MethodSnapshotBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for MethodSnapshotBuilder
impl Debug for MethodSnapshotBuilder
source§impl Default for MethodSnapshotBuilder
impl Default for MethodSnapshotBuilder
source§fn default() -> MethodSnapshotBuilder
fn default() -> MethodSnapshotBuilder
source§impl PartialEq for MethodSnapshotBuilder
impl PartialEq for MethodSnapshotBuilder
impl StructuralPartialEq for MethodSnapshotBuilder
Auto Trait Implementations§
impl Freeze for MethodSnapshotBuilder
impl RefUnwindSafe for MethodSnapshotBuilder
impl Send for MethodSnapshotBuilder
impl Sync for MethodSnapshotBuilder
impl Unpin for MethodSnapshotBuilder
impl UnwindSafe for MethodSnapshotBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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>
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>
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 more