public class SourceSecurityGroup
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Information about a source security group.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
groupName
The name of the security group.
|
private java.lang.String |
ownerAlias
The owner of the security group.
|
Constructor and Description |
---|
SourceSecurityGroup() |
Modifier and Type | Method and Description |
---|---|
SourceSecurityGroup |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getGroupName()
The name of the security group.
|
java.lang.String |
getOwnerAlias()
The owner of the security group.
|
int |
hashCode() |
void |
setGroupName(java.lang.String groupName)
The name of the security group.
|
void |
setOwnerAlias(java.lang.String ownerAlias)
The owner of the security group.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SourceSecurityGroup |
withGroupName(java.lang.String groupName)
The name of the security group.
|
SourceSecurityGroup |
withOwnerAlias(java.lang.String ownerAlias)
The owner of the security group.
|
private java.lang.String ownerAlias
The owner of the security group.
private java.lang.String groupName
The name of the security group.
public void setOwnerAlias(java.lang.String ownerAlias)
The owner of the security group.
ownerAlias
- The owner of the security group.public java.lang.String getOwnerAlias()
The owner of the security group.
public SourceSecurityGroup withOwnerAlias(java.lang.String ownerAlias)
The owner of the security group.
ownerAlias
- The owner of the security group.public void setGroupName(java.lang.String groupName)
The name of the security group.
groupName
- The name of the security group.public java.lang.String getGroupName()
The name of the security group.
public SourceSecurityGroup withGroupName(java.lang.String groupName)
The name of the security group.
groupName
- The name of the security group.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public SourceSecurityGroup clone()
clone
in class java.lang.Object