@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateRulesOfIpGroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
UpdateRulesOfIpGroupRequest() |
| Modifier and Type | Method and Description |
|---|---|
UpdateRulesOfIpGroupRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getGroupId()
The identifier of the group.
|
List<IpRuleItem> |
getUserRules()
One or more rules.
|
int |
hashCode() |
void |
setGroupId(String groupId)
The identifier of the group.
|
void |
setUserRules(Collection<IpRuleItem> userRules)
One or more rules.
|
String |
toString()
Returns a string representation of this object.
|
UpdateRulesOfIpGroupRequest |
withGroupId(String groupId)
The identifier of the group.
|
UpdateRulesOfIpGroupRequest |
withUserRules(Collection<IpRuleItem> userRules)
One or more rules.
|
UpdateRulesOfIpGroupRequest |
withUserRules(IpRuleItem... userRules)
One or more 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, withSdkRequestTimeoutpublic void setGroupId(String groupId)
The identifier of the group.
groupId - The identifier of the group.public String getGroupId()
The identifier of the group.
public UpdateRulesOfIpGroupRequest withGroupId(String groupId)
The identifier of the group.
groupId - The identifier of the group.public List<IpRuleItem> getUserRules()
One or more rules.
public void setUserRules(Collection<IpRuleItem> userRules)
One or more rules.
userRules - One or more rules.public UpdateRulesOfIpGroupRequest withUserRules(IpRuleItem... userRules)
One or more rules.
NOTE: This method appends the values to the existing list (if any). Use
setUserRules(java.util.Collection) or withUserRules(java.util.Collection) if you want to
override the existing values.
userRules - One or more rules.public UpdateRulesOfIpGroupRequest withUserRules(Collection<IpRuleItem> userRules)
One or more rules.
userRules - One or more rules.public String toString()
toString in class ObjectObject.toString()public UpdateRulesOfIpGroupRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()