Class LogSpecification
- java.lang.Object
-
- com.azure.resourcemanager.avs.models.LogSpecification
-
public final class LogSpecification extends Object
Specifications of the Log for Azure Monitoring.
-
-
Constructor Summary
Constructors Constructor Description LogSpecification()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
blobDuration()
Get the blobDuration property: Blob duration of the log.String
displayName()
Get the displayName property: Localized friendly display name of the log.String
name()
Get the name property: Name of the log.void
validate()
Validates the instance.LogSpecification
withBlobDuration(String blobDuration)
Set the blobDuration property: Blob duration of the log.LogSpecification
withDisplayName(String displayName)
Set the displayName property: Localized friendly display name of the log.LogSpecification
withName(String name)
Set the name property: Name of the log.
-
-
-
Method Detail
-
name
public String name()
Get the name property: Name of the log.- Returns:
- the name value.
-
withName
public LogSpecification withName(String name)
Set the name property: Name of the log.- Parameters:
name
- the name value to set.- Returns:
- the LogSpecification object itself.
-
displayName
public String displayName()
Get the displayName property: Localized friendly display name of the log.- Returns:
- the displayName value.
-
withDisplayName
public LogSpecification withDisplayName(String displayName)
Set the displayName property: Localized friendly display name of the log.- Parameters:
displayName
- the displayName value to set.- Returns:
- the LogSpecification object itself.
-
blobDuration
public String blobDuration()
Get the blobDuration property: Blob duration of the log.- Returns:
- the blobDuration value.
-
withBlobDuration
public LogSpecification withBlobDuration(String blobDuration)
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.
-
-