public final class ComponentEventDetails extends Object
Constructor and Description |
---|
ComponentEventDetails() |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
additionalProperties()
Get the additionalProperties property: Component event details.
|
String |
id()
Get the id property: Component Id.
|
String |
name()
Get the name property: Component name.
|
String |
policyDefinitionAction()
Get the policyDefinitionAction property: Policy definition action, i.e.
|
String |
principalOid()
Get the principalOid property: Principal object ID for the user who initiated the resource component operation
that triggered the policy event.
|
String |
tenantId()
Get the tenantId property: Tenant ID for the policy event record.
|
OffsetDateTime |
timestamp()
Get the timestamp property: Timestamp for component policy event record.
|
String |
type()
Get the type property: Component type.
|
void |
validate()
Validates the instance.
|
ComponentEventDetails |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: Component event details.
|
ComponentEventDetails |
withId(String id)
Set the id property: Component Id.
|
ComponentEventDetails |
withName(String name)
Set the name property: Component name.
|
ComponentEventDetails |
withPolicyDefinitionAction(String policyDefinitionAction)
Set the policyDefinitionAction property: Policy definition action, i.e.
|
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.
|
ComponentEventDetails |
withTenantId(String tenantId)
Set the tenantId property: Tenant ID for the policy event record.
|
ComponentEventDetails |
withTimestamp(OffsetDateTime timestamp)
Set the timestamp property: Timestamp for component policy event record.
|
ComponentEventDetails |
withType(String type)
Set the type property: Component type.
|
public String id()
public ComponentEventDetails withId(String id)
id
- the id value to set.public String type()
public ComponentEventDetails withType(String type)
type
- the type value to set.public String name()
public ComponentEventDetails withName(String name)
name
- the name value to set.public OffsetDateTime timestamp()
public ComponentEventDetails withTimestamp(OffsetDateTime timestamp)
timestamp
- the timestamp value to set.public String tenantId()
public ComponentEventDetails withTenantId(String tenantId)
tenantId
- the tenantId value to set.public String principalOid()
public ComponentEventDetails withPrincipalOid(String principalOid)
principalOid
- the principalOid value to set.public String policyDefinitionAction()
public ComponentEventDetails withPolicyDefinitionAction(String policyDefinitionAction)
policyDefinitionAction
- the policyDefinitionAction value to set.public Map<String,Object> additionalProperties()
public ComponentEventDetails withAdditionalProperties(Map<String,Object> additionalProperties)
additionalProperties
- the additionalProperties value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.