Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.rds.model
Class EC2SecurityGroup

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

public class EC2SecurityGroup
extends Object
implements Serializable

This data type is used as a response element in the following actions:

See Also:
Serialized Form

Constructor Summary
EC2SecurityGroup()
          Default constructor for a new EC2SecurityGroup object.
 
Method Summary
 boolean equals(Object obj)
           
 String getEC2SecurityGroupId()
          Specifies the id of the EC2 Security Group.
 String getEC2SecurityGroupName()
          Specifies the name of the EC2 Security Group.
 String getEC2SecurityGroupOwnerId()
          Specifies the AWS ID of the owner of the EC2 security group specified in the EC2SecurityGroupName field.
 String getStatus()
          Provides the status of the EC2 security group.
 int hashCode()
           
 void setEC2SecurityGroupId(String eC2SecurityGroupId)
          Specifies the id of the EC2 Security Group.
 void setEC2SecurityGroupName(String eC2SecurityGroupName)
          Specifies the name of the EC2 Security Group.
 void setEC2SecurityGroupOwnerId(String eC2SecurityGroupOwnerId)
          Specifies the AWS ID of the owner of the EC2 security group specified in the EC2SecurityGroupName field.
 void setStatus(String status)
          Provides the status of the EC2 security group.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 EC2SecurityGroup withEC2SecurityGroupId(String eC2SecurityGroupId)
          Specifies the id of the EC2 Security Group.
 EC2SecurityGroup withEC2SecurityGroupName(String eC2SecurityGroupName)
          Specifies the name of the EC2 Security Group.
 EC2SecurityGroup withEC2SecurityGroupOwnerId(String eC2SecurityGroupOwnerId)
          Specifies the AWS ID of the owner of the EC2 security group specified in the EC2SecurityGroupName field.
 EC2SecurityGroup withStatus(String status)
          Provides 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()
Default constructor for a new EC2SecurityGroup object. Callers should use the setter or fluent setter (with...) methods to initialize this object after creating it.

Method Detail

getStatus

public String getStatus()
Provides the status of the EC2 security group. Status can be "authorizing", "authorized", "revoking", and "revoked".

Returns:
Provides the status of the EC2 security group. Status can be "authorizing", "authorized", "revoking", and "revoked".

setStatus

public void setStatus(String status)
Provides the status of the EC2 security group. Status can be "authorizing", "authorized", "revoking", and "revoked".

Parameters:
status - Provides the status of the EC2 security group. Status can be "authorizing", "authorized", "revoking", and "revoked".

withStatus

public EC2SecurityGroup withStatus(String status)
Provides the status of the EC2 security group. Status can be "authorizing", "authorized", "revoking", and "revoked".

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

Parameters:
status - Provides the status of the EC2 security group. Status can be "authorizing", "authorized", "revoking", and "revoked".
Returns:
A reference to this updated object so that method calls can be chained together.

getEC2SecurityGroupName

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

Returns:
Specifies the name of the EC2 Security Group.

setEC2SecurityGroupName

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

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

withEC2SecurityGroupName

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

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

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

getEC2SecurityGroupId

public String getEC2SecurityGroupId()
Specifies the id of the EC2 Security Group.

Returns:
Specifies the id of the EC2 Security Group.

setEC2SecurityGroupId

public void setEC2SecurityGroupId(String eC2SecurityGroupId)
Specifies the id of the EC2 Security Group.

Parameters:
eC2SecurityGroupId - Specifies the id of the EC2 Security Group.

withEC2SecurityGroupId

public EC2SecurityGroup withEC2SecurityGroupId(String eC2SecurityGroupId)
Specifies the id of the EC2 Security Group.

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

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

getEC2SecurityGroupOwnerId

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

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

setEC2SecurityGroupOwnerId

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

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

withEC2SecurityGroupOwnerId

public EC2SecurityGroup withEC2SecurityGroupOwnerId(String eC2SecurityGroupOwnerId)
Specifies 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 - Specifies 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.