@Generated(value="software.amazon.awssdk:codegen") public final class RevokeDbSecurityGroupIngressRequest extends RdsRequest implements ToCopyableBuilder<RevokeDbSecurityGroupIngressRequest.Builder,RevokeDbSecurityGroupIngressRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
RevokeDbSecurityGroupIngressRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static RevokeDbSecurityGroupIngressRequest.Builder |
builder() |
String |
cidrip()
The IP range to revoke access from.
|
String |
dbSecurityGroupName()
The name of the DB security group to revoke ingress from.
|
String |
ec2SecurityGroupId()
The id of the EC2 security group to revoke access from.
|
String |
ec2SecurityGroupName()
The name of the EC2 security group to revoke access from.
|
String |
ec2SecurityGroupOwnerId()
The AWS Account Number of the owner of the EC2 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() |
static Class<? extends RevokeDbSecurityGroupIngressRequest.Builder> |
serializableBuilderClass() |
RevokeDbSecurityGroupIngressRequest.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 dbSecurityGroupName()
The name of the DB security group to revoke ingress from.
public String cidrip()
The IP range to revoke access from. Must be a valid CIDR range. If CIDRIP
is specified,
EC2SecurityGroupName
, EC2SecurityGroupId
and EC2SecurityGroupOwnerId
can't
be provided.
CIDRIP
is specified,
EC2SecurityGroupName
, EC2SecurityGroupId
and
EC2SecurityGroupOwnerId
can't be provided.public String ec2SecurityGroupName()
The name of the EC2 security group to revoke access from. For VPC DB security groups,
EC2SecurityGroupId
must be provided. Otherwise, EC2SecurityGroupOwnerId and either
EC2SecurityGroupName
or EC2SecurityGroupId
must be provided.
EC2SecurityGroupId
must be provided. Otherwise, EC2SecurityGroupOwnerId and either
EC2SecurityGroupName
or EC2SecurityGroupId
must be provided.public String ec2SecurityGroupId()
The id of the EC2 security group to revoke access from. For VPC DB security groups,
EC2SecurityGroupId
must be provided. Otherwise, EC2SecurityGroupOwnerId and either
EC2SecurityGroupName
or EC2SecurityGroupId
must be provided.
EC2SecurityGroupId
must be provided. Otherwise, EC2SecurityGroupOwnerId and either
EC2SecurityGroupName
or EC2SecurityGroupId
must be provided.public String ec2SecurityGroupOwnerId()
The AWS Account Number of the owner of the EC2 security group specified in the EC2SecurityGroupName
parameter. The AWS Access Key ID is not an acceptable value. For VPC DB security groups,
EC2SecurityGroupId
must be provided. Otherwise, EC2SecurityGroupOwnerId and either
EC2SecurityGroupName
or EC2SecurityGroupId
must be provided.
EC2SecurityGroupName
parameter. The AWS Access Key ID is not an acceptable value. For VPC DB
security groups, EC2SecurityGroupId
must be provided. Otherwise, EC2SecurityGroupOwnerId and
either EC2SecurityGroupName
or EC2SecurityGroupId
must be provided.public RevokeDbSecurityGroupIngressRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<RevokeDbSecurityGroupIngressRequest.Builder,RevokeDbSecurityGroupIngressRequest>
toBuilder
in class RdsRequest
public static RevokeDbSecurityGroupIngressRequest.Builder builder()
public static Class<? extends RevokeDbSecurityGroupIngressRequest.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.