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 ==
.