Class LogSpecification
- java.lang.Object
-
- com.azure.resourcemanager.keyvault.models.LogSpecification
-
public final class LogSpecification extends Object
Log specification of operation.
-
-
Constructor Summary
Constructors Constructor Description LogSpecification()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringblobDuration()Get the blobDuration property: Blob duration of specification.StringdisplayName()Get the displayName property: Display name of log specification.Stringname()Get the name property: Name of log specification.voidvalidate()Validates the instance.LogSpecificationwithBlobDuration(String blobDuration)Set the blobDuration property: Blob duration of specification.LogSpecificationwithDisplayName(String displayName)Set the displayName property: Display name of log specification.LogSpecificationwithName(String name)Set the name property: Name of log specification.
-
-
-
Method Detail
-
name
public String name()
Get the name property: Name of log specification.- Returns:
- the name value.
-
withName
public LogSpecification withName(String name)
Set the name property: Name of log specification.- Parameters:
name- the name value to set.- Returns:
- the LogSpecification object itself.
-
displayName
public String displayName()
Get the displayName property: Display name of log specification.- Returns:
- the displayName value.
-
withDisplayName
public LogSpecification withDisplayName(String displayName)
Set the displayName property: Display name of log specification.- Parameters:
displayName- the displayName value to set.- Returns:
- the LogSpecification object itself.
-
blobDuration
public String blobDuration()
Get the blobDuration property: Blob duration of specification.- Returns:
- the blobDuration value.
-
withBlobDuration
public LogSpecification withBlobDuration(String blobDuration)
Set the blobDuration property: Blob duration of specification.- 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.
-
-