public class EC2SecurityGroup
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
This data type is used as a response element in the following actions:
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
eC2SecurityGroupId
Specifies the id of the EC2 security group.
|
private java.lang.String |
eC2SecurityGroupName
Specifies the name of the EC2 security group.
|
private java.lang.String |
eC2SecurityGroupOwnerId
Specifies the AWS ID of the owner of the EC2 security group specified in
the
EC2SecurityGroupName field. |
private java.lang.String |
status
Provides the status of the EC2 security group.
|
Constructor and Description |
---|
EC2SecurityGroup() |
Modifier and Type | Method and Description |
---|---|
EC2SecurityGroup |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getEC2SecurityGroupId()
Specifies the id of the EC2 security group.
|
java.lang.String |
getEC2SecurityGroupName()
Specifies the name of the EC2 security group.
|
java.lang.String |
getEC2SecurityGroupOwnerId()
Specifies the AWS ID of the owner of the EC2 security group specified in
the
EC2SecurityGroupName field. |
java.lang.String |
getStatus()
Provides the status of the EC2 security group.
|
int |
hashCode() |
void |
setEC2SecurityGroupId(java.lang.String eC2SecurityGroupId)
Specifies the id of the EC2 security group.
|
void |
setEC2SecurityGroupName(java.lang.String eC2SecurityGroupName)
Specifies the name of the EC2 security group.
|
void |
setEC2SecurityGroupOwnerId(java.lang.String eC2SecurityGroupOwnerId)
Specifies the AWS ID of the owner of the EC2 security group specified in
the
EC2SecurityGroupName field. |
void |
setStatus(java.lang.String status)
Provides the status of the EC2 security group.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
EC2SecurityGroup |
withEC2SecurityGroupId(java.lang.String eC2SecurityGroupId)
Specifies the id of the EC2 security group.
|
EC2SecurityGroup |
withEC2SecurityGroupName(java.lang.String eC2SecurityGroupName)
Specifies the name of the EC2 security group.
|
EC2SecurityGroup |
withEC2SecurityGroupOwnerId(java.lang.String eC2SecurityGroupOwnerId)
Specifies the AWS ID of the owner of the EC2 security group specified in
the
EC2SecurityGroupName field. |
EC2SecurityGroup |
withStatus(java.lang.String status)
Provides the status of the EC2 security group.
|
private java.lang.String status
Provides the status of the EC2 security group. Status can be "authorizing", "authorized", "revoking", and "revoked".
private java.lang.String eC2SecurityGroupName
Specifies the name of the EC2 security group.
private java.lang.String eC2SecurityGroupId
Specifies the id of the EC2 security group.
private java.lang.String eC2SecurityGroupOwnerId
Specifies the AWS ID of the owner of the EC2 security group specified in
the EC2SecurityGroupName
field.
public void setStatus(java.lang.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 java.lang.String getStatus()
Provides the status of the EC2 security group. Status can be "authorizing", "authorized", "revoking", and "revoked".
public EC2SecurityGroup withStatus(java.lang.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(java.lang.String eC2SecurityGroupName)
Specifies the name of the EC2 security group.
eC2SecurityGroupName
- Specifies the name of the EC2 security group.public java.lang.String getEC2SecurityGroupName()
Specifies the name of the EC2 security group.
public EC2SecurityGroup withEC2SecurityGroupName(java.lang.String eC2SecurityGroupName)
Specifies the name of the EC2 security group.
eC2SecurityGroupName
- Specifies the name of the EC2 security group.public void setEC2SecurityGroupId(java.lang.String eC2SecurityGroupId)
Specifies the id of the EC2 security group.
eC2SecurityGroupId
- Specifies the id of the EC2 security group.public java.lang.String getEC2SecurityGroupId()
Specifies the id of the EC2 security group.
public EC2SecurityGroup withEC2SecurityGroupId(java.lang.String eC2SecurityGroupId)
Specifies the id of the EC2 security group.
eC2SecurityGroupId
- Specifies the id of the EC2 security group.public void setEC2SecurityGroupOwnerId(java.lang.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 java.lang.String getEC2SecurityGroupOwnerId()
Specifies the AWS ID of the owner of the EC2 security group specified in
the EC2SecurityGroupName
field.
EC2SecurityGroupName
field.public EC2SecurityGroup withEC2SecurityGroupOwnerId(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public EC2SecurityGroup clone()
clone
in class java.lang.Object