public class EC2SecurityGroup extends Object implements Serializable
Describes an Amazon EC2 security group.
Constructor and Description |
---|
EC2SecurityGroup() |
Modifier and Type | Method and Description |
---|---|
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.
|
public String getStatus()
public void setStatus(String status)
status
- The status of the EC2 security group.public EC2SecurityGroup withStatus(String status)
Returns a reference to this object so that method calls can be chained together.
status
- The status of the EC2 security group.public String getEC2SecurityGroupName()
public void setEC2SecurityGroupName(String eC2SecurityGroupName)
eC2SecurityGroupName
- The name of the EC2 Security Group.public EC2SecurityGroup withEC2SecurityGroupName(String eC2SecurityGroupName)
Returns a reference to this object so that method calls can be chained together.
eC2SecurityGroupName
- The name of the EC2 Security Group.public String getEC2SecurityGroupOwnerId()
EC2SecurityGroupName
field.EC2SecurityGroupName
field.public void setEC2SecurityGroupOwnerId(String eC2SecurityGroupOwnerId)
EC2SecurityGroupName
field.eC2SecurityGroupOwnerId
- The AWS ID of the owner of the EC2 security group specified in the
EC2SecurityGroupName
field.public EC2SecurityGroup withEC2SecurityGroupOwnerId(String eC2SecurityGroupOwnerId)
EC2SecurityGroupName
field.
Returns a reference to this object so that method calls can be chained together.
eC2SecurityGroupOwnerId
- The AWS ID of the owner of the EC2 security group specified in the
EC2SecurityGroupName
field.public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.