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 SourceSecurityGroup
clone()
boolean
equals(Object obj)
String
getGroupName()
The name of the security group.String
getOwnerAlias()
The owner of the security group.int
hashCode()
void
setGroupName(String groupName)
The name of the security group.void
setOwnerAlias(String ownerAlias)
The owner of the security group.String
toString()
Returns a string representation of this object; useful for testing and debugging.SourceSecurityGroup
withGroupName(String groupName)
The name of the security group.SourceSecurityGroup
withOwnerAlias(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public SourceSecurityGroup clone()
-
-