Class LogSpecification
java.lang.Object
com.azure.resourcemanager.desktopvirtualization.models.LogSpecification
Specifications of the Log for Azure Monitoring.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the blobDuration property: Blob duration of the log.Get the displayName property: Localized friendly display name of the log.name()
Get the name property: Name of the log.void
validate()
Validates the instance.withBlobDuration
(String blobDuration) Set the blobDuration property: Blob duration of the log.withDisplayName
(String displayName) Set the displayName property: Localized friendly display name of the log.Set the name property: Name of the log.
-
Constructor Details
-
LogSpecification
public LogSpecification()
-
-
Method Details
-
name
Get the name property: Name of the log.- Returns:
- the name value.
-
withName
Set the name property: Name of the log.- Parameters:
name
- the name value to set.- Returns:
- the LogSpecification object itself.
-
displayName
Get the displayName property: Localized friendly display name of the log.- Returns:
- the displayName value.
-
withDisplayName
Set the displayName property: Localized friendly display name of the log.- Parameters:
displayName
- the displayName value to set.- Returns:
- the LogSpecification object itself.
-
blobDuration
Get the blobDuration property: Blob duration of the log.- Returns:
- the blobDuration value.
-
withBlobDuration
Set the blobDuration property: Blob duration of the log.- Parameters:
blobDuration
- the blobDuration value to set.- Returns:
- the LogSpecification object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-