@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RevokeIpRulesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
RevokeIpRulesRequest() |
Modifier and Type | Method and Description |
---|---|
RevokeIpRulesRequest |
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<String> |
getUserRules()
The rules to remove from the group.
|
int |
hashCode() |
void |
setGroupId(String groupId)
The identifier of the group.
|
void |
setUserRules(Collection<String> userRules)
The rules to remove from the group.
|
String |
toString()
Returns a string representation of this object.
|
RevokeIpRulesRequest |
withGroupId(String groupId)
The identifier of the group.
|
RevokeIpRulesRequest |
withUserRules(Collection<String> userRules)
The rules to remove from the group.
|
RevokeIpRulesRequest |
withUserRules(String... userRules)
The rules to remove from the group.
|
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 identifier of the group.
groupId
- The identifier of the group.public String getGroupId()
The identifier of the group.
public RevokeIpRulesRequest withGroupId(String groupId)
The identifier of the group.
groupId
- The identifier of the group.public List<String> getUserRules()
The rules to remove from the group.
public void setUserRules(Collection<String> userRules)
The rules to remove from the group.
userRules
- The rules to remove from the group.public RevokeIpRulesRequest withUserRules(String... userRules)
The rules to remove from the group.
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
- The rules to remove from the group.public RevokeIpRulesRequest withUserRules(Collection<String> userRules)
The rules to remove from the group.
userRules
- The rules to remove from the group.public String toString()
toString
in class Object
Object.toString()
public RevokeIpRulesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()