Class ComponentStateDetails

java.lang.Object
com.azure.resourcemanager.policyinsights.models.ComponentStateDetails

public final class ComponentStateDetails extends Object
Component state details.
  • Constructor Details

    • ComponentStateDetails

      public ComponentStateDetails()
      Creates an instance of ComponentStateDetails class.
  • Method Details

    • id

      public String id()
      Get the id property: Component Id.
      Returns:
      the id value.
    • withId

      public ComponentStateDetails withId(String id)
      Set the id property: Component Id.
      Parameters:
      id - the id value to set.
      Returns:
      the ComponentStateDetails object itself.
    • type

      public String type()
      Get the type property: Component type.
      Returns:
      the type value.
    • withType

      public ComponentStateDetails withType(String type)
      Set the type property: Component type.
      Parameters:
      type - the type value to set.
      Returns:
      the ComponentStateDetails object itself.
    • name

      public String name()
      Get the name property: Component name.
      Returns:
      the name value.
    • withName

      public ComponentStateDetails withName(String name)
      Set the name property: Component name.
      Parameters:
      name - the name value to set.
      Returns:
      the ComponentStateDetails object itself.
    • timestamp

      public OffsetDateTime timestamp()
      Get the timestamp property: Component compliance evaluation timestamp.
      Returns:
      the timestamp value.
    • withTimestamp

      public ComponentStateDetails withTimestamp(OffsetDateTime timestamp)
      Set the timestamp property: Component compliance evaluation timestamp.
      Parameters:
      timestamp - the timestamp value to set.
      Returns:
      the ComponentStateDetails object itself.
    • complianceState

      public String complianceState()
      Get the complianceState property: Component compliance state.
      Returns:
      the complianceState value.
    • withComplianceState

      public ComponentStateDetails withComplianceState(String complianceState)
      Set the complianceState property: Component compliance state.
      Parameters:
      complianceState - the complianceState value to set.
      Returns:
      the ComponentStateDetails object itself.
    • additionalProperties

      public Map<String,Object> additionalProperties()
      Get the additionalProperties property: Component state details.
      Returns:
      the additionalProperties value.
    • withAdditionalProperties

      public ComponentStateDetails withAdditionalProperties(Map<String,Object> additionalProperties)
      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.