Class SourceSecurityGroup
- java.lang.Object
-
- com.amazonaws.services.elasticloadbalancing.model.SourceSecurityGroup
-
- All Implemented Interfaces:
Serializable,Cloneable
public class SourceSecurityGroup extends Object implements Serializable, Cloneable
Information about a source security group.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SourceSecurityGroup()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SourceSecurityGroupclone()booleanequals(Object obj)StringgetGroupName()The name of the security group.StringgetOwnerAlias()The owner of the security group.inthashCode()voidsetGroupName(String groupName)The name of the security group.voidsetOwnerAlias(String ownerAlias)The owner of the security group.StringtoString()Returns a string representation of this object; useful for testing and debugging.SourceSecurityGroupwithGroupName(String groupName)The name of the security group.SourceSecurityGroupwithOwnerAlias(String ownerAlias)The owner of the security group.
-
-
-
Method Detail
-
setOwnerAlias
public void setOwnerAlias(String ownerAlias)
The owner of the security group.
- Parameters:
ownerAlias- The owner of the security group.
-
getOwnerAlias
public String getOwnerAlias()
The owner of the security group.
- Returns:
- The owner of the security group.
-
withOwnerAlias
public SourceSecurityGroup withOwnerAlias(String ownerAlias)
The owner of the security group.
- Parameters:
ownerAlias- The owner of the security group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setGroupName
public void setGroupName(String groupName)
The name of the security group.
- Parameters:
groupName- The name of the security group.
-
getGroupName
public String getGroupName()
The name of the security group.
- Returns:
- The name of the security group.
-
withGroupName
public SourceSecurityGroup withGroupName(String groupName)
The name of the security group.
- Parameters:
groupName- The name of the security group.- Returns:
- Returns a reference to this 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public SourceSecurityGroup clone()
-
-