Class EC2SecurityGroup
- All Implemented Interfaces:
Serializable, Cloneable
This data type is used as a response element in the following actions:
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanSpecifies the id of the EC2 security group.Specifies the name of the EC2 security group.Specifies the AWS ID of the owner of the EC2 security group specified in theEC2SecurityGroupNamefield.Provides the status of the EC2 security group.inthashCode()voidsetEC2SecurityGroupId(String eC2SecurityGroupId) Specifies the id of the EC2 security group.voidsetEC2SecurityGroupName(String eC2SecurityGroupName) Specifies the name of the EC2 security group.voidsetEC2SecurityGroupOwnerId(String eC2SecurityGroupOwnerId) Specifies the AWS ID of the owner of the EC2 security group specified in theEC2SecurityGroupNamefield.voidProvides the status of the EC2 security group.toString()Returns a string representation of this object; useful for testing and debugging.withEC2SecurityGroupId(String eC2SecurityGroupId) Specifies the id of the EC2 security group.withEC2SecurityGroupName(String eC2SecurityGroupName) Specifies the name of the EC2 security group.withEC2SecurityGroupOwnerId(String eC2SecurityGroupOwnerId) Specifies the AWS ID of the owner of the EC2 security group specified in theEC2SecurityGroupNamefield.withStatus(String status) Provides the status of the EC2 security group.
-
Constructor Details
-
EC2SecurityGroup
public EC2SecurityGroup()
-
-
Method Details
-
setStatus
Provides the status of the EC2 security group. Status can be "authorizing", "authorized", "revoking", and "revoked".
- Parameters:
status- Provides the status of the EC2 security group. Status can be "authorizing", "authorized", "revoking", and "revoked".
-
getStatus
Provides the status of the EC2 security group. Status can be "authorizing", "authorized", "revoking", and "revoked".
- Returns:
- Provides the status of the EC2 security group. Status can be "authorizing", "authorized", "revoking", and "revoked".
-
withStatus
Provides the status of the EC2 security group. Status can be "authorizing", "authorized", "revoking", and "revoked".
- Parameters:
status- Provides the status of the EC2 security group. Status can be "authorizing", "authorized", "revoking", and "revoked".- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setEC2SecurityGroupName
Specifies the name of the EC2 security group.
- Parameters:
eC2SecurityGroupName- Specifies the name of the EC2 security group.
-
getEC2SecurityGroupName
Specifies the name of the EC2 security group.
- Returns:
- Specifies the name of the EC2 security group.
-
withEC2SecurityGroupName
Specifies the name of the EC2 security group.
- Parameters:
eC2SecurityGroupName- Specifies the name of the EC2 security group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setEC2SecurityGroupId
Specifies the id of the EC2 security group.
- Parameters:
eC2SecurityGroupId- Specifies the id of the EC2 security group.
-
getEC2SecurityGroupId
Specifies the id of the EC2 security group.
- Returns:
- Specifies the id of the EC2 security group.
-
withEC2SecurityGroupId
Specifies the id of the EC2 security group.
- Parameters:
eC2SecurityGroupId- Specifies the id of the EC2 security group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setEC2SecurityGroupOwnerId
Specifies the AWS ID of the owner of the EC2 security group specified in the
EC2SecurityGroupNamefield.- Parameters:
eC2SecurityGroupOwnerId- Specifies the AWS ID of the owner of the EC2 security group specified in theEC2SecurityGroupNamefield.
-
getEC2SecurityGroupOwnerId
Specifies the AWS ID of the owner of the EC2 security group specified in the
EC2SecurityGroupNamefield.- Returns:
- Specifies the AWS ID of the owner of the EC2 security group
specified in the
EC2SecurityGroupNamefield.
-
withEC2SecurityGroupOwnerId
Specifies the AWS ID of the owner of the EC2 security group specified in the
EC2SecurityGroupNamefield.- Parameters:
eC2SecurityGroupOwnerId- Specifies the AWS ID of the owner of the EC2 security group specified in theEC2SecurityGroupNamefield.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
-
equals
-
hashCode
-
clone
-