LogSpecification Class
- java.
lang. Object - com.
azure. resourcemanager. avs. models. LogSpecification
- com.
public final class LogSpecification
Specifications of the Log for Azure Monitoring.
Constructor Summary
Constructor | Description |
---|---|
LogSpecification() |
Creates an instance of Log |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
blobDuration()
Get the blob |
String |
displayName()
Get the display |
String |
name()
Get the name property: Name of the log. |
void |
validate()
Validates the instance. |
Log |
withBlobDuration(String blobDuration)
Set the blob |
Log |
withDisplayName(String displayName)
Set the display |
Log |
withName(String name)
Set the name property: Name of the log. |
Methods inherited from java.lang.Object
Constructor Details
LogSpecification
public LogSpecification()
Creates an instance of LogSpecification class.
Method Details
blobDuration
public String blobDuration()
Get the blobDuration property: Blob duration of the log.
Returns:
displayName
public String displayName()
Get the displayName property: Localized friendly display name of the log.
Returns:
name
public String name()
Get the name property: Name of the log.
Returns:
validate
public void validate()
Validates the instance.
withBlobDuration
public LogSpecification withBlobDuration(String blobDuration)
Set the blobDuration property: Blob duration of the log.
Parameters:
Returns:
withDisplayName
public LogSpecification withDisplayName(String displayName)
Set the displayName property: Localized friendly display name of the log.
Parameters:
Returns:
withName
public LogSpecification withName(String name)
Set the name property: Name of the log.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for