@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SecurityGroupIdentifier extends Object implements Serializable, Cloneable, StructuredPojo
Information about the device's security group.
Constructor and Description |
---|
SecurityGroupIdentifier() |
Modifier and Type | Method and Description |
---|---|
SecurityGroupIdentifier |
clone() |
boolean |
equals(Object obj) |
String |
getGroupId()
The security group ID.
|
String |
getGroupName()
The security group name.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setGroupId(String groupId)
The security group ID.
|
void |
setGroupName(String groupName)
The security group name.
|
String |
toString()
Returns a string representation of this object.
|
SecurityGroupIdentifier |
withGroupId(String groupId)
The security group ID.
|
SecurityGroupIdentifier |
withGroupName(String groupName)
The security group name.
|
public void setGroupId(String groupId)
The security group ID.
groupId
- The security group ID.public String getGroupId()
The security group ID.
public SecurityGroupIdentifier withGroupId(String groupId)
The security group ID.
groupId
- The security group ID.public void setGroupName(String groupName)
The security group name.
groupName
- The security group name.public String getGroupName()
The security group name.
public SecurityGroupIdentifier withGroupName(String groupName)
The security group name.
groupName
- The security group name.public String toString()
toString
in class Object
Object.toString()
public SecurityGroupIdentifier clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.