@Generated(value="software.amazon.awssdk:codegen") public class RevokeSecurityGroupEgressRequest extends EC2Request implements ToCopyableBuilder<RevokeSecurityGroupEgressRequest.Builder,RevokeSecurityGroupEgressRequest>
Contains the parameters for RevokeSecurityGroupEgress.
Modifier and Type | Class and Description |
---|---|
static interface |
RevokeSecurityGroupEgressRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static RevokeSecurityGroupEgressRequest.Builder |
builder() |
String |
cidrIp()
Not supported.
|
boolean |
equals(Object obj) |
Integer |
fromPort()
Not supported.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
String |
groupId()
The ID of the security group.
|
int |
hashCode() |
List<IpPermission> |
ipPermissions()
One or more sets of IP permissions.
|
String |
ipProtocol()
Not supported.
|
static Class<? extends RevokeSecurityGroupEgressRequest.Builder> |
serializableBuilderClass() |
String |
sourceSecurityGroupName()
Not supported.
|
String |
sourceSecurityGroupOwnerId()
Not supported.
|
RevokeSecurityGroupEgressRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
Integer |
toPort()
Not supported.
|
String |
toString() |
requestOverrideConfig
copy
public String groupId()
The ID of the security group.
public List<IpPermission> ipPermissions()
One or more sets of IP permissions. You can't specify a destination security group and a CIDR IP address range in the same set of permissions.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public String cidrIp()
Not supported. Use a set of IP permissions to specify the CIDR.
public Integer fromPort()
Not supported. Use a set of IP permissions to specify the port.
public String ipProtocol()
Not supported. Use a set of IP permissions to specify the protocol name or number.
public Integer toPort()
Not supported. Use a set of IP permissions to specify the port.
public String sourceSecurityGroupName()
Not supported. Use a set of IP permissions to specify a destination security group.
public String sourceSecurityGroupOwnerId()
Not supported. Use a set of IP permissions to specify a destination security group.
public RevokeSecurityGroupEgressRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<RevokeSecurityGroupEgressRequest.Builder,RevokeSecurityGroupEgressRequest>
toBuilder
in class EC2Request
public static RevokeSecurityGroupEgressRequest.Builder builder()
public static Class<? extends RevokeSecurityGroupEgressRequest.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.