Interface SuppressionContract
public interface SuppressionContract
An immutable client-side representation of SuppressionContract.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
The entirety of the SuppressionContract definition.static interface
The SuppressionContract definition stages. -
Method Summary
Modifier and TypeMethodDescriptionGets the expirationTimestamp property: Gets or sets the expiration time stamp.id()
Gets the id property: Fully qualified resource Id for the resource.Gets the inner com.azure.resourcemanager.advisor.fluent.models.SuppressionContractInner object.name()
Gets the name property: The name of the resource.refresh()
Refreshes the resource to sync with Azure.refresh
(com.azure.core.util.Context context) Refreshes the resource to sync with Azure.Gets the suppressionId property: The GUID of the suppression.ttl()
Gets the ttl property: The duration for which the suppression is valid.type()
Gets the type property: The type of the resource.
-
Method Details
-
id
String id()Gets the id property: Fully qualified resource Id for the resource.- Returns:
- the id value.
-
name
String name()Gets the name property: The name of the resource.- Returns:
- the name value.
-
type
String type()Gets the type property: The type of the resource.- Returns:
- the type value.
-
suppressionId
String suppressionId()Gets the suppressionId property: The GUID of the suppression.- Returns:
- the suppressionId value.
-
ttl
String ttl()Gets the ttl property: The duration for which the suppression is valid.- Returns:
- the ttl value.
-
expirationTimestamp
OffsetDateTime expirationTimestamp()Gets the expirationTimestamp property: Gets or sets the expiration time stamp.- Returns:
- the expirationTimestamp value.
-
innerModel
SuppressionContractInner innerModel()Gets the inner com.azure.resourcemanager.advisor.fluent.models.SuppressionContractInner object.- Returns:
- the inner object.
-
refresh
SuppressionContract refresh()Refreshes the resource to sync with Azure.- Returns:
- the refreshed resource.
-
refresh
Refreshes the resource to sync with Azure.- Parameters:
context
- The context to associate with this operation.- Returns:
- the refreshed resource.
-