CatalogProperties Class
- java.
lang. Object - com.
azure. resourcemanager. devcenter. fluent. models. CatalogUpdateProperties - com.
azure. resourcemanager. devcenter. fluent. models. CatalogProperties
- com.
- com.
public final class CatalogProperties
extends CatalogUpdateProperties
Properties of a catalog.
Constructor Summary
| Constructor | Description |
|---|---|
| CatalogProperties() |
Creates an instance of Catalog |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Catalog |
connectionState()
Get the connection |
|
static
Catalog |
fromJson(JsonReader jsonReader)
Reads an instance of Catalog |
|
Offset |
lastConnectionTime()
Get the last |
|
Sync |
lastSyncStats()
Get the last |
|
Offset |
lastSyncTime()
Get the last |
|
Provisioning |
provisioningState()
Get the provisioning |
|
Catalog |
syncState()
Get the sync |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Catalog |
withAdoGit(GitCatalog adoGit)
Set the ado |
|
Catalog |
withGitHub(GitCatalog gitHub)
Set the git |
|
Catalog |
withSyncType(CatalogSyncType syncType)
Set the sync |
|
Catalog |
withTags(Map<String,String> tags)
Set the tags property: Resource tags. |
Methods inherited from CatalogUpdateProperties
Methods inherited from java.lang.Object
Constructor Details
CatalogProperties
public CatalogProperties()
Creates an instance of CatalogProperties class.
Method Details
connectionState
public CatalogConnectionState connectionState()
Get the connectionState property: The connection state of the catalog.
Returns:
fromJson
public static CatalogProperties fromJson(JsonReader jsonReader)
Reads an instance of CatalogProperties from the JsonReader.
Parameters:
Returns:
Throws:
lastConnectionTime
public OffsetDateTime lastConnectionTime()
Get the lastConnectionTime property: When the catalog was last connected.
Returns:
lastSyncStats
public SyncStats lastSyncStats()
Get the lastSyncStats property: Stats of the latest synchronization.
Returns:
lastSyncTime
public OffsetDateTime lastSyncTime()
Get the lastSyncTime property: When the catalog was last synced.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the resource.
Returns:
syncState
public CatalogSyncState syncState()
Get the syncState property: The synchronization state of the catalog.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
CatalogProperties.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
CatalogProperties.validate()withAdoGit
public CatalogProperties withAdoGit(GitCatalog adoGit)
Set the adoGit property: Properties for an Azure DevOps catalog type.
Overrides:
CatalogProperties.withAdoGit(GitCatalog adoGit)Parameters:
withGitHub
public CatalogProperties withGitHub(GitCatalog gitHub)
Set the gitHub property: Properties for a GitHub catalog type.
Overrides:
CatalogProperties.withGitHub(GitCatalog gitHub)Parameters:
withSyncType
public CatalogProperties withSyncType(CatalogSyncType syncType)
Set the syncType property: Indicates the type of sync that is configured for the catalog.
Overrides:
CatalogProperties.withSyncType(CatalogSyncType syncType)Parameters:
withTags
public CatalogProperties withTags(Map<String,String> tags)
Set the tags property: Resource tags.
Overrides:
CatalogProperties.withTags(Map<String,String> tags)Parameters: