public static class SNSEvent.MessageAttribute extends Object implements Serializable, Cloneable
Constructor and Description |
---|
MessageAttribute()
default constructor
(not available in v1)
|
Modifier and Type | Method and Description |
---|---|
SNSEvent.MessageAttribute |
clone() |
boolean |
equals(Object obj) |
String |
getType()
Gets the attribute type
|
String |
getValue()
Gets the attribute value
|
int |
hashCode() |
void |
setType(String type)
Sets the attribute type
|
void |
setValue(String value)
Sets the attribute value
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
SNSEvent.MessageAttribute |
withType(String type) |
SNSEvent.MessageAttribute |
withValue(String value) |
public MessageAttribute()
public String getType()
public void setType(String type)
type
- A string representing the attribute typepublic SNSEvent.MessageAttribute withType(String type)
type
- typepublic String getValue()
public void setValue(String value)
value
- A string containing the attribute valuepublic SNSEvent.MessageAttribute withValue(String value)
value
- attriute valuepublic String toString()
toString
in class Object
Object.toString()
public SNSEvent.MessageAttribute clone()
Copyright © 2017. All rights reserved.