com.amazonaws.services.ec2.model
Class GroupIdentifier

java.lang.Object
  extended by com.amazonaws.services.ec2.model.GroupIdentifier

public class GroupIdentifier
extends Object


Constructor Summary
GroupIdentifier()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getGroupId()
          Returns the value of the GroupId property for this object.
 String getGroupName()
           
 int hashCode()
           
 void setGroupId(String groupId)
          Sets the value of the GroupId property for this object.
 void setGroupName(String groupName)
           
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 GroupIdentifier withGroupId(String groupId)
          Sets the value of the GroupId property for this object.
 GroupIdentifier withGroupName(String groupName)
           Returns a reference to this object so that method calls can be chained together.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GroupIdentifier

public GroupIdentifier()
Method Detail

getGroupName

public String getGroupName()
Returns:

setGroupName

public void setGroupName(String groupName)
Parameters:
groupName -

withGroupName

public GroupIdentifier withGroupName(String groupName)

Returns a reference to this object so that method calls can be chained together.

Parameters:
groupName -
Returns:
A reference to this updated object so that method calls can be chained together.

getGroupId

public String getGroupId()
Returns the value of the GroupId property for this object.

Returns:
The value of the GroupId property for this object.

setGroupId

public void setGroupId(String groupId)
Sets the value of the GroupId property for this object.

Parameters:
groupId - The new value for the GroupId property for this object.

withGroupId

public GroupIdentifier withGroupId(String groupId)
Sets the value of the GroupId property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
groupId - The new value for the GroupId property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.