Cloneable
, ReadLimitInfo
, ToCopyableBuilder<RevokeSecurityGroupIngressRequest.Builder,RevokeSecurityGroupIngressRequest>
@Generated("software.amazon.awssdk:codegen") public class RevokeSecurityGroupIngressRequest extends AmazonWebServiceRequest implements ToCopyableBuilder<RevokeSecurityGroupIngressRequest.Builder,RevokeSecurityGroupIngressRequest>
Contains the parameters for RevokeSecurityGroupIngress.
Modifier and Type | Class | Description |
---|---|---|
static interface |
RevokeSecurityGroupIngressRequest.Builder |
NOOP
Modifier and Type | Method | Description |
---|---|---|
static RevokeSecurityGroupIngressRequest.Builder |
builder() |
|
String |
cidrIp() |
The CIDR IP address range.
|
boolean |
equals(Object obj) |
|
Integer |
fromPort() |
The start of port range for the TCP and UDP protocols, or an ICMP type number.
|
String |
groupId() |
The ID of the security group.
|
String |
groupName() |
[EC2-Classic, default VPC] The name of the security group.
|
int |
hashCode() |
|
List<IpPermission> |
ipPermissions() |
A set of IP permissions.
|
String |
ipProtocol() |
|
static Class<? extends RevokeSecurityGroupIngressRequest.Builder> |
serializableBuilderClass() |
|
String |
sourceSecurityGroupName() |
[EC2-Classic, default VPC] The name of the source security group.
|
String |
sourceSecurityGroupOwnerId() |
[EC2-Classic] The AWS account ID of the source security group, if the source security group is in a different
account.
|
RevokeSecurityGroupIngressRequest.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
Integer |
toPort() |
The end of port range for the TCP and UDP protocols, or an ICMP code number.
|
String |
toString() |
clone, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout
public String cidrIp()
The CIDR IP address range. You can't specify this parameter when specifying a source security group.
public Integer fromPort()
The start of port range for the TCP and UDP protocols, or an ICMP type number. For the ICMP type number, use
-1
to specify all ICMP types.
-1
to specify all ICMP types.public String groupId()
The ID of the security group. Required for a security group in a nondefault VPC.
public String groupName()
[EC2-Classic, default VPC] The name of the security group.
public List<IpPermission> ipPermissions()
A set of IP permissions. You can't specify a source security group and a CIDR IP address range.
public String ipProtocol()
The IP protocol name (tcp
, udp
, icmp
) or number (see Protocol Numbers). Use
-1
to specify all.
tcp
, udp
, icmp
) or number (see Protocol Numbers). Use
-1
to specify all.public String sourceSecurityGroupName()
[EC2-Classic, default VPC] The name of the source security group. You can't specify this parameter in combination with the following parameters: the CIDR IP address range, the start of the port range, the IP protocol, and the end of the port range. For EC2-VPC, the source security group must be in the same VPC. To revoke a specific rule for an IP protocol and port range, use a set of IP permissions instead.
public String sourceSecurityGroupOwnerId()
[EC2-Classic] The AWS account ID of the source security group, if the source security group is in a different account. You can't specify this parameter in combination with the following parameters: the CIDR IP address range, the IP protocol, the start of the port range, and the end of the port range. To revoke a specific rule for an IP protocol and port range, use a set of IP permissions instead.
public Integer toPort()
The end of port range for the TCP and UDP protocols, or an ICMP code number. For the ICMP code number, use
-1
to specify all ICMP codes for the ICMP type.
-1
to specify all ICMP codes for the ICMP type.public RevokeSecurityGroupIngressRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<RevokeSecurityGroupIngressRequest.Builder,RevokeSecurityGroupIngressRequest>
public static RevokeSecurityGroupIngressRequest.Builder builder()
public static Class<? extends RevokeSecurityGroupIngressRequest.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.