public class InstanceCount extends Object implements Serializable
Constructor and Description |
---|
InstanceCount() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Integer |
getInstanceCount()
Returns the value of the InstanceCount property for this object.
|
String |
getState()
Returns the value of the State property for this object.
|
int |
hashCode() |
void |
setInstanceCount(Integer instanceCount)
Sets the value of the InstanceCount property for this object.
|
void |
setState(ListingState state)
Sets the value of the State property for this object.
|
void |
setState(String state)
Sets the value of the State property for this object.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
InstanceCount |
withInstanceCount(Integer instanceCount)
Sets the value of the InstanceCount property for this object.
|
InstanceCount |
withState(ListingState state)
Sets the value of the State property for this object.
|
InstanceCount |
withState(String state)
Sets the value of the State property for this object.
|
public String getState()
Constraints:
Allowed Values: available, sold, cancelled, pending
ListingState
public void setState(String state)
Constraints:
Allowed Values: available, sold, cancelled, pending
state
- The new value for the State property for this object.ListingState
public InstanceCount withState(String state)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: available, sold, cancelled, pending
state
- The new value for the State property for this object.ListingState
public void setState(ListingState state)
Constraints:
Allowed Values: available, sold, cancelled, pending
state
- The new value for the State property for this object.ListingState
public InstanceCount withState(ListingState state)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: available, sold, cancelled, pending
state
- The new value for the State property for this object.ListingState
public Integer getInstanceCount()
public void setInstanceCount(Integer instanceCount)
instanceCount
- The new value for the InstanceCount property for this object.public InstanceCount withInstanceCount(Integer instanceCount)
Returns a reference to this object so that method calls can be chained together.
instanceCount
- The new value for the InstanceCount property for this object.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.