@Generated(value="com.amazonaws:aws-java-sdk-code-generator") 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() |
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 void setStatus(String status)
Provides the status of the EC2 security group. Status can be "authorizing", "authorized", "revoking", and "revoked".
status
- Provides the status of the EC2 security group. Status can be "authorizing", "authorized", "revoking", and
"revoked".public String getStatus()
Provides the status of the EC2 security group. Status can be "authorizing", "authorized", "revoking", and "revoked".
public EC2SecurityGroup withStatus(String status)
Provides the status of the EC2 security group. Status can be "authorizing", "authorized", "revoking", and "revoked".
status
- Provides the status of the EC2 security group. Status can be "authorizing", "authorized", "revoking", and
"revoked".public void setEC2SecurityGroupName(String eC2SecurityGroupName)
Specifies the name of the EC2 security group.
eC2SecurityGroupName
- Specifies the name of the EC2 security group.public String getEC2SecurityGroupName()
Specifies the name of the EC2 security group.
public EC2SecurityGroup withEC2SecurityGroupName(String eC2SecurityGroupName)
Specifies the name of the EC2 security group.
eC2SecurityGroupName
- Specifies the name of the EC2 security group.public void setEC2SecurityGroupId(String eC2SecurityGroupId)
Specifies the id of the EC2 security group.
eC2SecurityGroupId
- Specifies the id of the EC2 security group.public String getEC2SecurityGroupId()
Specifies the id of the EC2 security group.
public EC2SecurityGroup withEC2SecurityGroupId(String eC2SecurityGroupId)
Specifies the id of the EC2 security group.
eC2SecurityGroupId
- Specifies the id of the EC2 security group.public void setEC2SecurityGroupOwnerId(String eC2SecurityGroupOwnerId)
Specifies the AWS ID of the owner of the EC2 security group specified in the EC2SecurityGroupName
field.
eC2SecurityGroupOwnerId
- Specifies the AWS ID of the owner of the EC2 security group specified in the
EC2SecurityGroupName
field.public String getEC2SecurityGroupOwnerId()
Specifies the AWS ID of the owner of the EC2 security group specified in the EC2SecurityGroupName
field.
EC2SecurityGroupName
field.public EC2SecurityGroup withEC2SecurityGroupOwnerId(String eC2SecurityGroupOwnerId)
Specifies the AWS ID of the owner of the EC2 security group specified in the EC2SecurityGroupName
field.
eC2SecurityGroupOwnerId
- Specifies 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()
public EC2SecurityGroup clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.