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 theEC2SecurityGroupNameparameter.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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.redshift.model.RedshiftRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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
CIDRIPis specified,EC2SecurityGroupNameandEC2SecurityGroupOwnerIdcannot 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. IfCIDRIPis specified,EC2SecurityGroupNameandEC2SecurityGroupOwnerIdcannot 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
EC2SecurityGroupNameis specified,EC2SecurityGroupOwnerIdmust also be provided andCIDRIPcannot be provided.- Parameters:
ec2SecurityGroupName- The name of the EC2 Security Group whose access is to be revoked. IfEC2SecurityGroupNameis specified,EC2SecurityGroupOwnerIdmust also be provided andCIDRIPcannot 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
EC2SecurityGroupNameparameter. The Amazon Web Services access key ID is not an acceptable value. IfEC2SecurityGroupOwnerIdis specified,EC2SecurityGroupNamemust also be provided. andCIDRIPcannot be provided.Example:
111122223333- Parameters:
ec2SecurityGroupOwnerId- The Amazon Web Services account number of the owner of the security group specified in theEC2SecurityGroupNameparameter. The Amazon Web Services access key ID is not an acceptable value. IfEC2SecurityGroupOwnerIdis specified,EC2SecurityGroupNamemust also be provided. andCIDRIPcannot 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-