@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ContextSource extends Object implements Serializable, Cloneable, StructuredPojo
A structure describing the source of a context.
| Constructor and Description | 
|---|
| ContextSource() | 
| Modifier and Type | Method and Description | 
|---|---|
| ContextSource | clone() | 
| boolean | equals(Object obj) | 
| String | getSourceId()
 The ID of the source. | 
| String | getSourceType()
 The type of the source. | 
| String | getSourceUri()
 The URI of the source. | 
| int | hashCode() | 
| void | marshall(ProtocolMarshaller protocolMarshaller)Marshalls this structured data using the given  ProtocolMarshaller. | 
| void | setSourceId(String sourceId)
 The ID of the source. | 
| void | setSourceType(String sourceType)
 The type of the source. | 
| void | setSourceUri(String sourceUri)
 The URI of the source. | 
| String | toString()Returns a string representation of this object. | 
| ContextSource | withSourceId(String sourceId)
 The ID of the source. | 
| ContextSource | withSourceType(String sourceType)
 The type of the source. | 
| ContextSource | withSourceUri(String sourceUri)
 The URI of the source. | 
public void setSourceUri(String sourceUri)
The URI of the source.
sourceUri - The URI of the source.public String getSourceUri()
The URI of the source.
public ContextSource withSourceUri(String sourceUri)
The URI of the source.
sourceUri - The URI of the source.public void setSourceType(String sourceType)
The type of the source.
sourceType - The type of the source.public String getSourceType()
The type of the source.
public ContextSource withSourceType(String sourceType)
The type of the source.
sourceType - The type of the source.public void setSourceId(String sourceId)
The ID of the source.
sourceId - The ID of the source.public String getSourceId()
The ID of the source.
public ContextSource withSourceId(String sourceId)
The ID of the source.
sourceId - The ID of the source.public String toString()
toString in class ObjectObject.toString()public ContextSource clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.