Class GetOfferingStatusResult
- java.lang.Object
-
- com.amazonaws.services.devicefarm.model.GetOfferingStatusResult
-
- All Implemented Interfaces:
Serializable,Cloneable
public class GetOfferingStatusResult extends Object implements Serializable, Cloneable
Returns the status result for a device offering.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GetOfferingStatusResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetOfferingStatusResultaddCurrentEntry(String key, OfferingStatus value)GetOfferingStatusResultaddNextPeriodEntry(String key, OfferingStatus value)GetOfferingStatusResultclearCurrentEntries()Removes all the entries added into Current.GetOfferingStatusResultclearNextPeriodEntries()Removes all the entries added into NextPeriod.GetOfferingStatusResultclone()booleanequals(Object obj)Map<String,OfferingStatus>getCurrent()When specified, gets the offering status for the current period.Map<String,OfferingStatus>getNextPeriod()When specified, gets the offering status for the next period.StringgetNextToken()An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.inthashCode()voidsetCurrent(Map<String,OfferingStatus> current)When specified, gets the offering status for the current period.voidsetNextPeriod(Map<String,OfferingStatus> nextPeriod)When specified, gets the offering status for the next period.voidsetNextToken(String nextToken)An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.StringtoString()Returns a string representation of this object; useful for testing and debugging.GetOfferingStatusResultwithCurrent(Map<String,OfferingStatus> current)When specified, gets the offering status for the current period.GetOfferingStatusResultwithNextPeriod(Map<String,OfferingStatus> nextPeriod)When specified, gets the offering status for the next period.GetOfferingStatusResultwithNextToken(String nextToken)An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
-
-
-
Method Detail
-
getCurrent
public Map<String,OfferingStatus> getCurrent()
When specified, gets the offering status for the current period.
- Returns:
- When specified, gets the offering status for the current period.
-
setCurrent
public void setCurrent(Map<String,OfferingStatus> current)
When specified, gets the offering status for the current period.
- Parameters:
current- When specified, gets the offering status for the current period.
-
withCurrent
public GetOfferingStatusResult withCurrent(Map<String,OfferingStatus> current)
When specified, gets the offering status for the current period.
- Parameters:
current- When specified, gets the offering status for the current period.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addCurrentEntry
public GetOfferingStatusResult addCurrentEntry(String key, OfferingStatus value)
-
clearCurrentEntries
public GetOfferingStatusResult clearCurrentEntries()
Removes all the entries added into Current. <p> Returns a reference to this object so that method calls can be chained together.
-
getNextPeriod
public Map<String,OfferingStatus> getNextPeriod()
When specified, gets the offering status for the next period.
- Returns:
- When specified, gets the offering status for the next period.
-
setNextPeriod
public void setNextPeriod(Map<String,OfferingStatus> nextPeriod)
When specified, gets the offering status for the next period.
- Parameters:
nextPeriod- When specified, gets the offering status for the next period.
-
withNextPeriod
public GetOfferingStatusResult withNextPeriod(Map<String,OfferingStatus> nextPeriod)
When specified, gets the offering status for the next period.
- Parameters:
nextPeriod- When specified, gets the offering status for the next period.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addNextPeriodEntry
public GetOfferingStatusResult addNextPeriodEntry(String key, OfferingStatus value)
-
clearNextPeriodEntries
public GetOfferingStatusResult clearNextPeriodEntries()
Removes all the entries added into NextPeriod. <p> Returns a reference to this object so that method calls can be chained together.
-
setNextToken
public void setNextToken(String nextToken)
An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
- Parameters:
nextToken- An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
-
getNextToken
public String getNextToken()
An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
- Returns:
- An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
-
withNextToken
public GetOfferingStatusResult withNextToken(String nextToken)
An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
- Parameters:
nextToken- An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public GetOfferingStatusResult clone()
-
-