public class DescribeIndexResult extends Object implements Serializable
| Constructor and Description |
|---|
DescribeIndexResult() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getIndexName()
The index name.
|
String |
getIndexStatus()
The index status.
|
String |
getSchema()
Contains a value that specifies the type of indexing performed.
|
int |
hashCode() |
void |
setIndexName(String indexName)
The index name.
|
void |
setIndexStatus(IndexStatus indexStatus)
The index status.
|
void |
setIndexStatus(String indexStatus)
The index status.
|
void |
setSchema(String schema)
Contains a value that specifies the type of indexing performed.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeIndexResult |
withIndexName(String indexName)
The index name.
|
DescribeIndexResult |
withIndexStatus(IndexStatus indexStatus)
The index status.
|
DescribeIndexResult |
withIndexStatus(String indexStatus)
The index status.
|
DescribeIndexResult |
withSchema(String schema)
Contains a value that specifies the type of indexing performed.
|
public String getIndexName()
The index name.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
The index name.
public void setIndexName(String indexName)
The index name.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
indexName - The index name.
public DescribeIndexResult withIndexName(String indexName)
The index name.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
indexName - The index name.
public String getIndexStatus()
The index status.
Constraints:
Allowed Values: ACTIVE, BUILDING, REBUILDING
The index status.
IndexStatuspublic void setIndexStatus(String indexStatus)
The index status.
Constraints:
Allowed Values: ACTIVE, BUILDING, REBUILDING
indexStatus - The index status.
IndexStatuspublic DescribeIndexResult withIndexStatus(String indexStatus)
The index status.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: ACTIVE, BUILDING, REBUILDING
indexStatus - The index status.
IndexStatuspublic void setIndexStatus(IndexStatus indexStatus)
The index status.
Constraints:
Allowed Values: ACTIVE, BUILDING, REBUILDING
indexStatus - The index status.
IndexStatuspublic DescribeIndexResult withIndexStatus(IndexStatus indexStatus)
The index status.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: ACTIVE, BUILDING, REBUILDING
indexStatus - The index status.
IndexStatuspublic String getSchema()
Contains a value that specifies the type of indexing performed. Valid values are:
REGISTRY – Your thing index will contain only registry data.
REGISTRY_AND_SHADOW - Your thing index will contain registry and shadow data.
Contains a value that specifies the type of indexing performed. Valid values are:
REGISTRY – Your thing index will contain only registry data.
REGISTRY_AND_SHADOW - Your thing index will contain registry and shadow data.
public void setSchema(String schema)
Contains a value that specifies the type of indexing performed. Valid values are:
REGISTRY – Your thing index will contain only registry data.
REGISTRY_AND_SHADOW - Your thing index will contain registry and shadow data.
schema - Contains a value that specifies the type of indexing performed. Valid values are:
REGISTRY – Your thing index will contain only registry data.
REGISTRY_AND_SHADOW - Your thing index will contain registry and shadow data.
public DescribeIndexResult withSchema(String schema)
Contains a value that specifies the type of indexing performed. Valid values are:
REGISTRY – Your thing index will contain only registry data.
REGISTRY_AND_SHADOW - Your thing index will contain registry and shadow data.
Returns a reference to this object so that method calls can be chained together.
schema - Contains a value that specifies the type of indexing performed. Valid values are:
REGISTRY – Your thing index will contain only registry data.
REGISTRY_AND_SHADOW - Your thing index will contain registry and shadow data.
public String toString()
toString in class ObjectObject.toString()Copyright © 2018. All rights reserved.