@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<Tag> |
getTags()
The tags.
|
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 |
setTags(Collection<Tag> tags)
The tags.
|
void |
setUserRules(Collection<IpRuleItem> userRules)
The rules to add to the group.
|
String |
toString()
Returns a string representation of this object.
|
CreateIpGroupRequest |
withGroupDesc(String groupDesc)
The description of the group.
|
CreateIpGroupRequest |
withGroupName(String groupName)
The name of the group.
|
CreateIpGroupRequest |
withTags(Collection<Tag> tags)
The tags.
|
CreateIpGroupRequest |
withTags(Tag... tags)
The tags.
|
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 List<Tag> getTags()
The tags. Each WorkSpaces resource can have a maximum of 50 tags.
public void setTags(Collection<Tag> tags)
The tags. Each WorkSpaces resource can have a maximum of 50 tags.
tags
- The tags. Each WorkSpaces resource can have a maximum of 50 tags.public CreateIpGroupRequest withTags(Tag... tags)
The tags. Each WorkSpaces resource can have a maximum of 50 tags.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- The tags. Each WorkSpaces resource can have a maximum of 50 tags.public CreateIpGroupRequest withTags(Collection<Tag> tags)
The tags. Each WorkSpaces resource can have a maximum of 50 tags.
tags
- The tags. Each WorkSpaces resource can have a maximum of 50 tags.public String toString()
toString
in class Object
Object.toString()
public CreateIpGroupRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()