@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetVehicleStatusResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetVehicleStatusResult() |
Modifier and Type | Method and Description |
---|---|
GetVehicleStatusResult |
clone() |
boolean |
equals(Object obj) |
List<VehicleStatus> |
getCampaigns()
Lists information about the state of the vehicle with deployed campaigns.
|
String |
getNextToken()
The token to retrieve the next set of results, or
null if there are no more results. |
int |
hashCode() |
void |
setCampaigns(Collection<VehicleStatus> campaigns)
Lists information about the state of the vehicle with deployed campaigns.
|
void |
setNextToken(String nextToken)
The token to retrieve the next set of results, or
null if there are no more results. |
String |
toString()
Returns a string representation of this object.
|
GetVehicleStatusResult |
withCampaigns(Collection<VehicleStatus> campaigns)
Lists information about the state of the vehicle with deployed campaigns.
|
GetVehicleStatusResult |
withCampaigns(VehicleStatus... campaigns)
Lists information about the state of the vehicle with deployed campaigns.
|
GetVehicleStatusResult |
withNextToken(String nextToken)
The token to retrieve the next set of results, or
null if there are no more results. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<VehicleStatus> getCampaigns()
Lists information about the state of the vehicle with deployed campaigns.
public void setCampaigns(Collection<VehicleStatus> campaigns)
Lists information about the state of the vehicle with deployed campaigns.
campaigns
- Lists information about the state of the vehicle with deployed campaigns.public GetVehicleStatusResult withCampaigns(VehicleStatus... campaigns)
Lists information about the state of the vehicle with deployed campaigns.
NOTE: This method appends the values to the existing list (if any). Use
setCampaigns(java.util.Collection)
or withCampaigns(java.util.Collection)
if you want to
override the existing values.
campaigns
- Lists information about the state of the vehicle with deployed campaigns.public GetVehicleStatusResult withCampaigns(Collection<VehicleStatus> campaigns)
Lists information about the state of the vehicle with deployed campaigns.
campaigns
- Lists information about the state of the vehicle with deployed campaigns.public void setNextToken(String nextToken)
The token to retrieve the next set of results, or null
if there are no more results.
nextToken
- The token to retrieve the next set of results, or null
if there are no more results.public String getNextToken()
The token to retrieve the next set of results, or null
if there are no more results.
null
if there are no more results.public GetVehicleStatusResult withNextToken(String nextToken)
The token to retrieve the next set of results, or null
if there are no more results.
nextToken
- The token to retrieve the next set of results, or null
if there are no more results.public String toString()
toString
in class Object
Object.toString()
public GetVehicleStatusResult clone()