Class ScheduledEventsProfile
java.lang.Object
com.azure.resourcemanager.compute.models.ScheduledEventsProfile
The ScheduledEventsProfile model.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ScheduledEventsProfile class. -
Method Summary
Modifier and TypeMethodDescriptionGet the osImageNotificationProfile property: Specifies OS Image Scheduled Event related configurations.Get the terminateNotificationProfile property: Specifies Terminate Scheduled Event related configurations.voidvalidate()Validates the instance.withOsImageNotificationProfile(OSImageNotificationProfile osImageNotificationProfile) Set the osImageNotificationProfile property: Specifies OS Image Scheduled Event related configurations.withTerminateNotificationProfile(TerminateNotificationProfile terminateNotificationProfile) Set the terminateNotificationProfile property: Specifies Terminate Scheduled Event related configurations.
-
Constructor Details
-
ScheduledEventsProfile
public ScheduledEventsProfile()Creates an instance of ScheduledEventsProfile class.
-
-
Method Details
-
terminateNotificationProfile
Get the terminateNotificationProfile property: Specifies Terminate Scheduled Event related configurations.- Returns:
- the terminateNotificationProfile value.
-
withTerminateNotificationProfile
public ScheduledEventsProfile withTerminateNotificationProfile(TerminateNotificationProfile terminateNotificationProfile) Set the terminateNotificationProfile property: Specifies Terminate Scheduled Event related configurations.- Parameters:
terminateNotificationProfile- the terminateNotificationProfile value to set.- Returns:
- the ScheduledEventsProfile object itself.
-
osImageNotificationProfile
Get the osImageNotificationProfile property: Specifies OS Image Scheduled Event related configurations.- Returns:
- the osImageNotificationProfile value.
-
withOsImageNotificationProfile
public ScheduledEventsProfile withOsImageNotificationProfile(OSImageNotificationProfile osImageNotificationProfile) Set the osImageNotificationProfile property: Specifies OS Image Scheduled Event related configurations.- Parameters:
osImageNotificationProfile- the osImageNotificationProfile value to set.- Returns:
- the ScheduledEventsProfile object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-