Class SuppressionProperties
java.lang.Object
com.azure.resourcemanager.advisor.fluent.models.SuppressionProperties
The properties of the suppression.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the expirationTimestamp property: Gets or sets the expiration time stamp.Get the suppressionId property: The GUID of the suppression.ttl()
Get the ttl property: The duration for which the suppression is valid.void
validate()
Validates the instance.withSuppressionId
(String suppressionId) Set the suppressionId property: The GUID of the suppression.Set the ttl property: The duration for which the suppression is valid.
-
Constructor Details
-
SuppressionProperties
public SuppressionProperties()Creates an instance of SuppressionProperties class.
-
-
Method Details
-
suppressionId
Get the suppressionId property: The GUID of the suppression.- Returns:
- the suppressionId value.
-
withSuppressionId
Set the suppressionId property: The GUID of the suppression.- Parameters:
suppressionId
- the suppressionId value to set.- Returns:
- the SuppressionProperties object itself.
-
ttl
Get the ttl property: The duration for which the suppression is valid.- Returns:
- the ttl value.
-
withTtl
Set the ttl property: The duration for which the suppression is valid.- Parameters:
ttl
- the ttl value to set.- Returns:
- the SuppressionProperties object itself.
-
expirationTimestamp
Get the expirationTimestamp property: Gets or sets the expiration time stamp.- Returns:
- the expirationTimestamp value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-