public final class TerminateNotificationProfile extends Object
Constructor and Description |
---|
TerminateNotificationProfile() |
Modifier and Type | Method and Description |
---|---|
Boolean |
enable()
Get the enable property: Specifies whether the Terminate Scheduled event is enabled or disabled.
|
String |
notBeforeTimeout()
Get the notBeforeTimeout property: Configurable length of time a Virtual Machine being deleted will have to
potentially approve the Terminate Scheduled Event before the event is auto approved (timed out).
|
void |
validate()
Validates the instance.
|
TerminateNotificationProfile |
withEnable(Boolean enable)
Set the enable property: Specifies whether the Terminate Scheduled event is enabled or disabled.
|
TerminateNotificationProfile |
withNotBeforeTimeout(String notBeforeTimeout)
Set the notBeforeTimeout property: Configurable length of time a Virtual Machine being deleted will have to
potentially approve the Terminate Scheduled Event before the event is auto approved (timed out).
|
public String notBeforeTimeout()
public TerminateNotificationProfile withNotBeforeTimeout(String notBeforeTimeout)
notBeforeTimeout
- the notBeforeTimeout value to set.public Boolean enable()
public TerminateNotificationProfile withEnable(Boolean enable)
enable
- the enable value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.