@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RecommendationRelatedEventResource extends Object implements Serializable, Cloneable, StructuredPojo
Information about an Amazon Web Services resource that emitted and event that is related to a recommendation in an insight.
Constructor and Description |
---|
RecommendationRelatedEventResource() |
Modifier and Type | Method and Description |
---|---|
RecommendationRelatedEventResource |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name of the resource that emitted the event.
|
String |
getType()
The type of the resource that emitted the event.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setName(String name)
The name of the resource that emitted the event.
|
void |
setType(String type)
The type of the resource that emitted the event.
|
String |
toString()
Returns a string representation of this object.
|
RecommendationRelatedEventResource |
withName(String name)
The name of the resource that emitted the event.
|
RecommendationRelatedEventResource |
withType(String type)
The type of the resource that emitted the event.
|
public void setName(String name)
The name of the resource that emitted the event. This corresponds to the Name
field in an
EventResource
object.
name
- The name of the resource that emitted the event. This corresponds to the Name
field in an
EventResource
object.public String getName()
The name of the resource that emitted the event. This corresponds to the Name
field in an
EventResource
object.
Name
field in an
EventResource
object.public RecommendationRelatedEventResource withName(String name)
The name of the resource that emitted the event. This corresponds to the Name
field in an
EventResource
object.
name
- The name of the resource that emitted the event. This corresponds to the Name
field in an
EventResource
object.public void setType(String type)
The type of the resource that emitted the event. This corresponds to the Type
field in an
EventResource
object.
type
- The type of the resource that emitted the event. This corresponds to the Type
field in an
EventResource
object.public String getType()
The type of the resource that emitted the event. This corresponds to the Type
field in an
EventResource
object.
Type
field in an
EventResource
object.public RecommendationRelatedEventResource withType(String type)
The type of the resource that emitted the event. This corresponds to the Type
field in an
EventResource
object.
type
- The type of the resource that emitted the event. This corresponds to the Type
field in an
EventResource
object.public String toString()
toString
in class Object
Object.toString()
public RecommendationRelatedEventResource clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.