Trigger Class

  • java.lang.Object
    • com.microsoft.azure.keyvault.models.Trigger

public class Trigger

A condition to be satisfied for an action to be executed.

Method Summary

Modifier and Type Method and Description
Integer daysBeforeExpiry()

Get the daysBeforeExpiry value.

Integer lifetimePercentage()

Get the lifetimePercentage value.

Trigger withDaysBeforeExpiry(Integer daysBeforeExpiry)

Set the daysBeforeExpiry value.

Trigger withLifetimePercentage(Integer lifetimePercentage)

Set the lifetimePercentage value.

Method Details

daysBeforeExpiry

public Integer daysBeforeExpiry()

Get the daysBeforeExpiry value.

Returns:

the daysBeforeExpiry value

lifetimePercentage

public Integer lifetimePercentage()

Get the lifetimePercentage value.

Returns:

the lifetimePercentage value

withDaysBeforeExpiry

public Trigger withDaysBeforeExpiry(Integer daysBeforeExpiry)

Set the daysBeforeExpiry value.

Parameters:

daysBeforeExpiry - the daysBeforeExpiry value to set

Returns:

the Trigger object itself.

withLifetimePercentage

public Trigger withLifetimePercentage(Integer lifetimePercentage)

Set the lifetimePercentage value.

Parameters:

lifetimePercentage - the lifetimePercentage value to set

Returns:

the Trigger object itself.

Applies to