com.amazonaws.services.elasticloadbalancing.model
Class SourceSecurityGroup

java.lang.Object
  extended by com.amazonaws.services.elasticloadbalancing.model.SourceSecurityGroup
All Implemented Interfaces:
java.io.Serializable

public class SourceSecurityGroup
extends java.lang.Object
implements java.io.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 .

See Also:
Serialized Form

Constructor Summary
SourceSecurityGroup()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getGroupName()
          Name of the source security group.
 java.lang.String getOwnerAlias()
          Owner of the source security group.
 int hashCode()
           
 void setGroupName(java.lang.String groupName)
          Name of the source security group.
 void setOwnerAlias(java.lang.String ownerAlias)
          Owner of the source security group.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 SourceSecurityGroup withGroupName(java.lang.String groupName)
          Name of the source security group.
 SourceSecurityGroup withOwnerAlias(java.lang.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 java.lang.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(java.lang.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(java.lang.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 java.lang.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(java.lang.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(java.lang.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 java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

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

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


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