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
-
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
-
equals
-
hashCode
-
clone
-