OperationLogSpecificationDefinition Class
- java.
lang. Object - com.
azure. resourcemanager. containerregistry. models. OperationLogSpecificationDefinition
- com.
Implements
public final class OperationLogSpecificationDefinition
implements JsonSerializable<OperationLogSpecificationDefinition>
The definition of Azure Monitoring log.
Constructor Summary
Constructor | Description |
---|---|
OperationLogSpecificationDefinition() |
Creates an instance of Operation |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
blobDuration()
Get the blob |
String |
displayName()
Get the display |
static
Operation |
fromJson(JsonReader jsonReader)
Reads an instance of Operation |
String |
name()
Get the name property: Log name. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Operation |
withBlobDuration(String blobDuration)
Set the blob |
Operation |
withDisplayName(String displayName)
Set the display |
Operation |
withName(String name)
Set the name property: Log name. |
Methods inherited from java.lang.Object
Constructor Details
OperationLogSpecificationDefinition
public OperationLogSpecificationDefinition()
Creates an instance of OperationLogSpecificationDefinition class.
Method Details
blobDuration
public String blobDuration()
Get the blobDuration property: Log blob duration.
Returns:
displayName
public String displayName()
Get the displayName property: Log display name.
Returns:
fromJson
public static OperationLogSpecificationDefinition fromJson(JsonReader jsonReader)
Reads an instance of OperationLogSpecificationDefinition from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: Log name.
Returns:
toJson
validate
public void validate()
Validates the instance.
withBlobDuration
public OperationLogSpecificationDefinition withBlobDuration(String blobDuration)
Set the blobDuration property: Log blob duration.
Parameters:
Returns:
withDisplayName
public OperationLogSpecificationDefinition withDisplayName(String displayName)
Set the displayName property: Log display name.
Parameters:
Returns:
withName
public OperationLogSpecificationDefinition withName(String name)
Set the name property: Log name.
Parameters:
Returns:
Applies to
Azure SDK for Java