Class OperationMetaLogSpecification
java.lang.Object
com.azure.resourcemanager.purview.models.OperationMetaLogSpecification
log specifications for operation api.
-
Constructor Summary
ConstructorDescriptionCreates an instance of OperationMetaLogSpecification class. -
Method Summary
Modifier and TypeMethodDescriptionGet the blobDuration property: blob duration of the log.Get the displayName property: localized name of the log category.name()
Get the name property: name of the log category.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 name of the log category.Set the name property: name of the log category.
-
Constructor Details
-
OperationMetaLogSpecification
public OperationMetaLogSpecification()Creates an instance of OperationMetaLogSpecification class.
-
-
Method Details
-
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 OperationMetaLogSpecification object itself.
-
displayName
Get the displayName property: localized name of the log category.- Returns:
- the displayName value.
-
withDisplayName
Set the displayName property: localized name of the log category.- Parameters:
displayName
- the displayName value to set.- Returns:
- the OperationMetaLogSpecification object itself.
-
name
Get the name property: name of the log category.- Returns:
- the name value.
-
withName
Set the name property: name of the log category.- Parameters:
name
- the name value to set.- Returns:
- the OperationMetaLogSpecification object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-