@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SalesforceAction extends Object implements Serializable, Cloneable, StructuredPojo
Describes an action to write a message to a Salesforce IoT Cloud Input Stream.
Constructor and Description |
---|
SalesforceAction() |
Modifier and Type | Method and Description |
---|---|
SalesforceAction |
clone() |
boolean |
equals(Object obj) |
String |
getToken()
The token used to authenticate access to the Salesforce IoT Cloud Input Stream.
|
String |
getUrl()
The URL exposed by the Salesforce IoT Cloud Input Stream.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setToken(String token)
The token used to authenticate access to the Salesforce IoT Cloud Input Stream.
|
void |
setUrl(String url)
The URL exposed by the Salesforce IoT Cloud Input Stream.
|
String |
toString()
Returns a string representation of this object.
|
SalesforceAction |
withToken(String token)
The token used to authenticate access to the Salesforce IoT Cloud Input Stream.
|
SalesforceAction |
withUrl(String url)
The URL exposed by the Salesforce IoT Cloud Input Stream.
|
public void setToken(String token)
The token used to authenticate access to the Salesforce IoT Cloud Input Stream. The token is available from the Salesforce IoT Cloud platform after creation of the Input Stream.
token
- The token used to authenticate access to the Salesforce IoT Cloud Input Stream. The token is available
from the Salesforce IoT Cloud platform after creation of the Input Stream.public String getToken()
The token used to authenticate access to the Salesforce IoT Cloud Input Stream. The token is available from the Salesforce IoT Cloud platform after creation of the Input Stream.
public SalesforceAction withToken(String token)
The token used to authenticate access to the Salesforce IoT Cloud Input Stream. The token is available from the Salesforce IoT Cloud platform after creation of the Input Stream.
token
- The token used to authenticate access to the Salesforce IoT Cloud Input Stream. The token is available
from the Salesforce IoT Cloud platform after creation of the Input Stream.public void setUrl(String url)
The URL exposed by the Salesforce IoT Cloud Input Stream. The URL is available from the Salesforce IoT Cloud platform after creation of the Input Stream.
url
- The URL exposed by the Salesforce IoT Cloud Input Stream. The URL is available from the Salesforce IoT
Cloud platform after creation of the Input Stream.public String getUrl()
The URL exposed by the Salesforce IoT Cloud Input Stream. The URL is available from the Salesforce IoT Cloud platform after creation of the Input Stream.
public SalesforceAction withUrl(String url)
The URL exposed by the Salesforce IoT Cloud Input Stream. The URL is available from the Salesforce IoT Cloud platform after creation of the Input Stream.
url
- The URL exposed by the Salesforce IoT Cloud Input Stream. The URL is available from the Salesforce IoT
Cloud platform after creation of the Input Stream.public String toString()
toString
in class Object
Object.toString()
public SalesforceAction clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.