ChangeProperties Class
- java.
lang. Object - com.
azure. resourcemanager. resources. models. ChangeProperties
- com.
Implements
public final class ChangeProperties
implements JsonSerializable<ChangeProperties>
The properties of a change.
Constructor Summary
Constructor | Description |
---|---|
ChangeProperties() |
Creates an instance of Change |
Method Summary
Modifier and Type | Method and Description |
---|---|
Change |
changeAttributes()
Get the change |
Resource |
changeType()
Get the change |
Map<String,Change |
changes()
Get the changes property: A dictionary with changed property name as a key and the change details as the value. |
static
Change |
fromJson(JsonReader jsonReader)
Reads an instance of Change |
String |
targetResourceId()
Get the target |
String |
targetResourceType()
Get the target |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Change |
withChangeAttributes(ChangeAttributes changeAttributes)
Set the change |
Change |
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:
changeType
public ResourceChangeType changeType()
Get the changeType property: The type of change that was captured in the resource.
Returns:
changes
public Map
Get the changes property: A dictionary with changed property name as a key and the change details as the value.
Returns:
fromJson
public static ChangeProperties fromJson(JsonReader jsonReader)
Reads an instance of ChangeProperties from the JsonReader.
Parameters:
Returns:
Throws:
targetResourceId
public String targetResourceId()
Get the targetResourceId property: The fully qualified ID of the target resource that was changed.
Returns:
targetResourceType
public String targetResourceType()
Get the targetResourceType property: The namespace and type of the resource.
Returns:
toJson
validate
public void validate()
Validates the instance.
withChangeAttributes
public ChangeProperties withChangeAttributes(ChangeAttributes changeAttributes)
Set the changeAttributes property: Details about the change resource.
Parameters:
Returns:
withChanges
public ChangeProperties withChanges(Map
Set the changes property: A dictionary with changed property name as a key and the change details as the value.
Parameters:
Returns:
Applies to
Azure SDK for Java