@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ModifySecurityGroupRulesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<ModifySecurityGroupRulesRequest>
NOOP
Constructor and Description |
---|
ModifySecurityGroupRulesRequest() |
Modifier and Type | Method and Description |
---|---|
ModifySecurityGroupRulesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Request<ModifySecurityGroupRulesRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
String |
getGroupId()
The ID of the security group.
|
List<SecurityGroupRuleUpdate> |
getSecurityGroupRules()
Information about the security group properties to update.
|
int |
hashCode() |
void |
setGroupId(String groupId)
The ID of the security group.
|
void |
setSecurityGroupRules(Collection<SecurityGroupRuleUpdate> securityGroupRules)
Information about the security group properties to update.
|
String |
toString()
Returns a string representation of this object.
|
ModifySecurityGroupRulesRequest |
withGroupId(String groupId)
The ID of the security group.
|
ModifySecurityGroupRulesRequest |
withSecurityGroupRules(Collection<SecurityGroupRuleUpdate> securityGroupRules)
Information about the security group properties to update.
|
ModifySecurityGroupRulesRequest |
withSecurityGroupRules(SecurityGroupRuleUpdate... securityGroupRules)
Information about the security group properties to update.
|
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 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 ModifySecurityGroupRulesRequest withGroupId(String groupId)
The ID of the security group.
groupId
- The ID of the security group.public List<SecurityGroupRuleUpdate> getSecurityGroupRules()
Information about the security group properties to update.
public void setSecurityGroupRules(Collection<SecurityGroupRuleUpdate> securityGroupRules)
Information about the security group properties to update.
securityGroupRules
- Information about the security group properties to update.public ModifySecurityGroupRulesRequest withSecurityGroupRules(SecurityGroupRuleUpdate... securityGroupRules)
Information about the security group properties to update.
NOTE: This method appends the values to the existing list (if any). Use
setSecurityGroupRules(java.util.Collection)
or withSecurityGroupRules(java.util.Collection)
if
you want to override the existing values.
securityGroupRules
- Information about the security group properties to update.public ModifySecurityGroupRulesRequest withSecurityGroupRules(Collection<SecurityGroupRuleUpdate> securityGroupRules)
Information about the security group properties to update.
securityGroupRules
- Information about the security group properties to update.public Request<ModifySecurityGroupRulesRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<ModifySecurityGroupRulesRequest>
public String toString()
toString
in class Object
Object.toString()
public ModifySecurityGroupRulesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()