InstanceProperties Class
- java.
lang. Object - com.
azure. resourcemanager. deviceupdate. fluent. models. InstanceProperties
- com.
Implements
public final class InstanceProperties
implements JsonSerializable<InstanceProperties>
Device Update instance properties.
Constructor Summary
| Constructor | Description |
|---|---|
| InstanceProperties() |
Creates an instance of Instance |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
accountName()
Get the account |
|
Diagnostic |
diagnosticStorageProperties()
Get the diagnostic |
| Boolean |
enableDiagnostics()
Get the enable |
|
static
Instance |
fromJson(JsonReader jsonReader)
Reads an instance of Instance |
|
List<Iot |
iotHubs()
Get the iot |
|
Provisioning |
provisioningState()
Get the provisioning |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Instance |
withDiagnosticStorageProperties(DiagnosticStorageProperties diagnosticStorageProperties)
Set the diagnostic |
|
Instance |
withEnableDiagnostics(Boolean enableDiagnostics)
Set the enable |
|
Instance |
withIotHubs(List<IotHubSettings> iotHubs)
Set the iot |
Methods inherited from java.lang.Object
Constructor Details
InstanceProperties
public InstanceProperties()
Creates an instance of InstanceProperties class.
Method Details
accountName
public String accountName()
Get the accountName property: Parent Device Update Account name which Instance belongs to.
Returns:
diagnosticStorageProperties
public DiagnosticStorageProperties diagnosticStorageProperties()
Get the diagnosticStorageProperties property: Customer-initiated diagnostic log collection storage properties.
Returns:
enableDiagnostics
public Boolean enableDiagnostics()
Get the enableDiagnostics property: Enables or Disables the diagnostic logs collection.
Returns:
fromJson
public static InstanceProperties fromJson(JsonReader jsonReader)
Reads an instance of InstanceProperties from the JsonReader.
Parameters:
Returns:
Throws:
iotHubs
public List<IotHubSettings> iotHubs()
Get the iotHubs property: List of IoT Hubs associated with the account.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: Provisioning state.
Returns:
toJson
validate
public void validate()
Validates the instance.
withDiagnosticStorageProperties
public InstanceProperties withDiagnosticStorageProperties(DiagnosticStorageProperties diagnosticStorageProperties)
Set the diagnosticStorageProperties property: Customer-initiated diagnostic log collection storage properties.
Parameters:
Returns:
withEnableDiagnostics
public InstanceProperties withEnableDiagnostics(Boolean enableDiagnostics)
Set the enableDiagnostics property: Enables or Disables the diagnostic logs collection.
Parameters:
Returns:
withIotHubs
public InstanceProperties withIotHubs(List<IotHubSettings> iotHubs)
Set the iotHubs property: List of IoT Hubs associated with the account.
Parameters:
Returns: