@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. | 
| 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 ObjectObject.toString()public SourceSecurityGroup clone()
Copyright © 2021. All rights reserved.