ResponsibilityResource Class

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

Implements

public final class ResponsibilityResource
implements JsonSerializable<ResponsibilityResource>

A class represent the resource.

Method Summary

Modifier and Type Method and Description
String accountId()

Get the accountId property: Account Id.

static ResponsibilityResource fromJson(JsonReader jsonReader)

Reads an instance of ResponsibilityResource from the JsonReader.

List<String> recommendationIds()

Get the recommendationIds property: List of recommendation id.

String resourceId()

Get the resourceId property: The Id of the resource.

ResourceOrigin resourceOrigin()

Get the resourceOrigin property: Resource origin.

ResourceStatus resourceStatus()

Get the resourceStatus property: Resource status.

OffsetDateTime resourceStatusChangeDate()

Get the resourceStatusChangeDate property: The status change date for the resource.

String resourceType()

Get the resourceType property: The type of the resource.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Method Details

accountId

public String accountId()

Get the accountId property: Account Id. For example - AWS account Id.

Returns:

the accountId value.

fromJson

public static ResponsibilityResource fromJson(JsonReader jsonReader)

Reads an instance of ResponsibilityResource from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ResponsibilityResource 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 ResponsibilityResource.

recommendationIds

public List<String> recommendationIds()

Get the recommendationIds property: List of recommendation id.

Returns:

the recommendationIds value.

resourceId

public String resourceId()

Get the resourceId property: The Id of the resource.

Returns:

the resourceId value.

resourceOrigin

public ResourceOrigin resourceOrigin()

Get the resourceOrigin property: Resource origin.

Returns:

the resourceOrigin value.

resourceStatus

public ResourceStatus resourceStatus()

Get the resourceStatus property: Resource status.

Returns:

the resourceStatus value.

resourceStatusChangeDate

public OffsetDateTime resourceStatusChangeDate()

Get the resourceStatusChangeDate property: The status change date for the resource.

Returns:

the resourceStatusChangeDate value.

resourceType

public String resourceType()

Get the resourceType property: The type of the resource. e.g. "Microsoft.SignalRService/SignalR".

Returns:

the resourceType value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to