DigitalTwinsResource Class

public class DigitalTwinsResource
extends Resource

The common properties of a DigitalTwinsInstance.

Constructor Summary

Constructor Description
DigitalTwinsResource()

Creates an instance of DigitalTwinsResource class.

Method Summary

Modifier and Type Method and Description
DigitalTwinsIdentity identity()

Get the identity property: The managed identity for the DigitalTwinsInstance.

SystemData systemData()

Get the systemData property: Metadata pertaining to creation and last modification of the DigitalTwinsInstance.

void validate()

Validates the instance.

DigitalTwinsResource withIdentity(DigitalTwinsIdentity identity)

Set the identity property: The managed identity for the DigitalTwinsInstance.

DigitalTwinsResource withLocation(String location)
DigitalTwinsResource withTags(Map<String,String> tags)

Methods inherited from ProxyResource

Methods inherited from Resource

Methods inherited from java.lang.Object

Constructor Details

DigitalTwinsResource

public DigitalTwinsResource()

Creates an instance of DigitalTwinsResource class.

Method Details

identity

public DigitalTwinsIdentity identity()

Get the identity property: The managed identity for the DigitalTwinsInstance.

Returns:

the identity value.

systemData

public SystemData systemData()

Get the systemData property: Metadata pertaining to creation and last modification of the DigitalTwinsInstance.

Returns:

the systemData value.

validate

public void validate()

Validates the instance.

withIdentity

public DigitalTwinsResource withIdentity(DigitalTwinsIdentity identity)

Set the identity property: The managed identity for the DigitalTwinsInstance.

Parameters:

identity - the identity value to set.

Returns:

the DigitalTwinsResource object itself.

withLocation

public DigitalTwinsResource withLocation(String location)

Overrides:

DigitalTwinsResource.withLocation(String location)

Parameters:

location

withTags

public DigitalTwinsResource withTags(Map tags)

Overrides:

DigitalTwinsResource.withTags(Map<String,String> tags)

Parameters:

tags

Applies to