SnapshotProperties Class

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

Implements

public final class SnapshotProperties
implements JsonSerializable<SnapshotProperties>

Snapshot's properties.

Method Summary

Modifier and Type Method and Description
List<ComplianceResult> complianceResults()

Get the complianceResults property: List of compliance results.

OffsetDateTime createdAt()

Get the createdAt property: The timestamp of resource creation (UTC).

static SnapshotProperties fromJson(JsonReader jsonReader)

Reads an instance of SnapshotProperties from the JsonReader.

ProvisioningState provisioningState()

Get the provisioningState property: Azure lifecycle management.

ReportProperties reportProperties()

Get the reportProperties property: The report essential info.

SystemData reportSystemData()

Get the reportSystemData property: Metadata pertaining to creation and last modification of the resource.

String snapshotName()

Get the snapshotName property: Snapshot name.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Method Details

complianceResults

public List<ComplianceResult> complianceResults()

Get the complianceResults property: List of compliance results.

Returns:

the complianceResults value.

createdAt

public OffsetDateTime createdAt()

Get the createdAt property: The timestamp of resource creation (UTC).

Returns:

the createdAt value.

fromJson

public static SnapshotProperties fromJson(JsonReader jsonReader)

Reads an instance of SnapshotProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If an error occurs while reading the SnapshotProperties.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: Azure lifecycle management.

Returns:

the provisioningState value.

reportProperties

public ReportProperties reportProperties()

Get the reportProperties property: The report essential info.

Returns:

the reportProperties value.

reportSystemData

public SystemData reportSystemData()

Get the reportSystemData property: Metadata pertaining to creation and last modification of the resource.

Returns:

the reportSystemData value.

snapshotName

public String snapshotName()

Get the snapshotName property: Snapshot name.

Returns:

the snapshotName value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to