com.amazonaws.services.elasticloadbalancing.model
Class SourceSecurityGroup

java.lang.Object
  extended by com.amazonaws.services.elasticloadbalancing.model.SourceSecurityGroup

public class SourceSecurityGroup
extends Object

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 Summary
SourceSecurityGroup()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SourceSecurityGroup

public SourceSecurityGroup()
Method Detail

getOwnerAlias

public String getOwnerAlias()
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.

Returns:
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.

setOwnerAlias

public void setOwnerAlias(String 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.

Parameters:
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.

withOwnerAlias

public SourceSecurityGroup withOwnerAlias(String 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.

Returns a reference to this object so that method calls can be chained together.

Parameters:
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.
Returns:
A reference to this updated object so that method calls can be chained together.

getGroupName

public String getGroupName()
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.

Returns:
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.

setGroupName

public void setGroupName(String 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.

Parameters:
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.

withGroupName

public SourceSecurityGroup withGroupName(String 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.

Returns a reference to this object so that method calls can be chained together.

Parameters:
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.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.