@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RevokeSecurityGroupEgressRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<RevokeSecurityGroupEgressRequest>
NOOP| Constructor and Description |
|---|
RevokeSecurityGroupEgressRequest() |
addHandlerContext, copyBaseTo, 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, withSdkRequestTimeoutpublic 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 RevokeSecurityGroupEgressRequest withGroupId(String groupId)
The ID of the security group.
groupId - The ID of the security group.public List<IpPermission> getIpPermissions()
The 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)
The 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 - The 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 RevokeSecurityGroupEgressRequest withIpPermissions(IpPermission... ipPermissions)
The 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 - The 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 RevokeSecurityGroupEgressRequest withIpPermissions(Collection<IpPermission> ipPermissions)
The 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 - The 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 RevokeSecurityGroupEgressRequest 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 RevokeSecurityGroupEgressRequest 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 RevokeSecurityGroupEgressRequest 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 RevokeSecurityGroupEgressRequest 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 RevokeSecurityGroupEgressRequest 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 RevokeSecurityGroupEgressRequest 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<RevokeSecurityGroupEgressRequest> getDryRunRequest()
getDryRunRequest in interface DryRunSupportedRequest<RevokeSecurityGroupEgressRequest>public String toString()
toString in class ObjectObject.toString()public RevokeSecurityGroupEgressRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2021. All rights reserved.