@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class JourneyRunsResponse extends Object implements Serializable, Cloneable, StructuredPojo
Provides information from all runs of a journey.
Constructor and Description |
---|
JourneyRunsResponse() |
Modifier and Type | Method and Description |
---|---|
JourneyRunsResponse |
clone() |
boolean |
equals(Object obj) |
List<JourneyRunResponse> |
getItem()
An array of responses, one for each run of the journey
|
String |
getNextToken()
The string to use in a subsequent request to get the next page of results in a paginated response.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setItem(Collection<JourneyRunResponse> item)
An array of responses, one for each run of the journey
|
void |
setNextToken(String nextToken)
The string to use in a subsequent request to get the next page of results in a paginated response.
|
String |
toString()
Returns a string representation of this object.
|
JourneyRunsResponse |
withItem(Collection<JourneyRunResponse> item)
An array of responses, one for each run of the journey
|
JourneyRunsResponse |
withItem(JourneyRunResponse... item)
An array of responses, one for each run of the journey
|
JourneyRunsResponse |
withNextToken(String nextToken)
The string to use in a subsequent request to get the next page of results in a paginated response.
|
public List<JourneyRunResponse> getItem()
An array of responses, one for each run of the journey
public void setItem(Collection<JourneyRunResponse> item)
An array of responses, one for each run of the journey
item
- An array of responses, one for each run of the journeypublic JourneyRunsResponse withItem(JourneyRunResponse... item)
An array of responses, one for each run of the journey
NOTE: This method appends the values to the existing list (if any). Use
setItem(java.util.Collection)
or withItem(java.util.Collection)
if you want to override the
existing values.
item
- An array of responses, one for each run of the journeypublic JourneyRunsResponse withItem(Collection<JourneyRunResponse> item)
An array of responses, one for each run of the journey
item
- An array of responses, one for each run of the journeypublic void setNextToken(String nextToken)
The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.
nextToken
- The string to use in a subsequent request to get the next page of results in a paginated response. This
value is null if there are no additional pages.public String getNextToken()
The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.
public JourneyRunsResponse withNextToken(String nextToken)
The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.
nextToken
- The string to use in a subsequent request to get the next page of results in a paginated response. This
value is null if there are no additional pages.public String toString()
toString
in class Object
Object.toString()
public JourneyRunsResponse clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.