public class SalesforceAction
extends java.lang.Object
implements java.io.Serializable
Describes an action to write a message to a Salesforce IoT Cloud Input Stream.
Constructor and Description |
---|
SalesforceAction() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getToken()
The token used to authenticate access to the Salesforce IoT Cloud Input
Stream.
|
java.lang.String |
getUrl()
The URL exposed by the Salesforce IoT Cloud Input Stream.
|
int |
hashCode() |
void |
setToken(java.lang.String token)
The token used to authenticate access to the Salesforce IoT Cloud Input
Stream.
|
void |
setUrl(java.lang.String url)
The URL exposed by the Salesforce IoT Cloud Input Stream.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SalesforceAction |
withToken(java.lang.String token)
The token used to authenticate access to the Salesforce IoT Cloud Input
Stream.
|
SalesforceAction |
withUrl(java.lang.String url)
The URL exposed by the Salesforce IoT Cloud Input Stream.
|
public java.lang.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.
Constraints:
Length: 40 -
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 setToken(java.lang.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.
Constraints:
Length: 40 -
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 SalesforceAction withToken(java.lang.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.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 40 -
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 java.lang.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.
Constraints:
Length: - 2000
Pattern:
https://ingestion-[a-zA-Z0-9]{1,12}\.[a-zA-Z0-9]+\.((sfdc-
matrix\.net)|(sfdcnow\.com))/streams/\w{1,20}/\w{1,20}/event
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 void setUrl(java.lang.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.
Constraints:
Length: - 2000
Pattern:
https://ingestion-[a-zA-Z0-9]{1,12}\.[a-zA-Z0-9]+\.((sfdc-
matrix\.net)|(sfdcnow\.com))/streams/\w{1,20}/\w{1,20}/event
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 SalesforceAction withUrl(java.lang.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.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: - 2000
Pattern:
https://ingestion-[a-zA-Z0-9]{1,12}\.[a-zA-Z0-9]+\.((sfdc-
matrix\.net)|(sfdcnow\.com))/streams/\w{1,20}/\w{1,20}/event
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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.