@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateIpGroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
CreateIpGroupRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateIpGroupRequest |
clone() |
boolean |
equals(Object obj) |
String |
getGroupDesc()
The description of the group.
|
String |
getGroupName()
The name of the group.
|
List<IpRuleItem> |
getUserRules()
The rules to add to the group.
|
int |
hashCode() |
void |
setGroupDesc(String groupDesc)
The description of the group.
|
void |
setGroupName(String groupName)
The name of the group.
|
void |
setUserRules(Collection<IpRuleItem> userRules)
The rules to add to the group.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreateIpGroupRequest |
withGroupDesc(String groupDesc)
The description of the group.
|
CreateIpGroupRequest |
withGroupName(String groupName)
The name of the group.
|
CreateIpGroupRequest |
withUserRules(Collection<IpRuleItem> userRules)
The rules to add to the group.
|
CreateIpGroupRequest |
withUserRules(IpRuleItem... userRules)
The rules to add to the group.
|
addHandlerContext, copyBaseTo, 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 setGroupName(String groupName)
The name of the group.
groupName - The name of the group.public String getGroupName()
The name of the group.
public CreateIpGroupRequest withGroupName(String groupName)
The name of the group.
groupName - The name of the group.public void setGroupDesc(String groupDesc)
The description of the group.
groupDesc - The description of the group.public String getGroupDesc()
The description of the group.
public CreateIpGroupRequest withGroupDesc(String groupDesc)
The description of the group.
groupDesc - The description 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 CreateIpGroupRequest 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 CreateIpGroupRequest 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 ObjectObject.toString()public CreateIpGroupRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2018. All rights reserved.