ReportProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.appcomplianceautomation.models.ReportProperties

Implements

public final class ReportProperties
implements JsonSerializable<ReportProperties>

Create Report's properties.

Constructor Summary

Constructor Description
ReportProperties()

Creates an instance of ReportProperties class.

Method Summary

Modifier and Type Method and Description
List<CertSyncRecord> certRecords()

Get the certRecords property: List of synchronized certification records.

ReportComplianceStatus complianceStatus()

Get the complianceStatus property: Report compliance status.

List<String> errors()

Get the errors property: List of report error codes.

static ReportProperties fromJson(JsonReader jsonReader)

Reads an instance of ReportProperties from the JsonReader.

OffsetDateTime lastTriggerTime()

Get the lastTriggerTime property: Report last collection trigger time.

OffsetDateTime nextTriggerTime()

Get the nextTriggerTime property: Report next collection trigger time.

String offerGuid()

Get the offerGuid property: A list of comma-separated offerGuids indicates a series of offerGuids that map to the report.

ProvisioningState provisioningState()

Get the provisioningState property: Azure lifecycle management.

List<ResourceMetadata> resources()

Get the resources property: List of resource data.

ReportStatus status()

Get the status property: Report status.

StorageInfo storageInfo()

Get the storageInfo property: The information of 'bring your own storage' binding to the report.

List<String> subscriptions()

Get the subscriptions property: List of subscription Ids.

String tenantId()

Get the tenantId property: Report's tenant id.

String timeZone()

Get the timeZone property: Report collection trigger time's time zone, the available list can be obtained by executing "Get-TimeZone -ListAvailable" in PowerShell.

JsonWriter toJson(JsonWriter jsonWriter)
OffsetDateTime triggerTime()

Get the triggerTime property: Report collection trigger time.

ReportProperties withOfferGuid(String offerGuid)

Set the offerGuid property: A list of comma-separated offerGuids indicates a series of offerGuids that map to the report.

ReportProperties withResources(List<ResourceMetadata> resources)

Set the resources property: List of resource data.

ReportProperties withStorageInfo(StorageInfo storageInfo)

Set the storageInfo property: The information of 'bring your own storage' binding to the report.

ReportProperties withTimeZone(String timeZone)

Set the timeZone property: Report collection trigger time's time zone, the available list can be obtained by executing "Get-TimeZone -ListAvailable" in PowerShell.

ReportProperties withTriggerTime(OffsetDateTime triggerTime)

Set the triggerTime property: Report collection trigger time.

Methods inherited from java.lang.Object

Constructor Details

ReportProperties

public ReportProperties()

Creates an instance of ReportProperties class.

Method Details

certRecords

public List<CertSyncRecord> certRecords()

Get the certRecords property: List of synchronized certification records.

Returns:

the certRecords value.

complianceStatus

public ReportComplianceStatus complianceStatus()

Get the complianceStatus property: Report compliance status.

Returns:

the complianceStatus value.

errors

public List<String> errors()

Get the errors property: List of report error codes.

Returns:

the errors value.

fromJson

public static ReportProperties fromJson(JsonReader jsonReader)

Reads an instance of ReportProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ReportProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

lastTriggerTime

public OffsetDateTime lastTriggerTime()

Get the lastTriggerTime property: Report last collection trigger time.

Returns:

the lastTriggerTime value.

nextTriggerTime

public OffsetDateTime nextTriggerTime()

Get the nextTriggerTime property: Report next collection trigger time.

Returns:

the nextTriggerTime value.

offerGuid

public String offerGuid()

Get the offerGuid property: A list of comma-separated offerGuids indicates a series of offerGuids that map to the report. For example, "00000000-0000-0000-0000-000000000001,00000000-0000-0000-0000-000000000002" and "00000000-0000-0000-0000-000000000003".

Returns:

the offerGuid value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: Azure lifecycle management.

Returns:

the provisioningState value.

resources

public List<ResourceMetadata> resources()

Get the resources property: List of resource data.

Returns:

the resources value.

status

public ReportStatus status()

Get the status property: Report status.

Returns:

the status value.

storageInfo

public StorageInfo storageInfo()

Get the storageInfo property: The information of 'bring your own storage' binding to the report.

Returns:

the storageInfo value.

subscriptions

public List<String> subscriptions()

Get the subscriptions property: List of subscription Ids.

Returns:

the subscriptions value.

tenantId

public String tenantId()

Get the tenantId property: Report's tenant id.

Returns:

the tenantId value.

timeZone

public String timeZone()

Get the timeZone property: Report collection trigger time's time zone, the available list can be obtained by executing "Get-TimeZone -ListAvailable" in PowerShell. An example of valid timezone id is "Pacific Standard Time".

Returns:

the timeZone value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

triggerTime

public OffsetDateTime triggerTime()

Get the triggerTime property: Report collection trigger time.

Returns:

the triggerTime value.

withOfferGuid

public ReportProperties withOfferGuid(String offerGuid)

Set the offerGuid property: A list of comma-separated offerGuids indicates a series of offerGuids that map to the report. For example, "00000000-0000-0000-0000-000000000001,00000000-0000-0000-0000-000000000002" and "00000000-0000-0000-0000-000000000003".

Parameters:

offerGuid - the offerGuid value to set.

Returns:

the ReportProperties object itself.

withResources

public ReportProperties withResources(List<ResourceMetadata> resources)

Set the resources property: List of resource data.

Parameters:

resources - the resources value to set.

Returns:

the ReportProperties object itself.

withStorageInfo

public ReportProperties withStorageInfo(StorageInfo storageInfo)

Set the storageInfo property: The information of 'bring your own storage' binding to the report.

Parameters:

storageInfo - the storageInfo value to set.

Returns:

the ReportProperties object itself.

withTimeZone

public ReportProperties withTimeZone(String timeZone)

Set the timeZone property: Report collection trigger time's time zone, the available list can be obtained by executing "Get-TimeZone -ListAvailable" in PowerShell. An example of valid timezone id is "Pacific Standard Time".

Parameters:

timeZone - the timeZone value to set.

Returns:

the ReportProperties object itself.

withTriggerTime

public ReportProperties withTriggerTime(OffsetDateTime triggerTime)

Set the triggerTime property: Report collection trigger time.

Parameters:

triggerTime - the triggerTime value to set.

Returns:

the ReportProperties object itself.

Applies to