public static class IndexSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
IndexSummary |
build() |
IndexSummary.Builder |
copy(IndexSummary model) |
IndexSummary.Builder |
keys(List<IndexKey> keys)
A set of keys for a secondary index.
|
IndexSummary.Builder |
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.
|
IndexSummary.Builder |
lifecycleState(Index.LifecycleState lifecycleState)
The state of an index.
|
IndexSummary.Builder |
name(String name)
Index name.
|
public IndexSummary.Builder name(String name)
Index name.
name
- the value to setpublic IndexSummary.Builder keys(List<IndexKey> keys)
A set of keys for a secondary index.
keys
- the value to setpublic IndexSummary.Builder lifecycleState(Index.LifecycleState lifecycleState)
The state of an index.
lifecycleState
- the value to setpublic IndexSummary.Builder lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.
lifecycleDetails
- the value to setpublic IndexSummary build()
public IndexSummary.Builder copy(IndexSummary model)
Copyright © 2016–2024. All rights reserved.