Class IotHubDescriptionInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.iothub.fluent.models.IotHubDescriptionInner
public final class IotHubDescriptionInner
extends com.azure.core.management.Resource
The description of the IoT hub.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionetag()
Get the etag property: The Etag field is *not* required.identity()
Get the identity property: The managed identities for the IotHub.Get the properties property: IotHub properties.sku()
Get the sku property: IotHub SKU info.com.azure.core.management.SystemData
Get the systemData property: The system meta data relating to this resource.void
validate()
Validates the instance.Set the etag property: The Etag field is *not* required.withIdentity
(ArmIdentity identity) Set the identity property: The managed identities for the IotHub.withLocation
(String location) withProperties
(IotHubProperties properties) Set the properties property: IotHub properties.withSku
(IotHubSkuInfo sku) Set the sku property: IotHub SKU info.Methods inherited from class com.azure.core.management.Resource
location, tags
Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
IotHubDescriptionInner
public IotHubDescriptionInner()
-
-
Method Details
-
etag
Get the etag property: The Etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal ETag convention.- Returns:
- the etag value.
-
withEtag
Set the etag property: The Etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal ETag convention.- Parameters:
etag
- the etag value to set.- Returns:
- the IotHubDescriptionInner object itself.
-
properties
Get the properties property: IotHub properties.- Returns:
- the properties value.
-
withProperties
Set the properties property: IotHub properties.- Parameters:
properties
- the properties value to set.- Returns:
- the IotHubDescriptionInner object itself.
-
sku
Get the sku property: IotHub SKU info.- Returns:
- the sku value.
-
withSku
Set the sku property: IotHub SKU info.- Parameters:
sku
- the sku value to set.- Returns:
- the IotHubDescriptionInner object itself.
-
identity
Get the identity property: The managed identities for the IotHub.- Returns:
- the identity value.
-
withIdentity
Set the identity property: The managed identities for the IotHub.- Parameters:
identity
- the identity value to set.- Returns:
- the IotHubDescriptionInner object itself.
-
systemData
public com.azure.core.management.SystemData systemData()Get the systemData property: The system meta data relating to this resource.- Returns:
- the systemData value.
-
withLocation
- Overrides:
withLocation
in classcom.azure.core.management.Resource
-
withTags
- Overrides:
withTags
in classcom.azure.core.management.Resource
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-