Class ClientDiscoveryForLogSpecification
- java.lang.Object
-
- com.azure.resourcemanager.recoveryservicesbackup.models.ClientDiscoveryForLogSpecification
-
public final class ClientDiscoveryForLogSpecification extends Object
Class to represent shoebox log specification in json client discovery.
-
-
Constructor Summary
Constructors Constructor Description ClientDiscoveryForLogSpecification()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
blobDuration()
Get the blobDuration property: blob duration of shoebox log specification.String
displayName()
Get the displayName property: Localized display name.String
name()
Get the name property: Name for shoebox log specification.void
validate()
Validates the instance.ClientDiscoveryForLogSpecification
withBlobDuration(String blobDuration)
Set the blobDuration property: blob duration of shoebox log specification.ClientDiscoveryForLogSpecification
withDisplayName(String displayName)
Set the displayName property: Localized display name.ClientDiscoveryForLogSpecification
withName(String name)
Set the name property: Name for shoebox log specification.
-
-
-
Method Detail
-
name
public String name()
Get the name property: Name for shoebox log specification.- Returns:
- the name value.
-
withName
public ClientDiscoveryForLogSpecification withName(String name)
Set the name property: Name for shoebox log specification.- Parameters:
name
- the name value to set.- Returns:
- the ClientDiscoveryForLogSpecification object itself.
-
displayName
public String displayName()
Get the displayName property: Localized display name.- Returns:
- the displayName value.
-
withDisplayName
public ClientDiscoveryForLogSpecification withDisplayName(String displayName)
Set the displayName property: Localized display name.- Parameters:
displayName
- the displayName value to set.- Returns:
- the ClientDiscoveryForLogSpecification object itself.
-
blobDuration
public String blobDuration()
Get the blobDuration property: blob duration of shoebox log specification.- Returns:
- the blobDuration value.
-
withBlobDuration
public ClientDiscoveryForLogSpecification withBlobDuration(String blobDuration)
Set the blobDuration property: blob duration of shoebox log specification.- 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.
-
-