Class AccessKeyExpirationAlertSourceConfiguration
Represents configuration for Developer Portal access key expiration alert source.
Inheritance
System.Object
AccessKeyExpirationAlertSourceConfiguration
Implements
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Nevatech.Vsb.Repository.Alerts
Assembly: Nevatech.Vsb.Repository.dll
Syntax
public sealed class AccessKeyExpirationAlertSourceConfiguration : IValidator
Constructors
AccessKeyExpirationAlertSourceConfiguration()
Initializes new instance with default values.
Declaration
public AccessKeyExpirationAlertSourceConfiguration()
Properties
DaysBeforeExpiration
Gets or sets the maximum number of days before expiration when access key reporting as expiring. Default is 8 days.
Declaration
public int DaysBeforeExpiration { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
ErrorMessage
Gets the message indicating the errors found during validation process.
Declaration
public string ErrorMessage { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
Validate()
Evaluates the state of the object.
Declaration
public bool Validate()
Returns
Type | Description |
---|---|
System.Boolean | True if state is valid; otherwise, false. |