public class GetOfferingStatusResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Returns the status result for a device offering.
Modifier and Type | Field and Description |
---|---|
private java.util.Map<java.lang.String,OfferingStatus> |
current
When specified, gets the offering status for the current period.
|
private java.util.Map<java.lang.String,OfferingStatus> |
nextPeriod
When specified, gets the offering status for the next period.
|
private java.lang.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 and Description |
---|
GetOfferingStatusResult() |
Modifier and Type | Method and Description |
---|---|
GetOfferingStatusResult |
addCurrentEntry(java.lang.String key,
OfferingStatus value) |
GetOfferingStatusResult |
addNextPeriodEntry(java.lang.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(java.lang.Object obj) |
java.util.Map<java.lang.String,OfferingStatus> |
getCurrent()
When specified, gets the offering status for the current period.
|
java.util.Map<java.lang.String,OfferingStatus> |
getNextPeriod()
When specified, gets the offering status for the next period.
|
java.lang.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(java.util.Map<java.lang.String,OfferingStatus> current)
When specified, gets the offering status for the current period.
|
void |
setNextPeriod(java.util.Map<java.lang.String,OfferingStatus> nextPeriod)
When specified, gets the offering status for the next period.
|
void |
setNextToken(java.lang.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.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetOfferingStatusResult |
withCurrent(java.util.Map<java.lang.String,OfferingStatus> current)
When specified, gets the offering status for the current period.
|
GetOfferingStatusResult |
withNextPeriod(java.util.Map<java.lang.String,OfferingStatus> nextPeriod)
When specified, gets the offering status for the next period.
|
GetOfferingStatusResult |
withNextToken(java.lang.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.
|
private java.util.Map<java.lang.String,OfferingStatus> current
When specified, gets the offering status for the current period.
private java.util.Map<java.lang.String,OfferingStatus> nextPeriod
When specified, gets the offering status for the next period.
private java.lang.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.
public java.util.Map<java.lang.String,OfferingStatus> getCurrent()
When specified, gets the offering status for the current period.
public void setCurrent(java.util.Map<java.lang.String,OfferingStatus> current)
When specified, gets the offering status for the current period.
current
- When specified, gets the offering status for the current period.public GetOfferingStatusResult withCurrent(java.util.Map<java.lang.String,OfferingStatus> current)
When specified, gets the offering status for the current period.
current
- When specified, gets the offering status for the current period.public GetOfferingStatusResult addCurrentEntry(java.lang.String key, OfferingStatus value)
public GetOfferingStatusResult clearCurrentEntries()
public java.util.Map<java.lang.String,OfferingStatus> getNextPeriod()
When specified, gets the offering status for the next period.
public void setNextPeriod(java.util.Map<java.lang.String,OfferingStatus> nextPeriod)
When specified, gets the offering status for the next period.
nextPeriod
- When specified, gets the offering status for the next period.public GetOfferingStatusResult withNextPeriod(java.util.Map<java.lang.String,OfferingStatus> nextPeriod)
When specified, gets the offering status for the next period.
nextPeriod
- When specified, gets the offering status for the next period.public GetOfferingStatusResult addNextPeriodEntry(java.lang.String key, OfferingStatus value)
public GetOfferingStatusResult clearNextPeriodEntries()
public void setNextToken(java.lang.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.
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.public java.lang.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.
public GetOfferingStatusResult withNextToken(java.lang.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.
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.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public GetOfferingStatusResult clone()
clone
in class java.lang.Object