azure-docs-sdk-java/docs-ref-autogen/com.azure.resourcemanager.c...

89 строки
4.7 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.cosmos.models.MongoIndexOptions"
fullName: "com.azure.resourcemanager.cosmos.models.MongoIndexOptions"
name: "MongoIndexOptions"
nameWithType: "MongoIndexOptions"
summary: "Cosmos DB MongoDB collection index options."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedMembers:
- "java.lang.Object.clone()"
- "java.lang.Object.equals(java.lang.Object)"
- "java.lang.Object.finalize()"
- "java.lang.Object.getClass()"
- "java.lang.Object.hashCode()"
- "java.lang.Object.notify()"
- "java.lang.Object.notifyAll()"
- "java.lang.Object.toString()"
- "java.lang.Object.wait()"
- "java.lang.Object.wait(long)"
- "java.lang.Object.wait(long,int)"
syntax: "public final class MongoIndexOptions"
constructors:
- uid: "com.azure.resourcemanager.cosmos.models.MongoIndexOptions.MongoIndexOptions()"
fullName: "com.azure.resourcemanager.cosmos.models.MongoIndexOptions.MongoIndexOptions()"
name: "MongoIndexOptions()"
nameWithType: "MongoIndexOptions.MongoIndexOptions()"
syntax: "public MongoIndexOptions()"
methods:
- uid: "com.azure.resourcemanager.cosmos.models.MongoIndexOptions.expireAfterSeconds()"
fullName: "com.azure.resourcemanager.cosmos.models.MongoIndexOptions.expireAfterSeconds()"
name: "expireAfterSeconds()"
nameWithType: "MongoIndexOptions.expireAfterSeconds()"
summary: "Get the expire<wbr>After<wbr>Seconds property: Expire after seconds."
syntax: "public Integer expireAfterSeconds()"
desc: "Get the expireAfterSeconds property: Expire after seconds."
returns:
description: "the expireAfterSeconds value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
- uid: "com.azure.resourcemanager.cosmos.models.MongoIndexOptions.unique()"
fullName: "com.azure.resourcemanager.cosmos.models.MongoIndexOptions.unique()"
name: "unique()"
nameWithType: "MongoIndexOptions.unique()"
summary: "Get the unique property: Is unique or not."
syntax: "public Boolean unique()"
desc: "Get the unique property: Is unique or not."
returns:
description: "the unique value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html\">Boolean</a>"
- uid: "com.azure.resourcemanager.cosmos.models.MongoIndexOptions.validate()"
fullName: "com.azure.resourcemanager.cosmos.models.MongoIndexOptions.validate()"
name: "validate()"
nameWithType: "MongoIndexOptions.validate()"
summary: "Validates the instance."
syntax: "public void validate()"
desc: "Validates the instance."
- uid: "com.azure.resourcemanager.cosmos.models.MongoIndexOptions.withExpireAfterSeconds(java.lang.Integer)"
fullName: "com.azure.resourcemanager.cosmos.models.MongoIndexOptions.withExpireAfterSeconds(Integer expireAfterSeconds)"
name: "withExpireAfterSeconds(Integer expireAfterSeconds)"
nameWithType: "MongoIndexOptions.withExpireAfterSeconds(Integer expireAfterSeconds)"
summary: "Set the expire<wbr>After<wbr>Seconds property: Expire after seconds."
parameters:
- description: "the expireAfterSeconds value to set."
name: "expireAfterSeconds"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
syntax: "public MongoIndexOptions withExpireAfterSeconds(Integer expireAfterSeconds)"
desc: "Set the expireAfterSeconds property: Expire after seconds."
returns:
description: "the MongoIndexOptions object itself."
type: "<xref href=\"com.azure.resourcemanager.cosmos.models.MongoIndexOptions?alt=com.azure.resourcemanager.cosmos.models.MongoIndexOptions&text=MongoIndexOptions\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.cosmos.models.MongoIndexOptions.withUnique(java.lang.Boolean)"
fullName: "com.azure.resourcemanager.cosmos.models.MongoIndexOptions.withUnique(Boolean unique)"
name: "withUnique(Boolean unique)"
nameWithType: "MongoIndexOptions.withUnique(Boolean unique)"
summary: "Set the unique property: Is unique or not."
parameters:
- description: "the unique value to set."
name: "unique"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html\">Boolean</a>"
syntax: "public MongoIndexOptions withUnique(Boolean unique)"
desc: "Set the unique property: Is unique or not."
returns:
description: "the MongoIndexOptions object itself."
type: "<xref href=\"com.azure.resourcemanager.cosmos.models.MongoIndexOptions?alt=com.azure.resourcemanager.cosmos.models.MongoIndexOptions&text=MongoIndexOptions\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "Cosmos DB MongoDB collection index options."
metadata: {}
package: "com.azure.resourcemanager.cosmos.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-cosmos:2.18.0