Class ClientDiscoveryDisplay
- java.lang.Object
-
- com.azure.resourcemanager.recoveryservicesbackup.models.ClientDiscoveryDisplay
-
public final class ClientDiscoveryDisplay extends Object
Localized display information of an operation.
-
-
Constructor Summary
Constructors Constructor Description ClientDiscoveryDisplay()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
description()
Get the description property: Description of the operation having details of what operation is about.String
operation()
Get the operation property: Operations Name itself.String
provider()
Get the provider property: Name of the provider for display purposes.String
resource()
Get the resource property: ResourceType for which this Operation can be performed.void
validate()
Validates the instance.ClientDiscoveryDisplay
withDescription(String description)
Set the description property: Description of the operation having details of what operation is about.ClientDiscoveryDisplay
withOperation(String operation)
Set the operation property: Operations Name itself.ClientDiscoveryDisplay
withProvider(String provider)
Set the provider property: Name of the provider for display purposes.ClientDiscoveryDisplay
withResource(String resource)
Set the resource property: ResourceType for which this Operation can be performed.
-
-
-
Method Detail
-
provider
public String provider()
Get the provider property: Name of the provider for display purposes.- Returns:
- the provider value.
-
withProvider
public ClientDiscoveryDisplay withProvider(String provider)
Set the provider property: Name of the provider for display purposes.- Parameters:
provider
- the provider value to set.- Returns:
- the ClientDiscoveryDisplay object itself.
-
resource
public String resource()
Get the resource property: ResourceType for which this Operation can be performed.- Returns:
- the resource value.
-
withResource
public ClientDiscoveryDisplay withResource(String resource)
Set the resource property: ResourceType for which this Operation can be performed.- Parameters:
resource
- the resource value to set.- Returns:
- the ClientDiscoveryDisplay object itself.
-
operation
public String operation()
Get the operation property: Operations Name itself.- Returns:
- the operation value.
-
withOperation
public ClientDiscoveryDisplay withOperation(String operation)
Set the operation property: Operations Name itself.- Parameters:
operation
- the operation value to set.- Returns:
- the ClientDiscoveryDisplay object itself.
-
description
public String description()
Get the description property: Description of the operation having details of what operation is about.- Returns:
- the description value.
-
withDescription
public ClientDiscoveryDisplay withDescription(String description)
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.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-