Class ClientDiscoveryForServiceSpecification
java.lang.Object
com.azure.resourcemanager.recoveryservicesbackup.models.ClientDiscoveryForServiceSpecification
Class to represent shoebox service specification in json client discovery.
-
Constructor Summary
ConstructorDescriptionCreates an instance of ClientDiscoveryForServiceSpecification class. -
Method Summary
Modifier and TypeMethodDescriptionGet the logSpecifications property: List of log specifications of this operation.void
validate()
Validates the instance.withLogSpecifications
(List<ClientDiscoveryForLogSpecification> logSpecifications) Set the logSpecifications property: List of log specifications of this operation.
-
Constructor Details
-
ClientDiscoveryForServiceSpecification
public ClientDiscoveryForServiceSpecification()Creates an instance of ClientDiscoveryForServiceSpecification class.
-
-
Method Details
-
logSpecifications
Get the logSpecifications property: List of log specifications of this operation.- Returns:
- the logSpecifications value.
-
withLogSpecifications
public ClientDiscoveryForServiceSpecification withLogSpecifications(List<ClientDiscoveryForLogSpecification> logSpecifications) Set the logSpecifications property: List of log specifications of this operation.- Parameters:
logSpecifications
- the logSpecifications value to set.- Returns:
- the ClientDiscoveryForServiceSpecification object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-