Class GetOfferingStatusResult
- All Implemented Interfaces:
Serializable
,Cloneable
Returns the status result for a device offering.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddCurrentEntry
(String key, OfferingStatus value) addNextPeriodEntry
(String key, OfferingStatus value) Removes all the entries added into Current.Removes all the entries added into NextPeriod.clone()
boolean
When specified, gets the offering status for the current period.When specified, gets the offering status for the next period.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.toString()
Returns a string representation of this object; useful for testing and debugging.withCurrent
(Map<String, OfferingStatus> current) When specified, gets the offering status for the current period.withNextPeriod
(Map<String, OfferingStatus> nextPeriod) When specified, gets the offering status for the next period.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.
-
Constructor Details
-
GetOfferingStatusResult
public GetOfferingStatusResult()
-
-
Method Details
-
getCurrent
When specified, gets the offering status for the current period.
- Returns:
- When specified, gets the offering status for the current period.
-
setCurrent
When specified, gets the offering status for the current period.
- Parameters:
current
- When specified, gets the offering status for the current period.
-
withCurrent
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
-
clearCurrentEntries
Removes all the entries added into Current. <p> Returns a reference to this object so that method calls can be chained together. -
getNextPeriod
When specified, gets the offering status for the next period.
- Returns:
- When specified, gets the offering status for the next period.
-
setNextPeriod
When specified, gets the offering status for the next period.
- Parameters:
nextPeriod
- When specified, gets the offering status for the next period.
-
withNextPeriod
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
-
clearNextPeriodEntries
Removes all the entries added into NextPeriod. <p> Returns a reference to this object so that method calls can be chained together. -
setNextToken
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
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
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-