@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateSecurityGroupRuleDescriptionsIngressRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<UpdateSecurityGroupRuleDescriptionsIngressRequest>
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()
[Default VPC] The name of the security group.
|
List<IpPermission> |
getIpPermissions()
The IP permissions for the security group rule.
|
List<SecurityGroupRuleDescription> |
getSecurityGroupRuleDescriptions()
The description for the ingress security group rules.
|
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.
|
void |
setSecurityGroupRuleDescriptions(Collection<SecurityGroupRuleDescription> securityGroupRuleDescriptions)
The description for the ingress security group rules.
|
String |
toString()
Returns a string representation of this object.
|
UpdateSecurityGroupRuleDescriptionsIngressRequest |
withGroupId(String groupId)
The ID of the security group.
|
UpdateSecurityGroupRuleDescriptionsIngressRequest |
withGroupName(String groupName)
[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.
|
UpdateSecurityGroupRuleDescriptionsIngressRequest |
withSecurityGroupRuleDescriptions(Collection<SecurityGroupRuleDescription> securityGroupRuleDescriptions)
The description for the ingress security group rules.
|
UpdateSecurityGroupRuleDescriptionsIngressRequest |
withSecurityGroupRuleDescriptions(SecurityGroupRuleDescription... securityGroupRuleDescriptions)
The description for the ingress security group rules.
|
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)
[Default VPC] The name of the security group. You must specify either the security group ID or the security group name. For security groups in a nondefault VPC, you must specify the security group ID.
groupName
- [Default VPC] The name of the security group. You must specify either the security group ID or the
security group name. For security groups in a nondefault VPC, you must specify the security group ID.public String getGroupName()
[Default VPC] The name of the security group. You must specify either the security group ID or the security group name. For security groups in a nondefault VPC, you must specify the security group ID.
public UpdateSecurityGroupRuleDescriptionsIngressRequest withGroupName(String groupName)
[Default VPC] The name of the security group. You must specify either the security group ID or the security group name. For security groups in a nondefault VPC, you must specify the security group ID.
groupName
- [Default VPC] The name of the security group. You must specify either the security group ID or the
security group name. For security groups in a nondefault VPC, you must specify the security group ID.public List<IpPermission> getIpPermissions()
The IP permissions for the security group rule. You must specify either IP permissions or a description.
public void setIpPermissions(Collection<IpPermission> ipPermissions)
The IP permissions for the security group rule. You must specify either IP permissions or a description.
ipPermissions
- The IP permissions for the security group rule. You must specify either IP permissions or a description.public UpdateSecurityGroupRuleDescriptionsIngressRequest withIpPermissions(IpPermission... ipPermissions)
The IP permissions for the security group rule. You must specify either IP permissions or a description.
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. You must specify either IP permissions or a description.public UpdateSecurityGroupRuleDescriptionsIngressRequest withIpPermissions(Collection<IpPermission> ipPermissions)
The IP permissions for the security group rule. You must specify either IP permissions or a description.
ipPermissions
- The IP permissions for the security group rule. You must specify either IP permissions or a description.public List<SecurityGroupRuleDescription> getSecurityGroupRuleDescriptions()
The description for the ingress security group rules. You must specify either a description or IP permissions.
public void setSecurityGroupRuleDescriptions(Collection<SecurityGroupRuleDescription> securityGroupRuleDescriptions)
The description for the ingress security group rules. You must specify either a description or IP permissions.
securityGroupRuleDescriptions
- The description for the ingress security group rules. You must specify either a description or IP
permissions.public UpdateSecurityGroupRuleDescriptionsIngressRequest withSecurityGroupRuleDescriptions(SecurityGroupRuleDescription... securityGroupRuleDescriptions)
The description for the ingress security group rules. You must specify either a description or IP permissions.
NOTE: This method appends the values to the existing list (if any). Use
setSecurityGroupRuleDescriptions(java.util.Collection)
or
withSecurityGroupRuleDescriptions(java.util.Collection)
if you want to override the existing values.
securityGroupRuleDescriptions
- The description for the ingress security group rules. You must specify either a description or IP
permissions.public UpdateSecurityGroupRuleDescriptionsIngressRequest withSecurityGroupRuleDescriptions(Collection<SecurityGroupRuleDescription> securityGroupRuleDescriptions)
The description for the ingress security group rules. You must specify either a description or IP permissions.
securityGroupRuleDescriptions
- The description for the ingress security group rules. You must specify either a description or IP
permissions.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()