Package com.amazonaws.services.ec2.model
Class GroupIdentifier
java.lang.Object
com.amazonaws.services.ec2.model.GroupIdentifier
- All Implemented Interfaces:
Serializable,Cloneable
Describes a security group.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanThe ID of the security group.The name of the security group.inthashCode()voidsetGroupId(String groupId) The ID of the security group.voidsetGroupName(String groupName) The name of the security group.toString()Returns a string representation of this object; useful for testing and debugging.withGroupId(String groupId) The ID of the security group.withGroupName(String groupName) The name of the security group.
-
Constructor Details
-
GroupIdentifier
public GroupIdentifier()
-
-
Method Details
-
setGroupName
The name of the security group.
- Parameters:
groupName- The name of the security group.
-
getGroupName
The name of the security group.
- Returns:
- The name of the security group.
-
withGroupName
The name of the security group.
- Parameters:
groupName- The name of the security group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setGroupId
The ID of the security group.
- Parameters:
groupId- The ID of the security group.
-
getGroupId
The ID of the security group.
- Returns:
- The ID of the security group.
-
withGroupId
The ID of the security group.
- Parameters:
groupId- The ID of the security group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-