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
Constructors Constructor Description IotHubDescriptionInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
etag()
Get the etag property: The Etag field is *not* required.ArmIdentity
identity()
Get the identity property: The managed identities for the IotHub.IotHubProperties
properties()
Get the properties property: IotHub properties.IotHubSkuInfo
sku()
Get the sku property: IotHub SKU info.com.azure.core.management.SystemData
systemData()
Get the systemData property: The system meta data relating to this resource.void
validate()
Validates the instance.IotHubDescriptionInner
withEtag(String etag)
Set the etag property: The Etag field is *not* required.IotHubDescriptionInner
withIdentity(ArmIdentity identity)
Set the identity property: The managed identities for the IotHub.IotHubDescriptionInner
withLocation(String location)
IotHubDescriptionInner
withProperties(IotHubProperties properties)
Set the properties property: IotHub properties.IotHubDescriptionInner
withSku(IotHubSkuInfo sku)
Set the sku property: IotHub SKU info.IotHubDescriptionInner
withTags(Map<String,String> tags)
-
-
-
Method Detail
-
etag
public String 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
public IotHubDescriptionInner withEtag(String etag)
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
public IotHubProperties properties()
Get the properties property: IotHub properties.- Returns:
- the properties value.
-
withProperties
public IotHubDescriptionInner withProperties(IotHubProperties properties)
Set the properties property: IotHub properties.- Parameters:
properties
- the properties value to set.- Returns:
- the IotHubDescriptionInner object itself.
-
sku
public IotHubSkuInfo sku()
Get the sku property: IotHub SKU info.- Returns:
- the sku value.
-
withSku
public IotHubDescriptionInner withSku(IotHubSkuInfo sku)
Set the sku property: IotHub SKU info.- Parameters:
sku
- the sku value to set.- Returns:
- the IotHubDescriptionInner object itself.
-
identity
public ArmIdentity identity()
Get the identity property: The managed identities for the IotHub.- Returns:
- the identity value.
-
withIdentity
public IotHubDescriptionInner withIdentity(ArmIdentity identity)
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
public IotHubDescriptionInner withLocation(String location)
- Overrides:
withLocation
in classcom.azure.core.management.Resource
-
withTags
public IotHubDescriptionInner withTags(Map<String,String> tags)
- Overrides:
withTags
in classcom.azure.core.management.Resource
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-