@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateSecurityGroupRuleDescriptionsEgressRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<UpdateSecurityGroupRuleDescriptionsEgressRequest>
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.
|
List<SecurityGroupRuleDescription> |
getSecurityGroupRuleDescriptions()
The description for the egress 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 egress security group rules.
|
String |
toString()
Returns a string representation of this object.
|
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.
|
UpdateSecurityGroupRuleDescriptionsEgressRequest |
withSecurityGroupRuleDescriptions(Collection<SecurityGroupRuleDescription> securityGroupRuleDescriptions)
The description for the egress security group rules.
|
UpdateSecurityGroupRuleDescriptionsEgressRequest |
withSecurityGroupRuleDescriptions(SecurityGroupRuleDescription... securityGroupRuleDescriptions)
The description for the egress 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 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.
groupName
- [Default VPC] The name of the security group. You must specify either the security group ID or the
security group name.public String getGroupName()
[Default VPC] The name of the security group. You must specify either the security group ID or the security group name.
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.
groupName
- [Default VPC] The name of the security group. You must specify either the security group ID or the
security group name.public List<IpPermission> getIpPermissions()
The IP permissions for the security group rule. You must specify either the IP permissions or the description.
public void setIpPermissions(Collection<IpPermission> ipPermissions)
The IP permissions for the security group rule. You must specify either the IP permissions or the description.
ipPermissions
- The IP permissions for the security group rule. You must specify either the IP permissions or the
description.public UpdateSecurityGroupRuleDescriptionsEgressRequest withIpPermissions(IpPermission... ipPermissions)
The IP permissions for the security group rule. You must specify either the IP permissions or the 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 the IP permissions or the
description.public UpdateSecurityGroupRuleDescriptionsEgressRequest withIpPermissions(Collection<IpPermission> ipPermissions)
The IP permissions for the security group rule. You must specify either the IP permissions or the description.
ipPermissions
- The IP permissions for the security group rule. You must specify either the IP permissions or the
description.public List<SecurityGroupRuleDescription> getSecurityGroupRuleDescriptions()
The description for the egress security group rules. You must specify either the description or the IP permissions.
public void setSecurityGroupRuleDescriptions(Collection<SecurityGroupRuleDescription> securityGroupRuleDescriptions)
The description for the egress security group rules. You must specify either the description or the IP permissions.
securityGroupRuleDescriptions
- The description for the egress security group rules. You must specify either the description or the IP
permissions.public UpdateSecurityGroupRuleDescriptionsEgressRequest withSecurityGroupRuleDescriptions(SecurityGroupRuleDescription... securityGroupRuleDescriptions)
The description for the egress security group rules. You must specify either the description or the 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 egress security group rules. You must specify either the description or the IP
permissions.public UpdateSecurityGroupRuleDescriptionsEgressRequest withSecurityGroupRuleDescriptions(Collection<SecurityGroupRuleDescription> securityGroupRuleDescriptions)
The description for the egress security group rules. You must specify either the description or the IP permissions.
securityGroupRuleDescriptions
- The description for the egress security group rules. You must specify either the description or the IP
permissions.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()