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<MethodSnapshotBuilder> for MethodSnapshotBuilder
impl PartialEq<MethodSnapshotBuilder> for MethodSnapshotBuilder
source§fn eq(&self, other: &MethodSnapshotBuilder) -> bool
fn eq(&self, other: &MethodSnapshotBuilder) -> bool
self and other values to be equal, and is used
by ==.