public final class ApiOperationAnnotation extends Object
Constructor and Description |
---|
ApiOperationAnnotation() |
Modifier and Type | Method and Description |
---|---|
String |
family()
Get the family property: The family.
|
Integer |
revision()
Get the revision property: The revision.
|
StatusAnnotation |
status()
Get the status property: The status annotation.
|
void |
validate()
Validates the instance.
|
ApiOperationAnnotation |
withFamily(String family)
Set the family property: The family.
|
ApiOperationAnnotation |
withRevision(Integer revision)
Set the revision property: The revision.
|
ApiOperationAnnotation |
withStatus(StatusAnnotation status)
Set the status property: The status annotation.
|
public StatusAnnotation status()
public ApiOperationAnnotation withStatus(StatusAnnotation status)
status
- the status value to set.public String family()
public ApiOperationAnnotation withFamily(String family)
family
- the family value to set.public Integer revision()
public ApiOperationAnnotation withRevision(Integer revision)
revision
- the revision value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.