TenantConfigurationSyncStateContractInner Class

public final class TenantConfigurationSyncStateContractInner
extends ProxyResource

Result of Tenant Configuration Sync State.

Constructor Summary

Constructor Description
TenantConfigurationSyncStateContractInner()

Creates an instance of TenantConfigurationSyncStateContractInner class.

Method Summary

Modifier and Type Method and Description
String branch()

Get the branch property: The name of Git branch.

String commitId()

Get the commitId property: The latest commit Id.

OffsetDateTime configurationChangeDate()

Get the configurationChangeDate property: The date of the latest configuration change.

Boolean isExport()

Get the isExport property: value indicating if last sync was save (true) or deploy (false) operation.

Boolean isGitEnabled()

Get the isGitEnabled property: value indicating whether Git configuration access is enabled.

Boolean isSynced()

Get the isSynced property: value indicating if last synchronization was later than the configuration change.

String lastOperationId()

Get the lastOperationId property: Most recent tenant configuration operation identifier.

OffsetDateTime syncDate()

Get the syncDate property: The date of the latest synchronization.

void validate()

Validates the instance.

TenantConfigurationSyncStateContractInner withBranch(String branch)

Set the branch property: The name of Git branch.

TenantConfigurationSyncStateContractInner withCommitId(String commitId)

Set the commitId property: The latest commit Id.

TenantConfigurationSyncStateContractInner withConfigurationChangeDate(OffsetDateTime configurationChangeDate)

Set the configurationChangeDate property: The date of the latest configuration change.

TenantConfigurationSyncStateContractInner withIsExport(Boolean isExport)

Set the isExport property: value indicating if last sync was save (true) or deploy (false) operation.

TenantConfigurationSyncStateContractInner withIsGitEnabled(Boolean isGitEnabled)

Set the isGitEnabled property: value indicating whether Git configuration access is enabled.

TenantConfigurationSyncStateContractInner withIsSynced(Boolean isSynced)

Set the isSynced property: value indicating if last synchronization was later than the configuration change.

TenantConfigurationSyncStateContractInner withLastOperationId(String lastOperationId)

Set the lastOperationId property: Most recent tenant configuration operation identifier.

TenantConfigurationSyncStateContractInner withSyncDate(OffsetDateTime syncDate)

Set the syncDate property: The date of the latest synchronization.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

TenantConfigurationSyncStateContractInner

public TenantConfigurationSyncStateContractInner()

Creates an instance of TenantConfigurationSyncStateContractInner class.

Method Details

branch

public String branch()

Get the branch property: The name of Git branch.

Returns:

the branch value.

commitId

public String commitId()

Get the commitId property: The latest commit Id.

Returns:

the commitId value.

configurationChangeDate

public OffsetDateTime configurationChangeDate()

Get the configurationChangeDate property: The date of the latest configuration change. The date conforms to the following format: `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.

Returns:

the configurationChangeDate value.

isExport

public Boolean isExport()

Get the isExport property: value indicating if last sync was save (true) or deploy (false) operation.

Returns:

the isExport value.

isGitEnabled

public Boolean isGitEnabled()

Get the isGitEnabled property: value indicating whether Git configuration access is enabled.

Returns:

the isGitEnabled value.

isSynced

public Boolean isSynced()

Get the isSynced property: value indicating if last synchronization was later than the configuration change.

Returns:

the isSynced value.

lastOperationId

public String lastOperationId()

Get the lastOperationId property: Most recent tenant configuration operation identifier.

Returns:

the lastOperationId value.

syncDate

public OffsetDateTime syncDate()

Get the syncDate property: The date of the latest synchronization. The date conforms to the following format: `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.

Returns:

the syncDate value.

validate

public void validate()

Validates the instance.

withBranch

public TenantConfigurationSyncStateContractInner withBranch(String branch)

Set the branch property: The name of Git branch.

Parameters:

branch - the branch value to set.

Returns:

the TenantConfigurationSyncStateContractInner object itself.

withCommitId

public TenantConfigurationSyncStateContractInner withCommitId(String commitId)

Set the commitId property: The latest commit Id.

Parameters:

commitId - the commitId value to set.

Returns:

the TenantConfigurationSyncStateContractInner object itself.

withConfigurationChangeDate

public TenantConfigurationSyncStateContractInner withConfigurationChangeDate(OffsetDateTime configurationChangeDate)

Set the configurationChangeDate property: The date of the latest configuration change. The date conforms to the following format: `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.

Parameters:

configurationChangeDate - the configurationChangeDate value to set.

Returns:

the TenantConfigurationSyncStateContractInner object itself.

withIsExport

public TenantConfigurationSyncStateContractInner withIsExport(Boolean isExport)

Set the isExport property: value indicating if last sync was save (true) or deploy (false) operation.

Parameters:

isExport - the isExport value to set.

Returns:

the TenantConfigurationSyncStateContractInner object itself.

withIsGitEnabled

public TenantConfigurationSyncStateContractInner withIsGitEnabled(Boolean isGitEnabled)

Set the isGitEnabled property: value indicating whether Git configuration access is enabled.

Parameters:

isGitEnabled - the isGitEnabled value to set.

Returns:

the TenantConfigurationSyncStateContractInner object itself.

withIsSynced

public TenantConfigurationSyncStateContractInner withIsSynced(Boolean isSynced)

Set the isSynced property: value indicating if last synchronization was later than the configuration change.

Parameters:

isSynced - the isSynced value to set.

Returns:

the TenantConfigurationSyncStateContractInner object itself.

withLastOperationId

public TenantConfigurationSyncStateContractInner withLastOperationId(String lastOperationId)

Set the lastOperationId property: Most recent tenant configuration operation identifier.

Parameters:

lastOperationId - the lastOperationId value to set.

Returns:

the TenantConfigurationSyncStateContractInner object itself.

withSyncDate

public TenantConfigurationSyncStateContractInner withSyncDate(OffsetDateTime syncDate)

Set the syncDate property: The date of the latest synchronization. The date conforms to the following format: `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.

Parameters:

syncDate - the syncDate value to set.

Returns:

the TenantConfigurationSyncStateContractInner object itself.

Applies to