Class EventInner
- java.lang.Object
-
- com.azure.resourcemanager.containerregistry.fluent.models.EventInfoInner
-
- com.azure.resourcemanager.containerregistry.fluent.models.EventInner
-
public final class EventInner extends EventInfoInner
The event for a webhook.
-
-
Constructor Summary
Constructors Constructor Description EventInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EventRequestMessageeventRequestMessage()Get the eventRequestMessage property: The event request message sent to the service URI.EventResponseMessageeventResponseMessage()Get the eventResponseMessage property: The event response message received from the service URI.voidvalidate()Validates the instance.EventInnerwithEventRequestMessage(EventRequestMessage eventRequestMessage)Set the eventRequestMessage property: The event request message sent to the service URI.EventInnerwithEventResponseMessage(EventResponseMessage eventResponseMessage)Set the eventResponseMessage property: The event response message received from the service URI.EventInnerwithId(String id)Set the id property: The event ID.-
Methods inherited from class com.azure.resourcemanager.containerregistry.fluent.models.EventInfoInner
id
-
-
-
-
Method Detail
-
eventRequestMessage
public EventRequestMessage eventRequestMessage()
Get the eventRequestMessage property: The event request message sent to the service URI.- Returns:
- the eventRequestMessage value.
-
withEventRequestMessage
public EventInner withEventRequestMessage(EventRequestMessage eventRequestMessage)
Set the eventRequestMessage property: The event request message sent to the service URI.- Parameters:
eventRequestMessage- the eventRequestMessage value to set.- Returns:
- the EventInner object itself.
-
eventResponseMessage
public EventResponseMessage eventResponseMessage()
Get the eventResponseMessage property: The event response message received from the service URI.- Returns:
- the eventResponseMessage value.
-
withEventResponseMessage
public EventInner withEventResponseMessage(EventResponseMessage eventResponseMessage)
Set the eventResponseMessage property: The event response message received from the service URI.- Parameters:
eventResponseMessage- the eventResponseMessage value to set.- Returns:
- the EventInner object itself.
-
withId
public EventInner withId(String id)
Set the id property: The event ID.- Overrides:
withIdin classEventInfoInner- Parameters:
id- the id value to set.- Returns:
- the EventInfoInner object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validatein classEventInfoInner- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-