@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SourceSecurityGroup extends Object implements Serializable, Cloneable
Information about a source security group.
Constructor and Description |
---|
SourceSecurityGroup() |
Modifier and Type | Method and 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.
|
public void setOwnerAlias(String ownerAlias)
The owner of the security group.
ownerAlias
- The owner of the security group.public String getOwnerAlias()
The owner of the security group.
public SourceSecurityGroup withOwnerAlias(String ownerAlias)
The owner of the security group.
ownerAlias
- The owner of the security group.public void setGroupName(String groupName)
The name of the security group.
groupName
- The name of the security group.public String getGroupName()
The name of the security group.
public SourceSecurityGroup withGroupName(String groupName)
The name of the security group.
groupName
- The name of the security group.public String toString()
toString
in class Object
Object.toString()
public SourceSecurityGroup clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.