@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateSecurityGroupRuleDescriptionsIngressRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<UpdateSecurityGroupRuleDescriptionsIngressRequest>
Contains the parameters for UpdateSecurityGroupRuleDescriptionsIngress.
NOOP
Constructor and Description |
---|
UpdateSecurityGroupRuleDescriptionsIngressRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateSecurityGroupRuleDescriptionsIngressRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Request<UpdateSecurityGroupRuleDescriptionsIngressRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
String |
getGroupId()
The ID of the security group.
|
String |
getGroupName()
[EC2-Classic, 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)
[EC2-Classic, 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.
|
UpdateSecurityGroupRuleDescriptionsIngressRequest |
withGroupId(String groupId)
The ID of the security group.
|
UpdateSecurityGroupRuleDescriptionsIngressRequest |
withGroupName(String groupName)
[EC2-Classic, default VPC] The name of the security group.
|
UpdateSecurityGroupRuleDescriptionsIngressRequest |
withIpPermissions(Collection<IpPermission> ipPermissions)
The IP permissions for the security group rule.
|
UpdateSecurityGroupRuleDescriptionsIngressRequest |
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 UpdateSecurityGroupRuleDescriptionsIngressRequest()
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 UpdateSecurityGroupRuleDescriptionsIngressRequest 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)
[EC2-Classic, 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
- [EC2-Classic, 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()
[EC2-Classic, 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 UpdateSecurityGroupRuleDescriptionsIngressRequest withGroupName(String groupName)
[EC2-Classic, 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
- [EC2-Classic, 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 UpdateSecurityGroupRuleDescriptionsIngressRequest 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 UpdateSecurityGroupRuleDescriptionsIngressRequest withIpPermissions(Collection<IpPermission> ipPermissions)
The IP permissions for the security group rule.
ipPermissions
- The IP permissions for the security group rule.public Request<UpdateSecurityGroupRuleDescriptionsIngressRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<UpdateSecurityGroupRuleDescriptionsIngressRequest>
public String toString()
toString
in class Object
Object.toString()
public UpdateSecurityGroupRuleDescriptionsIngressRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.