@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateSecurityGroupRuleDescriptionsEgressRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<UpdateSecurityGroupRuleDescriptionsEgressRequest>
Contains the parameters for UpdateSecurityGroupRuleDescriptionsEgress.
NOOP
Constructor and Description |
---|
UpdateSecurityGroupRuleDescriptionsEgressRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateSecurityGroupRuleDescriptionsEgressRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Request<UpdateSecurityGroupRuleDescriptionsEgressRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
String |
getGroupId()
The ID of the security group.
|
String |
getGroupName()
[Default VPC] The name of the security group.
|
List<IpPermission> |
getIpPermissions()
The IP permissions for the security group rule.
|
int |
hashCode() |
void |
setGroupId(String groupId)
The ID of the security group.
|
void |
setGroupName(String groupName)
[Default VPC] The name of the security group.
|
void |
setIpPermissions(Collection<IpPermission> ipPermissions)
The IP permissions for the security group rule.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
UpdateSecurityGroupRuleDescriptionsEgressRequest |
withGroupId(String groupId)
The ID of the security group.
|
UpdateSecurityGroupRuleDescriptionsEgressRequest |
withGroupName(String groupName)
[Default VPC] The name of the security group.
|
UpdateSecurityGroupRuleDescriptionsEgressRequest |
withIpPermissions(Collection<IpPermission> ipPermissions)
The IP permissions for the security group rule.
|
UpdateSecurityGroupRuleDescriptionsEgressRequest |
withIpPermissions(IpPermission... ipPermissions)
The IP permissions for the security group rule.
|
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 UpdateSecurityGroupRuleDescriptionsEgressRequest()
public void setGroupId(String groupId)
The ID of the security group. You must specify either the security group ID or the security group name in the request. For security groups in a nondefault VPC, you must specify the security group ID.
groupId
- The ID of the security group. You must specify either the security group ID or the security group name in
the request. For security groups in a nondefault VPC, you must specify the security group ID.public String getGroupId()
The ID of the security group. You must specify either the security group ID or the security group name in the request. For security groups in a nondefault VPC, you must specify the security group ID.
public UpdateSecurityGroupRuleDescriptionsEgressRequest withGroupId(String groupId)
The ID of the security group. You must specify either the security group ID or the security group name in the request. For security groups in a nondefault VPC, you must specify the security group ID.
groupId
- The ID of the security group. You must specify either the security group ID or the security group name in
the request. For security groups in a nondefault VPC, you must specify the security group ID.public void setGroupName(String groupName)
[Default VPC] The name of the security group. You must specify either the security group ID or the security group name in the request.
groupName
- [Default VPC] The name of the security group. You must specify either the security group ID or the
security group name in the request.public String getGroupName()
[Default VPC] The name of the security group. You must specify either the security group ID or the security group name in the request.
public UpdateSecurityGroupRuleDescriptionsEgressRequest withGroupName(String groupName)
[Default VPC] The name of the security group. You must specify either the security group ID or the security group name in the request.
groupName
- [Default VPC] The name of the security group. You must specify either the security group ID or the
security group name in the request.public List<IpPermission> getIpPermissions()
The IP permissions for the security group rule.
public void setIpPermissions(Collection<IpPermission> ipPermissions)
The IP permissions for the security group rule.
ipPermissions
- The IP permissions for the security group rule.public UpdateSecurityGroupRuleDescriptionsEgressRequest withIpPermissions(IpPermission... ipPermissions)
The IP permissions for the security group rule.
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 IP permissions for the security group rule.public UpdateSecurityGroupRuleDescriptionsEgressRequest withIpPermissions(Collection<IpPermission> ipPermissions)
The IP permissions for the security group rule.
ipPermissions
- The IP permissions for the security group rule.public Request<UpdateSecurityGroupRuleDescriptionsEgressRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<UpdateSecurityGroupRuleDescriptionsEgressRequest>
public String toString()
toString
in class Object
Object.toString()
public UpdateSecurityGroupRuleDescriptionsEgressRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.