public class OptionStatus
extends java.lang.Object
implements java.io.Serializable
The status of an option, including when it was last updated and whether it is actively in use for searches.
| コンストラクタと説明 |
|---|
OptionStatus() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.util.Date |
getCreationDate()
A timestamp for when this option was created.
|
java.lang.String |
getState()
The state of processing a change to an option.
|
java.util.Date |
getUpdateDate()
A timestamp for when this option was last updated.
|
java.lang.Integer |
getUpdateVersion()
A unique integer that indicates when this option was last updated.
|
int |
hashCode() |
void |
setCreationDate(java.util.Date creationDate)
A timestamp for when this option was created.
|
void |
setState(OptionState state)
The state of processing a change to an option.
|
void |
setState(java.lang.String state)
The state of processing a change to an option.
|
void |
setUpdateDate(java.util.Date updateDate)
A timestamp for when this option was last updated.
|
void |
setUpdateVersion(java.lang.Integer updateVersion)
A unique integer that indicates when this option was last updated.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
OptionStatus |
withCreationDate(java.util.Date creationDate)
A timestamp for when this option was created.
|
OptionStatus |
withState(OptionState state)
The state of processing a change to an option.
|
OptionStatus |
withState(java.lang.String state)
The state of processing a change to an option.
|
OptionStatus |
withUpdateDate(java.util.Date updateDate)
A timestamp for when this option was last updated.
|
OptionStatus |
withUpdateVersion(java.lang.Integer updateVersion)
A unique integer that indicates when this option was last updated.
|
public java.util.Date getCreationDate()
public void setCreationDate(java.util.Date creationDate)
creationDate - A timestamp for when this option was created.public OptionStatus withCreationDate(java.util.Date creationDate)
Returns a reference to this object so that method calls can be chained together.
creationDate - A timestamp for when this option was created.public java.util.Date getUpdateDate()
public void setUpdateDate(java.util.Date updateDate)
updateDate - A timestamp for when this option was last updated.public OptionStatus withUpdateDate(java.util.Date updateDate)
Returns a reference to this object so that method calls can be chained together.
updateDate - A timestamp for when this option was last updated.public java.lang.Integer getUpdateVersion()
Constraints:
Range: 0 -
public void setUpdateVersion(java.lang.Integer updateVersion)
Constraints:
Range: 0 -
updateVersion - A unique integer that indicates when this option was last updated.public OptionStatus withUpdateVersion(java.lang.Integer updateVersion)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 0 -
updateVersion - A unique integer that indicates when this option was last updated.public java.lang.String getState()
RequiresIndexDocuments: the option's latest value
will not be visible in searches until IndexDocuments has been
called and indexing is complete.Processing: the
option's latest value is not yet visible in all searches but is in the
process of being activated. Active: the
option's latest value is completely visible. Any warnings or messages
generated during processing are provided in
Diagnostics.
Constraints:
Allowed Values: RequiresIndexDocuments, Processing, Active
RequiresIndexDocuments: the option's latest value
will not be visible in searches until IndexDocuments has been
called and indexing is complete.Processing: the
option's latest value is not yet visible in all searches but is in the
process of being activated. Active: the
option's latest value is completely visible. Any warnings or messages
generated during processing are provided in
Diagnostics.OptionStatepublic void setState(java.lang.String state)
RequiresIndexDocuments: the option's latest value
will not be visible in searches until IndexDocuments has been
called and indexing is complete.Processing: the
option's latest value is not yet visible in all searches but is in the
process of being activated. Active: the
option's latest value is completely visible. Any warnings or messages
generated during processing are provided in
Diagnostics.
Constraints:
Allowed Values: RequiresIndexDocuments, Processing, Active
state - The state of processing a change to an option. Possible values:RequiresIndexDocuments: the option's latest value
will not be visible in searches until IndexDocuments has been
called and indexing is complete.Processing: the
option's latest value is not yet visible in all searches but is in the
process of being activated. Active: the
option's latest value is completely visible. Any warnings or messages
generated during processing are provided in
Diagnostics.OptionStatepublic OptionStatus withState(java.lang.String state)
RequiresIndexDocuments: the option's latest value
will not be visible in searches until IndexDocuments has been
called and indexing is complete.Processing: the
option's latest value is not yet visible in all searches but is in the
process of being activated. Active: the
option's latest value is completely visible. Any warnings or messages
generated during processing are provided in
Diagnostics.Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: RequiresIndexDocuments, Processing, Active
state - The state of processing a change to an option. Possible values:RequiresIndexDocuments: the option's latest value
will not be visible in searches until IndexDocuments has been
called and indexing is complete.Processing: the
option's latest value is not yet visible in all searches but is in the
process of being activated. Active: the
option's latest value is completely visible. Any warnings or messages
generated during processing are provided in
Diagnostics.OptionStatepublic void setState(OptionState state)
RequiresIndexDocuments: the option's latest value
will not be visible in searches until IndexDocuments has been
called and indexing is complete.Processing: the
option's latest value is not yet visible in all searches but is in the
process of being activated. Active: the
option's latest value is completely visible. Any warnings or messages
generated during processing are provided in
Diagnostics.
Constraints:
Allowed Values: RequiresIndexDocuments, Processing, Active
state - The state of processing a change to an option. Possible values:RequiresIndexDocuments: the option's latest value
will not be visible in searches until IndexDocuments has been
called and indexing is complete.Processing: the
option's latest value is not yet visible in all searches but is in the
process of being activated. Active: the
option's latest value is completely visible. Any warnings or messages
generated during processing are provided in
Diagnostics.OptionStatepublic OptionStatus withState(OptionState state)
RequiresIndexDocuments: the option's latest value
will not be visible in searches until IndexDocuments has been
called and indexing is complete.Processing: the
option's latest value is not yet visible in all searches but is in the
process of being activated. Active: the
option's latest value is completely visible. Any warnings or messages
generated during processing are provided in
Diagnostics.Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: RequiresIndexDocuments, Processing, Active
state - The state of processing a change to an option. Possible values:RequiresIndexDocuments: the option's latest value
will not be visible in searches until IndexDocuments has been
called and indexing is complete.Processing: the
option's latest value is not yet visible in all searches but is in the
process of being activated. Active: the
option's latest value is completely visible. Any warnings or messages
generated during processing are provided in
Diagnostics.OptionStatepublic java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object