public class SourceSecurityGroup extends Object implements Serializable
This data type is used as a response element in the DescribeLoadBalancers action. For information about Elastic Load Balancing security groups, go to Using Security Groups With Elastic Load Balancing in the Elastic Load Balancing Developer Guide .
Constructor and Description |
---|
SourceSecurityGroup() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getGroupName()
Name of the source security group.
|
String |
getOwnerAlias()
Owner of the source security group.
|
int |
hashCode() |
void |
setGroupName(String groupName)
Name of the source security group.
|
void |
setOwnerAlias(String ownerAlias)
Owner of the source security group.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SourceSecurityGroup |
withGroupName(String groupName)
Name of the source security group.
|
SourceSecurityGroup |
withOwnerAlias(String ownerAlias)
Owner of the source security group.
|
public String getOwnerAlias()
--source-group-user
parameter of the
ec2-authorize
command in the Amazon EC2 command line
tool.--source-group-user
parameter of the
ec2-authorize
command in the Amazon EC2 command line
tool.public void setOwnerAlias(String ownerAlias)
--source-group-user
parameter of the
ec2-authorize
command in the Amazon EC2 command line
tool.ownerAlias
- Owner of the source security group. Use this value for the
--source-group-user
parameter of the
ec2-authorize
command in the Amazon EC2 command line
tool.public SourceSecurityGroup withOwnerAlias(String ownerAlias)
--source-group-user
parameter of the
ec2-authorize
command in the Amazon EC2 command line
tool.
Returns a reference to this object so that method calls can be chained together.
ownerAlias
- Owner of the source security group. Use this value for the
--source-group-user
parameter of the
ec2-authorize
command in the Amazon EC2 command line
tool.public String getGroupName()
--source-group
parameter of the
ec2-authorize
command in the Amazon EC2 command line
tool.--source-group
parameter of the
ec2-authorize
command in the Amazon EC2 command line
tool.public void setGroupName(String groupName)
--source-group
parameter of the
ec2-authorize
command in the Amazon EC2 command line
tool.groupName
- Name of the source security group. Use this value for the
--source-group
parameter of the
ec2-authorize
command in the Amazon EC2 command line
tool.public SourceSecurityGroup withGroupName(String groupName)
--source-group
parameter of the
ec2-authorize
command in the Amazon EC2 command line
tool.
Returns a reference to this object so that method calls can be chained together.
groupName
- Name of the source security group. Use this value for the
--source-group
parameter of the
ec2-authorize
command in the Amazon EC2 command line
tool.public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.