public class EC2SecurityGroup extends Object implements Serializable, Cloneable
This data type is used as a response element in the following actions:
| Constructor and Description |
|---|
EC2SecurityGroup()
Default constructor for a new EC2SecurityGroup object.
|
| Modifier and Type | Method and Description |
|---|---|
EC2SecurityGroup |
clone() |
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.
|
public EC2SecurityGroup()
public String getStatus()
public void setStatus(String status)
status - Provides the status of the EC2 security group. Status can be
"authorizing", "authorized", "revoking", and "revoked".public EC2SecurityGroup withStatus(String status)
Returns a reference to this object so that method calls can be chained together.
status - Provides the status of the EC2 security group. Status can be
"authorizing", "authorized", "revoking", and "revoked".public String getEC2SecurityGroupName()
public void setEC2SecurityGroupName(String eC2SecurityGroupName)
eC2SecurityGroupName - Specifies 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 - Specifies the name of the EC2 security group.public String getEC2SecurityGroupId()
public void setEC2SecurityGroupId(String eC2SecurityGroupId)
eC2SecurityGroupId - Specifies the id of the EC2 security group.public EC2SecurityGroup withEC2SecurityGroupId(String eC2SecurityGroupId)
Returns a reference to this object so that method calls can be chained together.
eC2SecurityGroupId - Specifies the id of the EC2 security group.public String getEC2SecurityGroupOwnerId()
EC2SecurityGroupName field.EC2SecurityGroupName field.public void setEC2SecurityGroupOwnerId(String eC2SecurityGroupOwnerId)
EC2SecurityGroupName field.eC2SecurityGroupOwnerId - Specifies 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 - Specifies the AWS ID of the owner of the EC2 security group specified
in the EC2SecurityGroupName field.public String toString()
toString in class ObjectObject.toString()public EC2SecurityGroup clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.