次の方法で共有


ChangeProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.resources.models.ChangeProperties

public final class ChangeProperties

The properties of a change.

Constructor Summary

Constructor Description
ChangeProperties()

Creates an instance of ChangeProperties class.

Method Summary

Modifier and Type Method and Description
ChangeAttributes changeAttributes()

Get the changeAttributes property: Details about the change resource.

ResourceChangeType changeType()

Get the changeType property: The type of change that was captured in the resource.

Map<String,ChangeBase> changes()

Get the changes property: A dictionary with changed property name as a key and the change details as the value.

String targetResourceId()

Get the targetResourceId property: The fully qualified ID of the target resource that was changed.

String targetResourceType()

Get the targetResourceType property: The namespace and type of the resource.

void validate()

Validates the instance.

ChangeProperties withChangeAttributes(ChangeAttributes changeAttributes)

Set the changeAttributes property: Details about the change resource.

ChangeProperties withChanges(Map<String,ChangeBase> changes)

Set the changes property: A dictionary with changed property name as a key and the change details as the value.

Methods inherited from java.lang.Object

Constructor Details

ChangeProperties

public ChangeProperties()

Creates an instance of ChangeProperties class.

Method Details

changeAttributes

public ChangeAttributes changeAttributes()

Get the changeAttributes property: Details about the change resource.

Returns:

the changeAttributes value.

changeType

public ResourceChangeType changeType()

Get the changeType property: The type of change that was captured in the resource.

Returns:

the changeType value.

changes

public Map changes()

Get the changes property: A dictionary with changed property name as a key and the change details as the value.

Returns:

the changes value.

targetResourceId

public String targetResourceId()

Get the targetResourceId property: The fully qualified ID of the target resource that was changed.

Returns:

the targetResourceId value.

targetResourceType

public String targetResourceType()

Get the targetResourceType property: The namespace and type of the resource.

Returns:

the targetResourceType value.

validate

public void validate()

Validates the instance.

withChangeAttributes

public ChangeProperties withChangeAttributes(ChangeAttributes changeAttributes)

Set the changeAttributes property: Details about the change resource.

Parameters:

changeAttributes - the changeAttributes value to set.

Returns:

the ChangeProperties object itself.

withChanges

public ChangeProperties withChanges(Map changes)

Set the changes property: A dictionary with changed property name as a key and the change details as the value.

Parameters:

changes - the changes value to set.

Returns:

the ChangeProperties object itself.

Applies to