Class ServiceOperationDisplay
java.lang.Object
com.azure.resourcemanager.datamigration.models.ServiceOperationDisplay
Localized display text.
-
Constructor Summary
ConstructorDescriptionCreates an instance of ServiceOperationDisplay class. -
Method Summary
Modifier and TypeMethodDescriptionGet the description property: The localized operation description.Get the operation property: The localized operation name.provider()
Get the provider property: The localized resource provider name.resource()
Get the resource property: The localized resource type name.void
validate()
Validates the instance.withDescription
(String description) Set the description property: The localized operation description.withOperation
(String operation) Set the operation property: The localized operation name.withProvider
(String provider) Set the provider property: The localized resource provider name.withResource
(String resource) Set the resource property: The localized resource type name.
-
Constructor Details
-
ServiceOperationDisplay
public ServiceOperationDisplay()Creates an instance of ServiceOperationDisplay class.
-
-
Method Details
-
provider
Get the provider property: The localized resource provider name.- Returns:
- the provider value.
-
withProvider
Set the provider property: The localized resource provider name.- Parameters:
provider
- the provider value to set.- Returns:
- the ServiceOperationDisplay object itself.
-
resource
Get the resource property: The localized resource type name.- Returns:
- the resource value.
-
withResource
Set the resource property: The localized resource type name.- Parameters:
resource
- the resource value to set.- Returns:
- the ServiceOperationDisplay object itself.
-
operation
Get the operation property: The localized operation name.- Returns:
- the operation value.
-
withOperation
Set the operation property: The localized operation name.- Parameters:
operation
- the operation value to set.- Returns:
- the ServiceOperationDisplay object itself.
-
description
Get the description property: The localized operation description.- Returns:
- the description value.
-
withDescription
Set the description property: The localized operation description.- Parameters:
description
- the description value to set.- Returns:
- the ServiceOperationDisplay object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-