@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AuthorizeIpRulesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
AuthorizeIpRulesRequest() |
Modifier and Type | Method and Description |
---|---|
AuthorizeIpRulesRequest |
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()
The rules to add to the group.
|
int |
hashCode() |
void |
setGroupId(String groupId)
The identifier of the group.
|
void |
setUserRules(Collection<IpRuleItem> userRules)
The rules to add to the group.
|
String |
toString()
Returns a string representation of this object.
|
AuthorizeIpRulesRequest |
withGroupId(String groupId)
The identifier of the group.
|
AuthorizeIpRulesRequest |
withUserRules(Collection<IpRuleItem> userRules)
The rules to add to the group.
|
AuthorizeIpRulesRequest |
withUserRules(IpRuleItem... userRules)
The rules to add to 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 AuthorizeIpRulesRequest withGroupId(String groupId)
The identifier of the group.
groupId
- The identifier of the group.public List<IpRuleItem> getUserRules()
The rules to add to the group.
public void setUserRules(Collection<IpRuleItem> userRules)
The rules to add to the group.
userRules
- The rules to add to the group.public AuthorizeIpRulesRequest withUserRules(IpRuleItem... userRules)
The rules to add to 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 add to the group.public AuthorizeIpRulesRequest withUserRules(Collection<IpRuleItem> userRules)
The rules to add to the group.
userRules
- The rules to add to the group.public String toString()
toString
in class Object
Object.toString()
public AuthorizeIpRulesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Privacy | Site terms | Cookie preferences | © 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.