Class DigitalTwinsPatchDescription
- java.lang.Object
-
- com.azure.resourcemanager.digitaltwins.models.DigitalTwinsPatchDescription
-
public final class DigitalTwinsPatchDescription extends Object
The description of the DigitalTwins service.
-
-
Constructor Summary
Constructors Constructor Description DigitalTwinsPatchDescription()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DigitalTwinsIdentity
identity()
Get the identity property: The managed identity for the DigitalTwinsInstance.DigitalTwinsPatchProperties
properties()
Get the properties property: Properties for the DigitalTwinsInstance.Map<String,String>
tags()
Get the tags property: Instance patch properties.void
validate()
Validates the instance.DigitalTwinsPatchDescription
withIdentity(DigitalTwinsIdentity identity)
Set the identity property: The managed identity for the DigitalTwinsInstance.DigitalTwinsPatchDescription
withProperties(DigitalTwinsPatchProperties properties)
Set the properties property: Properties for the DigitalTwinsInstance.DigitalTwinsPatchDescription
withTags(Map<String,String> tags)
Set the tags property: Instance patch properties.
-
-
-
Method Detail
-
tags
public Map<String,String> tags()
Get the tags property: Instance patch properties.- Returns:
- the tags value.
-
withTags
public DigitalTwinsPatchDescription withTags(Map<String,String> tags)
Set the tags property: Instance patch properties.- Parameters:
tags
- the tags value to set.- Returns:
- the DigitalTwinsPatchDescription object itself.
-
identity
public DigitalTwinsIdentity identity()
Get the identity property: The managed identity for the DigitalTwinsInstance.- Returns:
- the identity value.
-
withIdentity
public DigitalTwinsPatchDescription withIdentity(DigitalTwinsIdentity identity)
Set the identity property: The managed identity for the DigitalTwinsInstance.- Parameters:
identity
- the identity value to set.- Returns:
- the DigitalTwinsPatchDescription object itself.
-
properties
public DigitalTwinsPatchProperties properties()
Get the properties property: Properties for the DigitalTwinsInstance.- Returns:
- the properties value.
-
withProperties
public DigitalTwinsPatchDescription withProperties(DigitalTwinsPatchProperties properties)
Set the properties property: Properties for the DigitalTwinsInstance.- Parameters:
properties
- the properties value to set.- Returns:
- the DigitalTwinsPatchDescription object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-