@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class WorkspacesIpGroup extends Object implements Serializable, Cloneable, StructuredPojo
Describes an IP access control group.
| Constructor and Description |
|---|
WorkspacesIpGroup() |
| Modifier and Type | Method and Description |
|---|---|
WorkspacesIpGroup |
clone() |
boolean |
equals(Object obj) |
String |
getGroupDesc()
The description of the group.
|
String |
getGroupId()
The identifier of the group.
|
String |
getGroupName()
The name of the group.
|
List<IpRuleItem> |
getUserRules()
The rules.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setGroupDesc(String groupDesc)
The description of the group.
|
void |
setGroupId(String groupId)
The identifier of the group.
|
void |
setGroupName(String groupName)
The name of the group.
|
void |
setUserRules(Collection<IpRuleItem> userRules)
The rules.
|
String |
toString()
Returns a string representation of this object.
|
WorkspacesIpGroup |
withGroupDesc(String groupDesc)
The description of the group.
|
WorkspacesIpGroup |
withGroupId(String groupId)
The identifier of the group.
|
WorkspacesIpGroup |
withGroupName(String groupName)
The name of the group.
|
WorkspacesIpGroup |
withUserRules(Collection<IpRuleItem> userRules)
The rules.
|
WorkspacesIpGroup |
withUserRules(IpRuleItem... userRules)
The rules.
|
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 WorkspacesIpGroup withGroupId(String groupId)
The identifier of the group.
groupId - The identifier of the group.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 WorkspacesIpGroup 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 WorkspacesIpGroup withGroupDesc(String groupDesc)
The description of the group.
groupDesc - The description of the group.public List<IpRuleItem> getUserRules()
The rules.
public void setUserRules(Collection<IpRuleItem> userRules)
The rules.
userRules - The rules.public WorkspacesIpGroup withUserRules(IpRuleItem... userRules)
The rules.
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.public WorkspacesIpGroup withUserRules(Collection<IpRuleItem> userRules)
The rules.
userRules - The rules.public String toString()
toString in class ObjectObject.toString()public WorkspacesIpGroup clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.