@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Subscription extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
Subscription() |
Modifier and Type | Method and Description |
---|---|
Subscription |
clone() |
boolean |
equals(Object obj) |
String |
getId()
Element Id for this entry in the list.
|
String |
getSource()
Source of the subscription.
|
String |
getSubject()
Subject of the message.
|
String |
getTarget()
Where the message is sent to.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setId(String id)
Element Id for this entry in the list.
|
void |
setSource(String source)
Source of the subscription.
|
void |
setSubject(String subject)
Subject of the message.
|
void |
setTarget(String target)
Where the message is sent to.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
Subscription |
withId(String id)
Element Id for this entry in the list.
|
Subscription |
withSource(String source)
Source of the subscription.
|
Subscription |
withSubject(String subject)
Subject of the message.
|
Subscription |
withTarget(String target)
Where the message is sent to.
|
public void setId(String id)
id
- Element Id for this entry in the list.public String getId()
public Subscription withId(String id)
id
- Element Id for this entry in the list.public void setSource(String source)
source
- Source of the subscription. Can be a thing arn, lambda arn or word 'cloud'public String getSource()
public Subscription withSource(String source)
source
- Source of the subscription. Can be a thing arn, lambda arn or word 'cloud'public void setSubject(String subject)
subject
- Subject of the message.public String getSubject()
public Subscription withSubject(String subject)
subject
- Subject of the message.public void setTarget(String target)
target
- Where the message is sent to. Can be a thing arn, lambda arn or word 'cloud'.public String getTarget()
public Subscription withTarget(String target)
target
- Where the message is sent to. Can be a thing arn, lambda arn or word 'cloud'.public String toString()
toString
in class Object
Object.toString()
public Subscription clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.