com.amazonaws.services.elasticache.model
Class EC2SecurityGroup

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

public class EC2SecurityGroup
extends Object
implements Serializable

Provides ownership and status information for an Amazon EC2 security group.

See Also:
Serialized Form

Constructor Summary
EC2SecurityGroup()
          Default constructor for a new EC2SecurityGroup object.
 
Method Summary
 boolean equals(Object obj)
           
 String getEC2SecurityGroupName()
          The name of the Amazon EC2 security group.
 String getEC2SecurityGroupOwnerId()
          The AWS account ID of the Amazon EC2 security group owner.
 String getStatus()
          The status of the Amazon EC2 security group.
 int hashCode()
           
 void setEC2SecurityGroupName(String eC2SecurityGroupName)
          The name of the Amazon EC2 security group.
 void setEC2SecurityGroupOwnerId(String eC2SecurityGroupOwnerId)
          The AWS account ID of the Amazon EC2 security group owner.
 void setStatus(String status)
          The status of the Amazon 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 Amazon EC2 security group.
 EC2SecurityGroup withEC2SecurityGroupOwnerId(String eC2SecurityGroupOwnerId)
          The AWS account ID of the Amazon EC2 security group owner.
 EC2SecurityGroup withStatus(String status)
          The status of the Amazon EC2 security group.
 
Methods inherited from class java.lang.Object
clone, finalize, 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()
The status of the Amazon EC2 security group.

Returns:
The status of the Amazon EC2 security group.

setStatus

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

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

withStatus

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

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

Parameters:
status - The status of the Amazon 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 Amazon EC2 security group.

Returns:
The name of the Amazon EC2 security group.

setEC2SecurityGroupName

public void setEC2SecurityGroupName(String eC2SecurityGroupName)
The name of the Amazon EC2 security group.

Parameters:
eC2SecurityGroupName - The name of the Amazon EC2 security group.

withEC2SecurityGroupName

public EC2SecurityGroup withEC2SecurityGroupName(String eC2SecurityGroupName)
The name of the Amazon EC2 security group.

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

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

getEC2SecurityGroupOwnerId

public String getEC2SecurityGroupOwnerId()
The AWS account ID of the Amazon EC2 security group owner.

Returns:
The AWS account ID of the Amazon EC2 security group owner.

setEC2SecurityGroupOwnerId

public void setEC2SecurityGroupOwnerId(String eC2SecurityGroupOwnerId)
The AWS account ID of the Amazon EC2 security group owner.

Parameters:
eC2SecurityGroupOwnerId - The AWS account ID of the Amazon EC2 security group owner.

withEC2SecurityGroupOwnerId

public EC2SecurityGroup withEC2SecurityGroupOwnerId(String eC2SecurityGroupOwnerId)
The AWS account ID of the Amazon EC2 security group owner.

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

Parameters:
eC2SecurityGroupOwnerId - The AWS account ID of the Amazon EC2 security group owner.
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.