@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class IpamPublicAddressSecurityGroup extends Object implements Serializable, Cloneable
The security group that the resource with the public IP address is in.
Constructor and Description |
---|
IpamPublicAddressSecurityGroup() |
Modifier and Type | Method and Description |
---|---|
IpamPublicAddressSecurityGroup |
clone() |
boolean |
equals(Object obj) |
String |
getGroupId()
The security group's ID.
|
String |
getGroupName()
The security group's name.
|
int |
hashCode() |
void |
setGroupId(String groupId)
The security group's ID.
|
void |
setGroupName(String groupName)
The security group's name.
|
String |
toString()
Returns a string representation of this object.
|
IpamPublicAddressSecurityGroup |
withGroupId(String groupId)
The security group's ID.
|
IpamPublicAddressSecurityGroup |
withGroupName(String groupName)
The security group's name.
|
public void setGroupName(String groupName)
The security group's name.
groupName
- The security group's name.public String getGroupName()
The security group's name.
public IpamPublicAddressSecurityGroup withGroupName(String groupName)
The security group's name.
groupName
- The security group's name.public void setGroupId(String groupId)
The security group's ID.
groupId
- The security group's ID.public String getGroupId()
The security group's ID.
public IpamPublicAddressSecurityGroup withGroupId(String groupId)
The security group's ID.
groupId
- The security group's ID.public String toString()
toString
in class Object
Object.toString()
public IpamPublicAddressSecurityGroup clone()