Class EC2SecurityGroup
java.lang.Object
com.amazonaws.services.elasticache.model.EC2SecurityGroup
- All Implemented Interfaces:
Serializable
,Cloneable
Provides ownership and status information for an Amazon EC2 security group.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The name of the Amazon EC2 security group.The AWS account ID of the Amazon EC2 security group owner.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
The status of the Amazon EC2 security group.toString()
Returns a string representation of this object; useful for testing and debugging.withEC2SecurityGroupName
(String eC2SecurityGroupName) The name of the Amazon EC2 security group.withEC2SecurityGroupOwnerId
(String eC2SecurityGroupOwnerId) The AWS account ID of the Amazon EC2 security group owner.withStatus
(String status) The status of the Amazon EC2 security group.
-
Constructor Details
-
EC2SecurityGroup
public EC2SecurityGroup()
-
-
Method Details
-
setStatus
The status of the Amazon EC2 security group.
- Parameters:
status
- The status of the Amazon EC2 security group.
-
getStatus
The status of the Amazon EC2 security group.
- Returns:
- The status of the Amazon EC2 security group.
-
withStatus
The status of the Amazon EC2 security group.
- Parameters:
status
- The status of the Amazon EC2 security group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setEC2SecurityGroupName
The name of the Amazon EC2 security group.
- Parameters:
eC2SecurityGroupName
- The name of the Amazon EC2 security group.
-
getEC2SecurityGroupName
The name of the Amazon EC2 security group.
- Returns:
- The name of the Amazon EC2 security group.
-
withEC2SecurityGroupName
The name of the Amazon EC2 security group.
- Parameters:
eC2SecurityGroupName
- The name of the Amazon EC2 security group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setEC2SecurityGroupOwnerId
The AWS account ID of the Amazon EC2 security group owner.
- Parameters:
eC2SecurityGroupOwnerId
- The AWS account ID of the Amazon EC2 security group owner.
-
getEC2SecurityGroupOwnerId
The AWS account ID of the Amazon EC2 security group owner.
- Returns:
- The AWS account ID of the Amazon EC2 security group owner.
-
withEC2SecurityGroupOwnerId
The AWS account ID of the Amazon EC2 security group owner.
- Parameters:
eC2SecurityGroupOwnerId
- The AWS account ID of the Amazon EC2 security group owner.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-