Class LogSpecification
java.lang.Object
com.azure.resourcemanager.network.models.LogSpecification
Description of logging specification.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the blobDuration property: Duration of the blob.Get the displayName property: The display name of the specification.name()Get the name property: The name of the specification.voidvalidate()Validates the instance.withBlobDuration(String blobDuration) Set the blobDuration property: Duration of the blob.withDisplayName(String displayName) Set the displayName property: The display name of the specification.Set the name property: The name of the specification.
-
Constructor Details
-
LogSpecification
public LogSpecification()Creates an instance of LogSpecification class.
-
-
Method Details
-
name
Get the name property: The name of the specification.- Returns:
- the name value.
-
withName
Set the name property: The name of the specification.- Parameters:
name- the name value to set.- Returns:
- the LogSpecification object itself.
-
displayName
Get the displayName property: The display name of the specification.- Returns:
- the displayName value.
-
withDisplayName
Set the displayName property: The display name of the specification.- Parameters:
displayName- the displayName value to set.- Returns:
- the LogSpecification object itself.
-
blobDuration
Get the blobDuration property: Duration of the blob.- Returns:
- the blobDuration value.
-
withBlobDuration
Set the blobDuration property: Duration of the blob.- 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.
-