@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()
Creates a shallow clone of this object for all fields except the handler context.
|
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, 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 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 Object
Object.toString()
public CreateIpGroupRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.