Class ClientDiscoveryDisplay
java.lang.Object
com.azure.resourcemanager.dataprotection.models.ClientDiscoveryDisplay
ClientDiscoveryDisplay
Localized display information of an operation.
-
Constructor Summary
ConstructorDescriptionCreates an instance of ClientDiscoveryDisplay class. -
Method Summary
Modifier and TypeMethodDescriptionGet the description property: Description of the operation having details of what operation is about.Get the operation property: Operations Name itself.provider()
Get the provider property: Name of the provider for display purposes.resource()
Get the resource property: ResourceType for which this Operation can be performed.void
validate()
Validates the instance.withDescription
(String description) Set the description property: Description of the operation having details of what operation is about.withOperation
(String operation) Set the operation property: Operations Name itself.withProvider
(String provider) Set the provider property: Name of the provider for display purposes.withResource
(String resource) Set the resource property: ResourceType for which this Operation can be performed.
-
Constructor Details
-
ClientDiscoveryDisplay
public ClientDiscoveryDisplay()Creates an instance of ClientDiscoveryDisplay class.
-
-
Method Details
-
description
Get the description property: Description of the operation having details of what operation is about.- Returns:
- the description value.
-
withDescription
Set the description property: Description of the operation having details of what operation is about.- Parameters:
description
- the description value to set.- Returns:
- the ClientDiscoveryDisplay object itself.
-
operation
Get the operation property: Operations Name itself.- Returns:
- the operation value.
-
withOperation
Set the operation property: Operations Name itself.- Parameters:
operation
- the operation value to set.- Returns:
- the ClientDiscoveryDisplay object itself.
-
provider
Get the provider property: Name of the provider for display purposes.- Returns:
- the provider value.
-
withProvider
Set the provider property: Name of the provider for display purposes.- Parameters:
provider
- the provider value to set.- Returns:
- the ClientDiscoveryDisplay object itself.
-
resource
Get the resource property: ResourceType for which this Operation can be performed.- Returns:
- the resource value.
-
withResource
Set the resource property: ResourceType for which this Operation can be performed.- Parameters:
resource
- the resource value to set.- Returns:
- the ClientDiscoveryDisplay object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-