Struct aws_sdk_elasticache::operation::revoke_cache_security_group_ingress::builders::RevokeCacheSecurityGroupIngressInputBuilder
source · #[non_exhaustive]pub struct RevokeCacheSecurityGroupIngressInputBuilder { /* private fields */ }
Expand description
A builder for RevokeCacheSecurityGroupIngressInput
.
Implementations§
source§impl RevokeCacheSecurityGroupIngressInputBuilder
impl RevokeCacheSecurityGroupIngressInputBuilder
sourcepub fn cache_security_group_name(self, input: impl Into<String>) -> Self
pub fn cache_security_group_name(self, input: impl Into<String>) -> Self
The name of the cache security group to revoke ingress from.
This field is required.sourcepub fn set_cache_security_group_name(self, input: Option<String>) -> Self
pub fn set_cache_security_group_name(self, input: Option<String>) -> Self
The name of the cache security group to revoke ingress from.
sourcepub fn get_cache_security_group_name(&self) -> &Option<String>
pub fn get_cache_security_group_name(&self) -> &Option<String>
The name of the cache security group to revoke ingress from.
sourcepub fn ec2_security_group_name(self, input: impl Into<String>) -> Self
pub fn ec2_security_group_name(self, input: impl Into<String>) -> Self
The name of the Amazon EC2 security group to revoke access from.
This field is required.sourcepub fn set_ec2_security_group_name(self, input: Option<String>) -> Self
pub fn set_ec2_security_group_name(self, input: Option<String>) -> Self
The name of the Amazon EC2 security group to revoke access from.
sourcepub fn get_ec2_security_group_name(&self) -> &Option<String>
pub fn get_ec2_security_group_name(&self) -> &Option<String>
The name of the Amazon EC2 security group to revoke access from.
sourcepub fn ec2_security_group_owner_id(self, input: impl Into<String>) -> Self
pub fn ec2_security_group_owner_id(self, input: impl Into<String>) -> Self
The Amazon account number of the Amazon EC2 security group owner. Note that this is not the same thing as an Amazon access key ID - you must provide a valid Amazon account number for this parameter.
This field is required.sourcepub fn set_ec2_security_group_owner_id(self, input: Option<String>) -> Self
pub fn set_ec2_security_group_owner_id(self, input: Option<String>) -> Self
The Amazon account number of the Amazon EC2 security group owner. Note that this is not the same thing as an Amazon access key ID - you must provide a valid Amazon account number for this parameter.
sourcepub fn get_ec2_security_group_owner_id(&self) -> &Option<String>
pub fn get_ec2_security_group_owner_id(&self) -> &Option<String>
The Amazon account number of the Amazon EC2 security group owner. Note that this is not the same thing as an Amazon access key ID - you must provide a valid Amazon account number for this parameter.
sourcepub fn build(self) -> Result<RevokeCacheSecurityGroupIngressInput, BuildError>
pub fn build(self) -> Result<RevokeCacheSecurityGroupIngressInput, BuildError>
Consumes the builder and constructs a RevokeCacheSecurityGroupIngressInput
.
source§impl RevokeCacheSecurityGroupIngressInputBuilder
impl RevokeCacheSecurityGroupIngressInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<RevokeCacheSecurityGroupIngressOutput, SdkError<RevokeCacheSecurityGroupIngressError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<RevokeCacheSecurityGroupIngressOutput, SdkError<RevokeCacheSecurityGroupIngressError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for RevokeCacheSecurityGroupIngressInputBuilder
impl Clone for RevokeCacheSecurityGroupIngressInputBuilder
source§fn clone(&self) -> RevokeCacheSecurityGroupIngressInputBuilder
fn clone(&self) -> RevokeCacheSecurityGroupIngressInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for RevokeCacheSecurityGroupIngressInputBuilder
impl Default for RevokeCacheSecurityGroupIngressInputBuilder
source§fn default() -> RevokeCacheSecurityGroupIngressInputBuilder
fn default() -> RevokeCacheSecurityGroupIngressInputBuilder
source§impl PartialEq for RevokeCacheSecurityGroupIngressInputBuilder
impl PartialEq for RevokeCacheSecurityGroupIngressInputBuilder
source§fn eq(&self, other: &RevokeCacheSecurityGroupIngressInputBuilder) -> bool
fn eq(&self, other: &RevokeCacheSecurityGroupIngressInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RevokeCacheSecurityGroupIngressInputBuilder
Auto Trait Implementations§
impl Freeze for RevokeCacheSecurityGroupIngressInputBuilder
impl RefUnwindSafe for RevokeCacheSecurityGroupIngressInputBuilder
impl Send for RevokeCacheSecurityGroupIngressInputBuilder
impl Sync for RevokeCacheSecurityGroupIngressInputBuilder
impl Unpin for RevokeCacheSecurityGroupIngressInputBuilder
impl UnwindSafe for RevokeCacheSecurityGroupIngressInputBuilder
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default 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