Class ApiOperationAnnotation
java.lang.Object
com.azure.resourcemanager.logic.models.ApiOperationAnnotation
The Api Operation Annotation.
-
Constructor Summary
ConstructorDescriptionCreates an instance of ApiOperationAnnotation class. -
Method Summary
Modifier and TypeMethodDescriptionfamily()
Get the family property: The family.revision()
Get the revision property: The revision.status()
Get the status property: The status annotation.void
validate()
Validates the instance.withFamily
(String family) Set the family property: The family.withRevision
(Integer revision) Set the revision property: The revision.withStatus
(StatusAnnotation status) Set the status property: The status annotation.
-
Constructor Details
-
ApiOperationAnnotation
public ApiOperationAnnotation()Creates an instance of ApiOperationAnnotation class.
-
-
Method Details
-
status
Get the status property: The status annotation.- Returns:
- the status value.
-
withStatus
Set the status property: The status annotation.- Parameters:
status
- the status value to set.- Returns:
- the ApiOperationAnnotation object itself.
-
family
Get the family property: The family.- Returns:
- the family value.
-
withFamily
Set the family property: The family.- Parameters:
family
- the family value to set.- Returns:
- the ApiOperationAnnotation object itself.
-
revision
Get the revision property: The revision.- Returns:
- the revision value.
-
withRevision
Set the revision property: The revision.- Parameters:
revision
- the revision value to set.- Returns:
- the ApiOperationAnnotation object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-