@Generated(value="software.amazon.awssdk:codegen") public final class RevokeClusterSecurityGroupIngressRequest extends RedshiftRequest implements ToCopyableBuilder<RevokeClusterSecurityGroupIngressRequest.Builder,RevokeClusterSecurityGroupIngressRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
RevokeClusterSecurityGroupIngressRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static RevokeClusterSecurityGroupIngressRequest.Builder |
builder() |
String |
cidrip()
The IP range for which to revoke access.
|
String |
clusterSecurityGroupName()
The name of the security Group from which to revoke the ingress rule.
|
String |
ec2SecurityGroupName()
The name of the EC2 Security Group whose access is to be revoked.
|
String |
ec2SecurityGroupOwnerId()
The AWS account number of the owner of the security group specified in the
EC2SecurityGroupName
parameter. |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends RevokeClusterSecurityGroupIngressRequest.Builder> |
serializableBuilderClass() |
RevokeClusterSecurityGroupIngressRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
overrideConfiguration
copy
public String clusterSecurityGroupName()
The name of the security Group from which to revoke the ingress rule.
public String 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
and
EC2SecurityGroupOwnerId
cannot be provided.
CIDRIP
is specified, EC2SecurityGroupName
and
EC2SecurityGroupOwnerId
cannot be provided.public String ec2SecurityGroupName()
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.
EC2SecurityGroupName
is
specified, EC2SecurityGroupOwnerId
must also be provided and CIDRIP
cannot be
provided.public String ec2SecurityGroupOwnerId()
The AWS account number of the owner of the security group specified in the EC2SecurityGroupName
parameter. The AWS access key ID is not an acceptable value. If EC2SecurityGroupOwnerId
is
specified, EC2SecurityGroupName
must also be provided. and CIDRIP
cannot be provided.
Example: 111122223333
EC2SecurityGroupName
parameter. The AWS access key ID is not an acceptable value. If
EC2SecurityGroupOwnerId
is specified, EC2SecurityGroupName
must also be
provided. and CIDRIP
cannot be provided.
Example: 111122223333
public RevokeClusterSecurityGroupIngressRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<RevokeClusterSecurityGroupIngressRequest.Builder,RevokeClusterSecurityGroupIngressRequest>
toBuilder
in class RedshiftRequest
public static RevokeClusterSecurityGroupIngressRequest.Builder builder()
public static Class<? extends RevokeClusterSecurityGroupIngressRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.