Class MongoDbCollectionInfoResponse
- java.lang.Object
-
- com.pulumi.azurenative.datamigration.outputs.MongoDbCollectionInfoResponse
-
public final class MongoDbCollectionInfoResponse extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MongoDbCollectionInfoResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Double
averageDocumentSize()
static MongoDbCollectionInfoResponse.Builder
builder()
static MongoDbCollectionInfoResponse.Builder
builder(MongoDbCollectionInfoResponse defaults)
java.lang.String
databaseName()
java.lang.Double
dataSize()
java.lang.Double
documentCount()
java.lang.Boolean
isCapped()
java.lang.Boolean
isSystemCollection()
java.lang.Boolean
isView()
java.lang.String
name()
java.lang.String
qualifiedName()
java.util.Optional<MongoDbShardKeyInfoResponse>
shardKey()
java.lang.Boolean
supportsSharding()
java.util.Optional<java.lang.String>
viewOf()
-
-
-
Method Detail
-
averageDocumentSize
public java.lang.Double averageDocumentSize()
- Returns:
- The average document size, or -1 if the average size is unknown
-
dataSize
public java.lang.Double dataSize()
- Returns:
- The estimated total data size, in bytes, or -1 if the size is unknown.
-
databaseName
public java.lang.String databaseName()
- Returns:
- The name of the database containing the collection
-
documentCount
public java.lang.Double documentCount()
- Returns:
- The estimated total number of documents, or -1 if the document count is unknown
-
isCapped
public java.lang.Boolean isCapped()
- Returns:
- Whether the collection is a capped collection (i.e. whether it has a fixed size and acts like a circular buffer)
-
isSystemCollection
public java.lang.Boolean isSystemCollection()
- Returns:
- Whether the collection is system collection
-
isView
public java.lang.Boolean isView()
- Returns:
- Whether the collection is a view of another collection
-
name
public java.lang.String name()
- Returns:
- The unqualified name of the database or collection
-
qualifiedName
public java.lang.String qualifiedName()
- Returns:
- The qualified name of the database or collection. For a collection, this is the database-qualified name.
-
shardKey
public java.util.Optional<MongoDbShardKeyInfoResponse> shardKey()
- Returns:
- The shard key on the collection, or null if the collection is not sharded
-
supportsSharding
public java.lang.Boolean supportsSharding()
- Returns:
- Whether the database has sharding enabled. Note that the migration task will enable sharding on the target if necessary.
-
viewOf
public java.util.Optional<java.lang.String> viewOf()
- Returns:
- The name of the collection that this is a view of, if IsView is true
-
builder
public static MongoDbCollectionInfoResponse.Builder builder()
-
builder
public static MongoDbCollectionInfoResponse.Builder builder(MongoDbCollectionInfoResponse defaults)
-
-