Class ComponentStateDetails
java.lang.Object
com.azure.resourcemanager.policyinsights.models.ComponentStateDetails
Component state details.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: Component state details.Get the complianceState property: Component compliance state.id()
Get the id property: Component Id.name()
Get the name property: Component name.Get the timestamp property: Component compliance evaluation timestamp.type()
Get the type property: Component type.void
validate()
Validates the instance.withAdditionalProperties
(Map<String, Object> additionalProperties) Set the additionalProperties property: Component state details.withComplianceState
(String complianceState) Set the complianceState property: Component compliance state.Set the id property: Component Id.Set the name property: Component name.withTimestamp
(OffsetDateTime timestamp) Set the timestamp property: Component compliance evaluation timestamp.Set the type property: Component type.
-
Constructor Details
-
ComponentStateDetails
public ComponentStateDetails()Creates an instance of ComponentStateDetails class.
-
-
Method Details
-
id
Get the id property: Component Id.- Returns:
- the id value.
-
withId
Set the id property: Component Id.- Parameters:
id
- the id value to set.- Returns:
- the ComponentStateDetails object itself.
-
type
Get the type property: Component type.- Returns:
- the type value.
-
withType
Set the type property: Component type.- Parameters:
type
- the type value to set.- Returns:
- the ComponentStateDetails object itself.
-
name
Get the name property: Component name.- Returns:
- the name value.
-
withName
Set the name property: Component name.- Parameters:
name
- the name value to set.- Returns:
- the ComponentStateDetails object itself.
-
timestamp
Get the timestamp property: Component compliance evaluation timestamp.- Returns:
- the timestamp value.
-
withTimestamp
Set the timestamp property: Component compliance evaluation timestamp.- Parameters:
timestamp
- the timestamp value to set.- Returns:
- the ComponentStateDetails object itself.
-
complianceState
Get the complianceState property: Component compliance state.- Returns:
- the complianceState value.
-
withComplianceState
Set the complianceState property: Component compliance state.- Parameters:
complianceState
- the complianceState value to set.- Returns:
- the ComponentStateDetails object itself.
-
additionalProperties
Get the additionalProperties property: Component state details.- Returns:
- the additionalProperties value.
-
withAdditionalProperties
Set the additionalProperties property: Component state details.- Parameters:
additionalProperties
- the additionalProperties value to set.- Returns:
- the ComponentStateDetails object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-