Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.redshift.model
Class EC2SecurityGroup

java.lang.Object
  extended by com.amazonaws.services.redshift.model.EC2SecurityGroup
All Implemented Interfaces:
Serializable

public class EC2SecurityGroup
extends Object
implements Serializable

Describes an Amazon EC2 security group.

See Also:
Serialized Form

Constructor Summary
EC2SecurityGroup()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getEC2SecurityGroupName()
          The name of the EC2 Security Group.
 String getEC2SecurityGroupOwnerId()
          The AWS ID of the owner of the EC2 security group specified in the EC2SecurityGroupName field.
 String getStatus()
          The status of the EC2 security group.
 int hashCode()
           
 void setEC2SecurityGroupName(String eC2SecurityGroupName)
          The name of the EC2 Security Group.
 void setEC2SecurityGroupOwnerId(String eC2SecurityGroupOwnerId)
          The AWS ID of the owner of the EC2 security group specified in the EC2SecurityGroupName field.
 void setStatus(String status)
          The status of the EC2 security group.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 EC2SecurityGroup withEC2SecurityGroupName(String eC2SecurityGroupName)
          The name of the EC2 Security Group.
 EC2SecurityGroup withEC2SecurityGroupOwnerId(String eC2SecurityGroupOwnerId)
          The AWS ID of the owner of the EC2 security group specified in the EC2SecurityGroupName field.
 EC2SecurityGroup withStatus(String status)
          The status of the EC2 security group.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EC2SecurityGroup

public EC2SecurityGroup()
Method Detail

getStatus

public String getStatus()
The status of the EC2 security group.

Returns:
The status of the EC2 security group.

setStatus

public void setStatus(String status)
The status of the EC2 security group.

Parameters:
status - The status of the EC2 security group.

withStatus

public EC2SecurityGroup withStatus(String status)
The status of the EC2 security group.

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

Parameters:
status - The status of the EC2 security group.
Returns:
A reference to this updated object so that method calls can be chained together.

getEC2SecurityGroupName

public String getEC2SecurityGroupName()
The name of the EC2 Security Group.

Returns:
The name of the EC2 Security Group.

setEC2SecurityGroupName

public void setEC2SecurityGroupName(String eC2SecurityGroupName)
The name of the EC2 Security Group.

Parameters:
eC2SecurityGroupName - The name of the EC2 Security Group.

withEC2SecurityGroupName

public EC2SecurityGroup withEC2SecurityGroupName(String eC2SecurityGroupName)
The name of the EC2 Security Group.

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

Parameters:
eC2SecurityGroupName - The name of the EC2 Security Group.
Returns:
A reference to this updated object so that method calls can be chained together.

getEC2SecurityGroupOwnerId

public String getEC2SecurityGroupOwnerId()
The AWS ID of the owner of the EC2 security group specified in the EC2SecurityGroupName field.

Returns:
The AWS ID of the owner of the EC2 security group specified in the EC2SecurityGroupName field.

setEC2SecurityGroupOwnerId

public void setEC2SecurityGroupOwnerId(String eC2SecurityGroupOwnerId)
The AWS ID of the owner of the EC2 security group specified in the EC2SecurityGroupName field.

Parameters:
eC2SecurityGroupOwnerId - The AWS ID of the owner of the EC2 security group specified in the EC2SecurityGroupName field.

withEC2SecurityGroupOwnerId

public EC2SecurityGroup withEC2SecurityGroupOwnerId(String eC2SecurityGroupOwnerId)
The AWS ID of the owner of the EC2 security group specified in the EC2SecurityGroupName field.

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

Parameters:
eC2SecurityGroupOwnerId - The AWS ID of the owner of the EC2 security group specified in the EC2SecurityGroupName field.
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.