@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NotificationResource extends Object implements Serializable, Cloneable, StructuredPojo
The details of the resource mentioned in a notification.
| Constructor and Description |
|---|
NotificationResource() |
| Modifier and Type | Method and Description |
|---|---|
NotificationResource |
clone() |
boolean |
equals(Object obj) |
String |
getId()
The ID of the resource mentioned in a notification.
|
String |
getName()
The name of the resource mentioned in a notification.
|
String |
getType()
The type of the resource mentioned in a notification.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setId(String id)
The ID of the resource mentioned in a notification.
|
void |
setName(String name)
The name of the resource mentioned in a notification.
|
void |
setType(String type)
The type of the resource mentioned in a notification.
|
String |
toString()
Returns a string representation of this object.
|
NotificationResource |
withId(String id)
The ID of the resource mentioned in a notification.
|
NotificationResource |
withName(String name)
The name of the resource mentioned in a notification.
|
NotificationResource |
withType(NotificationResourceType type)
The type of the resource mentioned in a notification.
|
NotificationResource |
withType(String type)
The type of the resource mentioned in a notification.
|
public void setId(String id)
The ID of the resource mentioned in a notification.
id - The ID of the resource mentioned in a notification.public String getId()
The ID of the resource mentioned in a notification.
public NotificationResource withId(String id)
The ID of the resource mentioned in a notification.
id - The ID of the resource mentioned in a notification.public void setName(String name)
The name of the resource mentioned in a notification.
name - The name of the resource mentioned in a notification.public String getName()
The name of the resource mentioned in a notification.
public NotificationResource withName(String name)
The name of the resource mentioned in a notification.
name - The name of the resource mentioned in a notification.public void setType(String type)
The type of the resource mentioned in a notification.
type - The type of the resource mentioned in a notification.NotificationResourceTypepublic String getType()
The type of the resource mentioned in a notification.
NotificationResourceTypepublic NotificationResource withType(String type)
The type of the resource mentioned in a notification.
type - The type of the resource mentioned in a notification.NotificationResourceTypepublic NotificationResource withType(NotificationResourceType type)
The type of the resource mentioned in a notification.
type - The type of the resource mentioned in a notification.NotificationResourceTypepublic String toString()
toString in class ObjectObject.toString()public NotificationResource clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.