@Inherited @Retention(value=RUNTIME) @Target(value=TYPE) public @interface Container
| Modifier and Type | Optional Element and Description |
|---|---|
boolean |
autoCreateContainer
To set if create container automatically
|
boolean |
autoScale
To enable auto scale for container RU limit
|
String |
containerName
To set container name
|
String |
partitionKeyPath
To set the partition key definition for container
Should only be used for nested partition key scenario.
|
String |
ru
To set request unit
|
int |
timeToLive
To set the ttl of container level
|
public abstract String containerName
public abstract String ru
public abstract int timeToLive
public abstract boolean autoCreateContainer
public abstract String partitionKeyPath
PartitionKey annotation
By default PartitionKey annotation will take precedence, unless not specified.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.