@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Target extends Object implements Serializable, Cloneable, StructuredPojo
The contact or contact channel that's being engaged.
Constructor and Description |
---|
Target() |
Modifier and Type | Method and Description |
---|---|
Target |
clone() |
boolean |
equals(Object obj) |
ChannelTargetInfo |
getChannelTargetInfo()
Information about the contact channel Incident Manager is engaging.
|
ContactTargetInfo |
getContactTargetInfo()
Information about the contact that Incident Manager is engaging.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setChannelTargetInfo(ChannelTargetInfo channelTargetInfo)
Information about the contact channel Incident Manager is engaging.
|
void |
setContactTargetInfo(ContactTargetInfo contactTargetInfo)
Information about the contact that Incident Manager is engaging.
|
String |
toString()
Returns a string representation of this object.
|
Target |
withChannelTargetInfo(ChannelTargetInfo channelTargetInfo)
Information about the contact channel Incident Manager is engaging.
|
Target |
withContactTargetInfo(ContactTargetInfo contactTargetInfo)
Information about the contact that Incident Manager is engaging.
|
public void setChannelTargetInfo(ChannelTargetInfo channelTargetInfo)
Information about the contact channel Incident Manager is engaging.
channelTargetInfo
- Information about the contact channel Incident Manager is engaging.public ChannelTargetInfo getChannelTargetInfo()
Information about the contact channel Incident Manager is engaging.
public Target withChannelTargetInfo(ChannelTargetInfo channelTargetInfo)
Information about the contact channel Incident Manager is engaging.
channelTargetInfo
- Information about the contact channel Incident Manager is engaging.public void setContactTargetInfo(ContactTargetInfo contactTargetInfo)
Information about the contact that Incident Manager is engaging.
contactTargetInfo
- Information about the contact that Incident Manager is engaging.public ContactTargetInfo getContactTargetInfo()
Information about the contact that Incident Manager is engaging.
public Target withContactTargetInfo(ContactTargetInfo contactTargetInfo)
Information about the contact that Incident Manager is engaging.
contactTargetInfo
- Information about the contact that Incident Manager is engaging.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.