@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Target extends Object implements Serializable, Cloneable, StructuredPojo
The target of a message, a sender, a user, or a bot. Only the target and the sender can view targeted messages. Only users who can see targeted messages can take actions on them. However, administrators can delete targeted messages that they can’t see.
Constructor and Description |
---|
Target() |
Modifier and Type | Method and Description |
---|---|
Target |
clone() |
boolean |
equals(Object obj) |
String |
getMemberArn()
The ARN of the target channel member.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setMemberArn(String memberArn)
The ARN of the target channel member.
|
String |
toString()
Returns a string representation of this object.
|
Target |
withMemberArn(String memberArn)
The ARN of the target channel member.
|
public void setMemberArn(String memberArn)
The ARN of the target channel member.
memberArn
- The ARN of the target channel member.public String getMemberArn()
The ARN of the target channel member.
public Target withMemberArn(String memberArn)
The ARN of the target channel member.
memberArn
- The ARN of the target channel member.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.