@Generated(value="software.amazon.awssdk:codegen") public class AuthorizeSecurityGroupEgressRequest extends AmazonWebServiceRequest implements software.amazon.awssdk.utils.builder.ToCopyableBuilder<AuthorizeSecurityGroupEgressRequest.Builder,AuthorizeSecurityGroupEgressRequest>
Contains the parameters for AuthorizeSecurityGroupEgress.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AuthorizeSecurityGroupEgressRequest.Builder |
NOOP| Modifier and Type | Method and Description |
|---|---|
static AuthorizeSecurityGroupEgressRequest.Builder |
builder() |
String |
cidrIp()
The CIDR IPv4 address range.
|
boolean |
equals(Object obj) |
Integer |
fromPort()
The start of port range for the TCP and UDP protocols, or an ICMP type number.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
String |
groupId()
The ID of the security group.
|
int |
hashCode() |
List<IpPermission> |
ipPermissions()
A set of IP permissions.
|
String |
ipProtocol()
The IP protocol name or number.
|
static Class<? extends AuthorizeSecurityGroupEgressRequest.Builder> |
serializableBuilderClass() |
String |
sourceSecurityGroupName()
The name of a destination security group.
|
String |
sourceSecurityGroupOwnerId()
The AWS account number for a destination security group.
|
AuthorizeSecurityGroupEgressRequest.Builder |
toBuilder() |
Integer |
toPort()
The end of port range for the TCP and UDP protocols, or an ICMP type number.
|
String |
toString() |
clone, copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentialsProvider, getSdkClientExecutionTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setSdkClientExecutionTimeout, withGeneralProgressListener, withSdkClientExecutionTimeoutpublic String groupId()
The ID of the security group.
public List<IpPermission> ipPermissions()
A set of IP permissions. You can't specify a destination security group and a CIDR IP address range.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public String cidrIp()
The CIDR IPv4 address range. We recommend that you specify the CIDR range in a set of IP permissions instead.
public Integer fromPort()
The start of port range for the TCP and UDP protocols, or an ICMP type number. We recommend that you specify the port range in a set of IP permissions instead.
public String ipProtocol()
The IP protocol name or number. We recommend that you specify the protocol in a set of IP permissions instead.
public Integer toPort()
The end of port range for the TCP and UDP protocols, or an ICMP type number. We recommend that you specify the port range in a set of IP permissions instead.
public String sourceSecurityGroupName()
The name of a destination security group. To authorize outbound access to a destination security group, we recommend that you use a set of IP permissions instead.
public String sourceSecurityGroupOwnerId()
The AWS account number for a destination security group. To authorize outbound access to a destination security group, we recommend that you use a set of IP permissions instead.
public AuthorizeSecurityGroupEgressRequest.Builder toBuilder()
toBuilder in interface software.amazon.awssdk.utils.builder.ToCopyableBuilder<AuthorizeSecurityGroupEgressRequest.Builder,AuthorizeSecurityGroupEgressRequest>public static AuthorizeSecurityGroupEgressRequest.Builder builder()
public static Class<? extends AuthorizeSecurityGroupEgressRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2017. All rights reserved.