Class AnnotationInner
java.lang.Object
com.azure.resourcemanager.applicationinsights.fluent.models.AnnotationInner
Annotation associated with an application insights resource.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the annotationName property: Name of annotation.category()Get the category property: Category of annotation, free form.Get the eventTime property: Time when event occurred.id()Get the id property: Unique Id for annotation.Get the properties property: Serialized JSON object for detailed properties.Get the relatedAnnotation property: Related parent annotation if any.voidvalidate()Validates the instance.withAnnotationName(String annotationName) Set the annotationName property: Name of annotation.withCategory(String category) Set the category property: Category of annotation, free form.withEventTime(OffsetDateTime eventTime) Set the eventTime property: Time when event occurred.Set the id property: Unique Id for annotation.withProperties(String properties) Set the properties property: Serialized JSON object for detailed properties.withRelatedAnnotation(String relatedAnnotation) Set the relatedAnnotation property: Related parent annotation if any.
-
Constructor Details
-
AnnotationInner
public AnnotationInner()
-
-
Method Details
-
annotationName
Get the annotationName property: Name of annotation.- Returns:
- the annotationName value.
-
withAnnotationName
Set the annotationName property: Name of annotation.- Parameters:
annotationName- the annotationName value to set.- Returns:
- the AnnotationInner object itself.
-
category
Get the category property: Category of annotation, free form.- Returns:
- the category value.
-
withCategory
Set the category property: Category of annotation, free form.- Parameters:
category- the category value to set.- Returns:
- the AnnotationInner object itself.
-
eventTime
Get the eventTime property: Time when event occurred.- Returns:
- the eventTime value.
-
withEventTime
Set the eventTime property: Time when event occurred.- Parameters:
eventTime- the eventTime value to set.- Returns:
- the AnnotationInner object itself.
-
id
Get the id property: Unique Id for annotation.- Returns:
- the id value.
-
withId
Set the id property: Unique Id for annotation.- Parameters:
id- the id value to set.- Returns:
- the AnnotationInner object itself.
-
properties
Get the properties property: Serialized JSON object for detailed properties.- Returns:
- the properties value.
-
withProperties
Set the properties property: Serialized JSON object for detailed properties.- Parameters:
properties- the properties value to set.- Returns:
- the AnnotationInner object itself.
-
withRelatedAnnotation
Set the relatedAnnotation property: Related parent annotation if any.- Parameters:
relatedAnnotation- the relatedAnnotation value to set.- Returns:
- the AnnotationInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-