Class ClientDiscoveryForLogSpecification
java.lang.Object
com.azure.resourcemanager.recoveryservices.models.ClientDiscoveryForLogSpecification
Class to represent shoebox log specification in json client discovery.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the blobDuration property: Blobs created in customer storage account per hour.Get the displayName property: Localized display name.name()
Get the name property: Name of the log.void
validate()
Validates the instance.withBlobDuration
(String blobDuration) Set the blobDuration property: Blobs created in customer storage account per hour.withDisplayName
(String displayName) Set the displayName property: Localized display name.Set the name property: Name of the log.
-
Constructor Details
-
ClientDiscoveryForLogSpecification
public ClientDiscoveryForLogSpecification()
-
-
Method Details
-
name
Get the name property: Name of the log.- Returns:
- the name value.
-
withName
Set the name property: Name of the log.- Parameters:
name
- the name value to set.- Returns:
- the ClientDiscoveryForLogSpecification object itself.
-
displayName
Get the displayName property: Localized display name.- Returns:
- the displayName value.
-
withDisplayName
Set the displayName property: Localized display name.- Parameters:
displayName
- the displayName value to set.- Returns:
- the ClientDiscoveryForLogSpecification object itself.
-
blobDuration
Get the blobDuration property: Blobs created in customer storage account per hour.- Returns:
- the blobDuration value.
-
withBlobDuration
Set the blobDuration property: Blobs created in customer storage account per hour.- Parameters:
blobDuration
- the blobDuration value to set.- Returns:
- the ClientDiscoveryForLogSpecification object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-