Interface RevokeClusterSecurityGroupIngressRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<RevokeClusterSecurityGroupIngressRequest.Builder,
,RevokeClusterSecurityGroupIngressRequest> RedshiftRequest.Builder
,SdkBuilder<RevokeClusterSecurityGroupIngressRequest.Builder,
,RevokeClusterSecurityGroupIngressRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
RevokeClusterSecurityGroupIngressRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe IP range for which to revoke access.clusterSecurityGroupName
(String clusterSecurityGroupName) The name of the security Group from which to revoke the ingress rule.ec2SecurityGroupName
(String ec2SecurityGroupName) The name of the EC2 Security Group whose access is to be revoked.ec2SecurityGroupOwnerId
(String ec2SecurityGroupOwnerId) The Amazon Web Services account number of the owner of the security group specified in theEC2SecurityGroupName
parameter.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.redshift.model.RedshiftRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
clusterSecurityGroupName
RevokeClusterSecurityGroupIngressRequest.Builder clusterSecurityGroupName(String clusterSecurityGroupName) The name of the security Group from which to revoke the ingress rule.
- Parameters:
clusterSecurityGroupName
- The name of the security Group from which to revoke the ingress rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cidrip
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
andEC2SecurityGroupOwnerId
cannot be provided.- Parameters:
cidrip
- The IP range for which to revoke access. This range must be a valid Classless Inter-Domain Routing (CIDR) block of IP addresses. IfCIDRIP
is specified,EC2SecurityGroupName
andEC2SecurityGroupOwnerId
cannot be provided.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ec2SecurityGroupName
The name of the EC2 Security Group whose access is to be revoked. If
EC2SecurityGroupName
is specified,EC2SecurityGroupOwnerId
must also be provided andCIDRIP
cannot be provided.- Parameters:
ec2SecurityGroupName
- The name of the EC2 Security Group whose access is to be revoked. IfEC2SecurityGroupName
is specified,EC2SecurityGroupOwnerId
must also be provided andCIDRIP
cannot be provided.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ec2SecurityGroupOwnerId
RevokeClusterSecurityGroupIngressRequest.Builder ec2SecurityGroupOwnerId(String ec2SecurityGroupOwnerId) 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. IfEC2SecurityGroupOwnerId
is specified,EC2SecurityGroupName
must also be provided. andCIDRIP
cannot be provided.Example:
111122223333
- Parameters:
ec2SecurityGroupOwnerId
- The Amazon Web Services account number of the owner of the security group specified in theEC2SecurityGroupName
parameter. The Amazon Web Services access key ID is not an acceptable value. IfEC2SecurityGroupOwnerId
is specified,EC2SecurityGroupName
must also be provided. andCIDRIP
cannot be provided.Example:
111122223333
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
RevokeClusterSecurityGroupIngressRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
RevokeClusterSecurityGroupIngressRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-