Class CallbackConfigInner
- java.lang.Object
-
- com.azure.resourcemanager.containerregistry.fluent.models.CallbackConfigInner
-
public final class CallbackConfigInner extends Object
The configuration of service URI and custom headers for the webhook.
-
-
Constructor Summary
Constructors Constructor Description CallbackConfigInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,String>customHeaders()Get the customHeaders property: Custom headers that will be added to the webhook notifications.StringserviceUri()Get the serviceUri property: The service URI for the webhook to post notifications.voidvalidate()Validates the instance.CallbackConfigInnerwithCustomHeaders(Map<String,String> customHeaders)Set the customHeaders property: Custom headers that will be added to the webhook notifications.CallbackConfigInnerwithServiceUri(String serviceUri)Set the serviceUri property: The service URI for the webhook to post notifications.
-
-
-
Method Detail
-
serviceUri
public String serviceUri()
Get the serviceUri property: The service URI for the webhook to post notifications.- Returns:
- the serviceUri value.
-
withServiceUri
public CallbackConfigInner withServiceUri(String serviceUri)
Set the serviceUri property: The service URI for the webhook to post notifications.- Parameters:
serviceUri- the serviceUri value to set.- Returns:
- the CallbackConfigInner object itself.
-
customHeaders
public Map<String,String> customHeaders()
Get the customHeaders property: Custom headers that will be added to the webhook notifications.- Returns:
- the customHeaders value.
-
withCustomHeaders
public CallbackConfigInner withCustomHeaders(Map<String,String> customHeaders)
Set the customHeaders property: Custom headers that will be added to the webhook notifications.- Parameters:
customHeaders- the customHeaders value to set.- Returns:
- the CallbackConfigInner object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-