Struct aws_sdk_elasticache::input::authorize_cache_security_group_ingress_input::Builder
source · [−]pub struct Builder { /* private fields */ }Expand description
A builder for AuthorizeCacheSecurityGroupIngressInput.
Implementations
sourceimpl Builder
impl Builder
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 cache security group that allows network ingress.
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 cache security group that allows network ingress.
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 Amazon EC2 security group to be authorized for ingress to the cache security group.
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 Amazon EC2 security group to be authorized for ingress to the cache security group.
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.
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 build(
self
) -> Result<AuthorizeCacheSecurityGroupIngressInput, BuildError>
pub fn build(
self
) -> Result<AuthorizeCacheSecurityGroupIngressInput, BuildError>
Consumes the builder and constructs a AuthorizeCacheSecurityGroupIngressInput.