@Validated @ConfigurationProperties(value="azure.documentdb") public class DocumentDBProperties extends Object
| Modifier and Type | Field and Description |
|---|---|
private boolean |
allowTelemetry
Whether allow Microsoft to collect telemetry data.
|
private com.microsoft.azure.documentdb.ConsistencyLevel |
consistencyLevel
Document DB consistency level.
|
private String |
database
Document DB database name.
|
private String |
key
Document DB key.
|
private String |
uri
Document DB URI.
|
| Constructor and Description |
|---|
DocumentDBProperties() |
| Modifier and Type | Method and Description |
|---|---|
com.microsoft.azure.documentdb.ConsistencyLevel |
getConsistencyLevel() |
String |
getDatabase() |
String |
getKey() |
String |
getUri() |
boolean |
isAllowTelemetry() |
void |
setAllowTelemetry(boolean allowTelemetry) |
void |
setConsistencyLevel(com.microsoft.azure.documentdb.ConsistencyLevel consistencyLevel) |
void |
setDatabase(String databaseName) |
void |
setKey(String key) |
void |
setUri(String uri) |
@NotEmpty private String uri
@NotEmpty private String key
private com.microsoft.azure.documentdb.ConsistencyLevel consistencyLevel
private String database
private boolean allowTelemetry
public String getUri()
public void setUri(String uri)
public String getKey()
public void setKey(String key)
public String getDatabase()
public void setDatabase(String databaseName)
public com.microsoft.azure.documentdb.ConsistencyLevel getConsistencyLevel()
public void setConsistencyLevel(com.microsoft.azure.documentdb.ConsistencyLevel consistencyLevel)
public boolean isAllowTelemetry()
public void setAllowTelemetry(boolean allowTelemetry)
Copyright © 2018 Microsoft. All rights reserved.