@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AuthorizeSecurityGroupEgressRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<AuthorizeSecurityGroupEgressRequest>
Contains the parameters for AuthorizeSecurityGroupEgress.
NOOP
Constructor and Description |
---|
AuthorizeSecurityGroupEgressRequest() |
Modifier and Type | Method and Description |
---|---|
AuthorizeSecurityGroupEgressRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getCidrIp()
Not supported.
|
Request<AuthorizeSecurityGroupEgressRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
Integer |
getFromPort()
Not supported.
|
String |
getGroupId()
The ID of the security group.
|
List<IpPermission> |
getIpPermissions()
One or more sets of IP permissions.
|
String |
getIpProtocol()
Not supported.
|
String |
getSourceSecurityGroupName()
Not supported.
|
String |
getSourceSecurityGroupOwnerId()
Not supported.
|
Integer |
getToPort()
Not supported.
|
int |
hashCode() |
void |
setCidrIp(String cidrIp)
Not supported.
|
void |
setFromPort(Integer fromPort)
Not supported.
|
void |
setGroupId(String groupId)
The ID of the security group.
|
void |
setIpPermissions(Collection<IpPermission> ipPermissions)
One or more sets of IP permissions.
|
void |
setIpProtocol(String ipProtocol)
Not supported.
|
void |
setSourceSecurityGroupName(String sourceSecurityGroupName)
Not supported.
|
void |
setSourceSecurityGroupOwnerId(String sourceSecurityGroupOwnerId)
Not supported.
|
void |
setToPort(Integer toPort)
Not supported.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
AuthorizeSecurityGroupEgressRequest |
withCidrIp(String cidrIp)
Not supported.
|
AuthorizeSecurityGroupEgressRequest |
withFromPort(Integer fromPort)
Not supported.
|
AuthorizeSecurityGroupEgressRequest |
withGroupId(String groupId)
The ID of the security group.
|
AuthorizeSecurityGroupEgressRequest |
withIpPermissions(Collection<IpPermission> ipPermissions)
One or more sets of IP permissions.
|
AuthorizeSecurityGroupEgressRequest |
withIpPermissions(IpPermission... ipPermissions)
One or more sets of IP permissions.
|
AuthorizeSecurityGroupEgressRequest |
withIpProtocol(String ipProtocol)
Not supported.
|
AuthorizeSecurityGroupEgressRequest |
withSourceSecurityGroupName(String sourceSecurityGroupName)
Not supported.
|
AuthorizeSecurityGroupEgressRequest |
withSourceSecurityGroupOwnerId(String sourceSecurityGroupOwnerId)
Not supported.
|
AuthorizeSecurityGroupEgressRequest |
withToPort(Integer toPort)
Not supported.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setGroupId(String groupId)
The ID of the security group.
groupId
- The ID of the security group.public String getGroupId()
The ID of the security group.
public AuthorizeSecurityGroupEgressRequest withGroupId(String groupId)
The ID of the security group.
groupId
- The ID of the security group.public List<IpPermission> getIpPermissions()
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.
public void setIpPermissions(Collection<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.
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.public AuthorizeSecurityGroupEgressRequest withIpPermissions(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.
NOTE: This method appends the values to the existing list (if any). Use
setIpPermissions(java.util.Collection)
or withIpPermissions(java.util.Collection)
if you want
to override the existing values.
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.public AuthorizeSecurityGroupEgressRequest withIpPermissions(Collection<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.
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.public void setCidrIp(String cidrIp)
Not supported. Use a set of IP permissions to specify the CIDR.
cidrIp
- Not supported. Use a set of IP permissions to specify the CIDR.public String getCidrIp()
Not supported. Use a set of IP permissions to specify the CIDR.
public AuthorizeSecurityGroupEgressRequest withCidrIp(String cidrIp)
Not supported. Use a set of IP permissions to specify the CIDR.
cidrIp
- Not supported. Use a set of IP permissions to specify the CIDR.public void setFromPort(Integer fromPort)
Not supported. Use a set of IP permissions to specify the port.
fromPort
- Not supported. Use a set of IP permissions to specify the port.public Integer getFromPort()
Not supported. Use a set of IP permissions to specify the port.
public AuthorizeSecurityGroupEgressRequest withFromPort(Integer fromPort)
Not supported. Use a set of IP permissions to specify the port.
fromPort
- Not supported. Use a set of IP permissions to specify the port.public void setIpProtocol(String ipProtocol)
Not supported. Use a set of IP permissions to specify the protocol name or number.
ipProtocol
- Not supported. Use a set of IP permissions to specify the protocol name or number.public String getIpProtocol()
Not supported. Use a set of IP permissions to specify the protocol name or number.
public AuthorizeSecurityGroupEgressRequest withIpProtocol(String ipProtocol)
Not supported. Use a set of IP permissions to specify the protocol name or number.
ipProtocol
- Not supported. Use a set of IP permissions to specify the protocol name or number.public void setToPort(Integer toPort)
Not supported. Use a set of IP permissions to specify the port.
toPort
- Not supported. Use a set of IP permissions to specify the port.public Integer getToPort()
Not supported. Use a set of IP permissions to specify the port.
public AuthorizeSecurityGroupEgressRequest withToPort(Integer toPort)
Not supported. Use a set of IP permissions to specify the port.
toPort
- Not supported. Use a set of IP permissions to specify the port.public void setSourceSecurityGroupName(String sourceSecurityGroupName)
Not supported. Use a set of IP permissions to specify a destination security group.
sourceSecurityGroupName
- Not supported. Use a set of IP permissions to specify a destination security group.public String getSourceSecurityGroupName()
Not supported. Use a set of IP permissions to specify a destination security group.
public AuthorizeSecurityGroupEgressRequest withSourceSecurityGroupName(String sourceSecurityGroupName)
Not supported. Use a set of IP permissions to specify a destination security group.
sourceSecurityGroupName
- Not supported. Use a set of IP permissions to specify a destination security group.public void setSourceSecurityGroupOwnerId(String sourceSecurityGroupOwnerId)
Not supported. Use a set of IP permissions to specify a destination security group.
sourceSecurityGroupOwnerId
- Not supported. Use a set of IP permissions to specify a destination security group.public String getSourceSecurityGroupOwnerId()
Not supported. Use a set of IP permissions to specify a destination security group.
public AuthorizeSecurityGroupEgressRequest withSourceSecurityGroupOwnerId(String sourceSecurityGroupOwnerId)
Not supported. Use a set of IP permissions to specify a destination security group.
sourceSecurityGroupOwnerId
- Not supported. Use a set of IP permissions to specify a destination security group.public Request<AuthorizeSecurityGroupEgressRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<AuthorizeSecurityGroupEgressRequest>
public String toString()
toString
in class Object
Object.toString()
public AuthorizeSecurityGroupEgressRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.