Class NotificationContractInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.resourcemanager.apimanagement.fluent.models.NotificationContractInner
-
public final class NotificationContractInner extends com.azure.core.management.ProxyResource
Notification details.
-
-
Constructor Summary
Constructors Constructor Description NotificationContractInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
description()
Get the description property: Description of the Notification.RecipientsContractProperties
recipients()
Get the recipients property: Recipient Parameter values.String
title()
Get the title property: Title of the Notification.void
validate()
Validates the instance.NotificationContractInner
withDescription(String description)
Set the description property: Description of the Notification.NotificationContractInner
withRecipients(RecipientsContractProperties recipients)
Set the recipients property: Recipient Parameter values.NotificationContractInner
withTitle(String title)
Set the title property: Title of the Notification.
-
-
-
Method Detail
-
title
public String title()
Get the title property: Title of the Notification.- Returns:
- the title value.
-
withTitle
public NotificationContractInner withTitle(String title)
Set the title property: Title of the Notification.- Parameters:
title
- the title value to set.- Returns:
- the NotificationContractInner object itself.
-
description
public String description()
Get the description property: Description of the Notification.- Returns:
- the description value.
-
withDescription
public NotificationContractInner withDescription(String description)
Set the description property: Description of the Notification.- Parameters:
description
- the description value to set.- Returns:
- the NotificationContractInner object itself.
-
recipients
public RecipientsContractProperties recipients()
Get the recipients property: Recipient Parameter values.- Returns:
- the recipients value.
-
withRecipients
public NotificationContractInner withRecipients(RecipientsContractProperties recipients)
Set the recipients property: Recipient Parameter values.- Parameters:
recipients
- the recipients value to set.- Returns:
- the NotificationContractInner object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-