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 GetOfferingStatusResult
addCurrentEntry(String key, OfferingStatus value)
GetOfferingStatusResult
addNextPeriodEntry(String key, OfferingStatus value)
GetOfferingStatusResult
clearCurrentEntries()
Removes all the entries added into Current.GetOfferingStatusResult
clearNextPeriodEntries()
Removes all the entries added into NextPeriod.GetOfferingStatusResult
clone()
boolean
equals(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.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.int
hashCode()
void
setCurrent(Map<String,OfferingStatus> current)
When specified, gets the offering status for the current period.void
setNextPeriod(Map<String,OfferingStatus> nextPeriod)
When specified, gets the offering status for the next period.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.String
toString()
Returns a string representation of this object; useful for testing and debugging.GetOfferingStatusResult
withCurrent(Map<String,OfferingStatus> current)
When specified, gets the offering status for the current period.GetOfferingStatusResult
withNextPeriod(Map<String,OfferingStatus> nextPeriod)
When specified, gets the offering status for the next period.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.
-
-
-
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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public GetOfferingStatusResult clone()
-
-