Struct aws_sdk_redshift::operation::revoke_cluster_security_group_ingress::builders::RevokeClusterSecurityGroupIngressInputBuilder
source · #[non_exhaustive]pub struct RevokeClusterSecurityGroupIngressInputBuilder { /* private fields */ }Expand description
A builder for RevokeClusterSecurityGroupIngressInput.
Implementations§
source§impl RevokeClusterSecurityGroupIngressInputBuilder
impl RevokeClusterSecurityGroupIngressInputBuilder
sourcepub fn cluster_security_group_name(self, input: impl Into<String>) -> Self
pub fn cluster_security_group_name(self, input: impl Into<String>) -> Self
The name of the security Group from which to revoke the ingress rule.
sourcepub fn set_cluster_security_group_name(self, input: Option<String>) -> Self
pub fn set_cluster_security_group_name(self, input: Option<String>) -> Self
The name of the security Group from which to revoke the ingress rule.
sourcepub fn get_cluster_security_group_name(&self) -> &Option<String>
pub fn get_cluster_security_group_name(&self) -> &Option<String>
The name of the security Group from which to revoke the ingress rule.
sourcepub fn cidrip(self, input: impl Into<String>) -> Self
pub fn cidrip(self, input: impl Into<String>) -> Self
The IP range for which to revoke access. This range must be a valid Classless Inter-Domain Routing (CIDR) block of IP addresses. If CIDRIP is specified, EC2SecurityGroupName and EC2SecurityGroupOwnerId cannot be provided.
sourcepub fn set_cidrip(self, input: Option<String>) -> Self
pub fn set_cidrip(self, input: Option<String>) -> Self
The IP range for which to revoke access. This range must be a valid Classless Inter-Domain Routing (CIDR) block of IP addresses. If CIDRIP is specified, EC2SecurityGroupName and EC2SecurityGroupOwnerId cannot be provided.
sourcepub fn get_cidrip(&self) -> &Option<String>
pub fn get_cidrip(&self) -> &Option<String>
The IP range for which to revoke access. This range must be a valid Classless Inter-Domain Routing (CIDR) block of IP addresses. If CIDRIP is specified, EC2SecurityGroupName and EC2SecurityGroupOwnerId cannot be provided.
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 EC2 Security Group whose access is to be revoked. If EC2SecurityGroupName is specified, EC2SecurityGroupOwnerId must also be provided and CIDRIP cannot be provided.
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 EC2 Security Group whose access is to be revoked. If EC2SecurityGroupName is specified, EC2SecurityGroupOwnerId must also be provided and CIDRIP cannot be provided.
sourcepub fn get_ec2_security_group_name(&self) -> &Option<String>
pub fn get_ec2_security_group_name(&self) -> &Option<String>
The name of the EC2 Security Group whose access is to be revoked. If EC2SecurityGroupName is specified, EC2SecurityGroupOwnerId must also be provided and CIDRIP cannot be provided.
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 Web Services account number of the owner of the security group specified in the EC2SecurityGroupName parameter. The Amazon Web Services access key ID is not an acceptable value. If EC2SecurityGroupOwnerId is specified, EC2SecurityGroupName must also be provided. and CIDRIP cannot be provided.
Example: 111122223333
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 Web Services account number of the owner of the security group specified in the EC2SecurityGroupName parameter. The Amazon Web Services access key ID is not an acceptable value. If EC2SecurityGroupOwnerId is specified, EC2SecurityGroupName must also be provided. and CIDRIP cannot be provided.
Example: 111122223333
sourcepub fn get_ec2_security_group_owner_id(&self) -> &Option<String>
pub fn get_ec2_security_group_owner_id(&self) -> &Option<String>
The Amazon Web Services account number of the owner of the security group specified in the EC2SecurityGroupName parameter. The Amazon Web Services access key ID is not an acceptable value. If EC2SecurityGroupOwnerId is specified, EC2SecurityGroupName must also be provided. and CIDRIP cannot be provided.
Example: 111122223333
sourcepub fn build(self) -> Result<RevokeClusterSecurityGroupIngressInput, BuildError>
pub fn build(self) -> Result<RevokeClusterSecurityGroupIngressInput, BuildError>
Consumes the builder and constructs a RevokeClusterSecurityGroupIngressInput.
source§impl RevokeClusterSecurityGroupIngressInputBuilder
impl RevokeClusterSecurityGroupIngressInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<RevokeClusterSecurityGroupIngressOutput, SdkError<RevokeClusterSecurityGroupIngressError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<RevokeClusterSecurityGroupIngressOutput, SdkError<RevokeClusterSecurityGroupIngressError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for RevokeClusterSecurityGroupIngressInputBuilder
impl Clone for RevokeClusterSecurityGroupIngressInputBuilder
source§fn clone(&self) -> RevokeClusterSecurityGroupIngressInputBuilder
fn clone(&self) -> RevokeClusterSecurityGroupIngressInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for RevokeClusterSecurityGroupIngressInputBuilder
impl Default for RevokeClusterSecurityGroupIngressInputBuilder
source§fn default() -> RevokeClusterSecurityGroupIngressInputBuilder
fn default() -> RevokeClusterSecurityGroupIngressInputBuilder
source§impl PartialEq<RevokeClusterSecurityGroupIngressInputBuilder> for RevokeClusterSecurityGroupIngressInputBuilder
impl PartialEq<RevokeClusterSecurityGroupIngressInputBuilder> for RevokeClusterSecurityGroupIngressInputBuilder
source§fn eq(&self, other: &RevokeClusterSecurityGroupIngressInputBuilder) -> bool
fn eq(&self, other: &RevokeClusterSecurityGroupIngressInputBuilder) -> bool
self and other values to be equal, and is used
by ==.