Class LogSpecification
java.lang.Object
com.azure.resourcemanager.appservice.models.LogSpecification
Log Definition of a single resource metric.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the blobDuration property: The blobDuration property.Get the displayName property: The displayName property.Get the logFilterPattern property: The logFilterPattern property.name()
Get the name property: The name property.void
validate()
Validates the instance.withBlobDuration
(String blobDuration) Set the blobDuration property: The blobDuration property.withDisplayName
(String displayName) Set the displayName property: The displayName property.withLogFilterPattern
(String logFilterPattern) Set the logFilterPattern property: The logFilterPattern property.Set the name property: The name property.
-
Constructor Details
-
LogSpecification
public LogSpecification()
-
-
Method Details
-
name
Get the name property: The name property.- Returns:
- the name value.
-
withName
Set the name property: The name property.- Parameters:
name
- the name value to set.- Returns:
- the LogSpecification object itself.
-
displayName
Get the displayName property: The displayName property.- Returns:
- the displayName value.
-
withDisplayName
Set the displayName property: The displayName property.- Parameters:
displayName
- the displayName value to set.- Returns:
- the LogSpecification object itself.
-
blobDuration
Get the blobDuration property: The blobDuration property.- Returns:
- the blobDuration value.
-
withBlobDuration
Set the blobDuration property: The blobDuration property.- Parameters:
blobDuration
- the blobDuration value to set.- Returns:
- the LogSpecification object itself.
-
logFilterPattern
Get the logFilterPattern property: The logFilterPattern property.- Returns:
- the logFilterPattern value.
-
withLogFilterPattern
Set the logFilterPattern property: The logFilterPattern property.- Parameters:
logFilterPattern
- the logFilterPattern value to set.- Returns:
- the LogSpecification object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-