Class OperationLogSpecification
- java.lang.Object
-
- com.azure.resourcemanager.datafactory.models.OperationLogSpecification
-
public final class OperationLogSpecification extends Object
Details about an operation related to logs.
-
-
Constructor Summary
Constructors Constructor Description OperationLogSpecification()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
blobDuration()
Get the blobDuration property: Blobs created in the customer storage account, per hour.String
displayName()
Get the displayName property: Localized display name.String
name()
Get the name property: The name of the log category.void
validate()
Validates the instance.OperationLogSpecification
withBlobDuration(String blobDuration)
Set the blobDuration property: Blobs created in the customer storage account, per hour.OperationLogSpecification
withDisplayName(String displayName)
Set the displayName property: Localized display name.OperationLogSpecification
withName(String name)
Set the name property: The name of the log category.
-
-
-
Method Detail
-
name
public String name()
Get the name property: The name of the log category.- Returns:
- the name value.
-
withName
public OperationLogSpecification withName(String name)
Set the name property: The name of the log category.- Parameters:
name
- the name value to set.- Returns:
- the OperationLogSpecification object itself.
-
displayName
public String displayName()
Get the displayName property: Localized display name.- Returns:
- the displayName value.
-
withDisplayName
public OperationLogSpecification withDisplayName(String displayName)
Set the displayName property: Localized display name.- Parameters:
displayName
- the displayName value to set.- Returns:
- the OperationLogSpecification object itself.
-
blobDuration
public String blobDuration()
Get the blobDuration property: Blobs created in the customer storage account, per hour.- Returns:
- the blobDuration value.
-
withBlobDuration
public OperationLogSpecification withBlobDuration(String blobDuration)
Set the blobDuration property: Blobs created in the customer storage account, per hour.- Parameters:
blobDuration
- the blobDuration value to set.- Returns:
- the OperationLogSpecification object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-