IotHubDefinitionDescription Class
- java.
lang. Object - com.
azure. resourcemanager. deviceprovisioningservices. models. IotHubDefinitionDescription
- com.
public final class IotHubDefinitionDescription
Description of the IoT hub.
Constructor Summary
Constructor | Description | |
---|---|---|
IotHubDefinitionDescription() |
Method Summary
Modifier and Type | Method and Description |
---|---|
Integer |
allocationWeight()
Get the allocation |
Boolean |
applyAllocationPolicy()
Get the apply |
String |
connectionString()
Get the connection |
String |
location()
Get the location property: ARM region of the IoT hub. |
String |
name()
Get the name property: Host name of the IoT hub. |
void |
validate()
Validates the instance. |
Iot |
withAllocationWeight(Integer allocationWeight)
Set the allocation |
Iot |
withApplyAllocationPolicy(Boolean applyAllocationPolicy)
Set the apply |
Iot |
withConnectionString(String connectionString)
Set the connection |
Iot |
withLocation(String location)
Set the location property: ARM region of the IoT hub. |
Methods inherited from java.lang.Object
Constructor Details
IotHubDefinitionDescription
public IotHubDefinitionDescription()
Method Details
allocationWeight
public Integer allocationWeight()
Get the allocationWeight property: weight to apply for a given iot h.
Returns:
applyAllocationPolicy
public Boolean applyAllocationPolicy()
Get the applyAllocationPolicy property: flag for applying allocationPolicy or not for a given iot hub.
Returns:
connectionString
public String connectionString()
Get the connectionString property: Connection string of the IoT hub.
Returns:
location
public String location()
Get the location property: ARM region of the IoT hub.
Returns:
name
public String name()
Get the name property: Host name of the IoT hub.
Returns:
validate
public void validate()
Validates the instance.
withAllocationWeight
public IotHubDefinitionDescription withAllocationWeight(Integer allocationWeight)
Set the allocationWeight property: weight to apply for a given iot h.
Parameters:
Returns:
withApplyAllocationPolicy
public IotHubDefinitionDescription withApplyAllocationPolicy(Boolean applyAllocationPolicy)
Set the applyAllocationPolicy property: flag for applying allocationPolicy or not for a given iot hub.
Parameters:
Returns:
withConnectionString
public IotHubDefinitionDescription withConnectionString(String connectionString)
Set the connectionString property: Connection string of the IoT hub.
Parameters:
Returns:
withLocation
public IotHubDefinitionDescription withLocation(String location)
Set the location property: ARM region of the IoT hub.
Parameters:
Returns:
Applies to
Azure SDK for Java