com.amazonaws.services.ec2.model
Class CreateSecurityGroupResult

java.lang.Object
  extended by com.amazonaws.services.ec2.model.CreateSecurityGroupResult
All Implemented Interfaces:
Serializable

public class CreateSecurityGroupResult
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
CreateSecurityGroupResult()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getGroupId()
          The ID of the security group.
 int hashCode()
           
 void setGroupId(String groupId)
          The ID of the security group.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 CreateSecurityGroupResult withGroupId(String groupId)
          The ID of the security group.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CreateSecurityGroupResult

public CreateSecurityGroupResult()
Method Detail

getGroupId

public String getGroupId()
The ID of the security group.

Returns:
The ID of the security group.

setGroupId

public void setGroupId(String groupId)
The ID of the security group.

Parameters:
groupId - The ID of the security group.

withGroupId

public CreateSecurityGroupResult withGroupId(String groupId)
The ID of the security group.

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

Parameters:
groupId - The ID of the security group.
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 © 2016. All rights reserved.