Class ComponentEventDetails


  • public final class ComponentEventDetails
    extends Object
    Component event details.
    • Constructor Detail

      • ComponentEventDetails

        public ComponentEventDetails()
    • Method Detail

      • id

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

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

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

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

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

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

        public OffsetDateTime timestamp()
        Get the timestamp property: Timestamp for component policy event record.
        Returns:
        the timestamp value.
      • withTimestamp

        public ComponentEventDetails withTimestamp​(OffsetDateTime timestamp)
        Set the timestamp property: Timestamp for component policy event record.
        Parameters:
        timestamp - the timestamp value to set.
        Returns:
        the ComponentEventDetails object itself.
      • tenantId

        public String tenantId()
        Get the tenantId property: Tenant ID for the policy event record.
        Returns:
        the tenantId value.
      • withTenantId

        public ComponentEventDetails withTenantId​(String tenantId)
        Set the tenantId property: Tenant ID for the policy event record.
        Parameters:
        tenantId - the tenantId value to set.
        Returns:
        the ComponentEventDetails object itself.
      • principalOid

        public String principalOid()
        Get the principalOid property: Principal object ID for the user who initiated the resource component operation that triggered the policy event.
        Returns:
        the principalOid value.
      • withPrincipalOid

        public ComponentEventDetails withPrincipalOid​(String principalOid)
        Set the principalOid property: Principal object ID for the user who initiated the resource component operation that triggered the policy event.
        Parameters:
        principalOid - the principalOid value to set.
        Returns:
        the ComponentEventDetails object itself.
      • policyDefinitionAction

        public String policyDefinitionAction()
        Get the policyDefinitionAction property: Policy definition action, i.e. effect.
        Returns:
        the policyDefinitionAction value.
      • withPolicyDefinitionAction

        public ComponentEventDetails withPolicyDefinitionAction​(String policyDefinitionAction)
        Set the policyDefinitionAction property: Policy definition action, i.e. effect.
        Parameters:
        policyDefinitionAction - the policyDefinitionAction value to set.
        Returns:
        the ComponentEventDetails object itself.
      • additionalProperties

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

        public ComponentEventDetails withAdditionalProperties​(Map<String,​Object> additionalProperties)
        Set the additionalProperties property: Component event details.
        Parameters:
        additionalProperties - the additionalProperties value to set.
        Returns:
        the ComponentEventDetails object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.