Interface AuditEvent.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AuditEvent.Builder,
,AuditEvent> SdkBuilder<AuditEvent.Builder,
,AuditEvent> SdkPojo
- Enclosing class:
AuditEvent
public static interface AuditEvent.Builder
extends SdkPojo, CopyableBuilder<AuditEvent.Builder,AuditEvent>
-
Method Summary
Modifier and TypeMethodDescriptionUnique identifier of a case audit history event.fields
(Collection<AuditEventField> fields) A list of Case Audit History event fields.fields
(Consumer<AuditEventField.Builder>... fields) A list of Case Audit History event fields.fields
(AuditEventField... fields) A list of Case Audit History event fields.default AuditEvent.Builder
performedBy
(Consumer<AuditEventPerformedBy.Builder> performedBy) Information of the user which performed the audit.performedBy
(AuditEventPerformedBy performedBy) Information of the user which performed the audit.performedTime
(Instant performedTime) Time at which an Audit History event took place.relatedItemType
(String relatedItemType) The Type of the related item.relatedItemType
(RelatedItemType relatedItemType) The Type of the related item.The Type of an audit history event.type
(AuditEventType type) The Type of an audit history event.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
eventId
Unique identifier of a case audit history event.
- Parameters:
eventId
- Unique identifier of a case audit history event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fields
A list of Case Audit History event fields.
- Parameters:
fields
- A list of Case Audit History event fields.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fields
A list of Case Audit History event fields.
- Parameters:
fields
- A list of Case Audit History event fields.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fields
A list of Case Audit History event fields.
This is a convenience method that creates an instance of theAuditEventField.Builder
avoiding the need to create one manually viaAuditEventField.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofields(List<AuditEventField>)
.- Parameters:
fields
- a consumer that will call methods onAuditEventField.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
performedBy
Information of the user which performed the audit.
- Parameters:
performedBy
- Information of the user which performed the audit.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
performedBy
Information of the user which performed the audit.
This is a convenience method that creates an instance of theAuditEventPerformedBy.Builder
avoiding the need to create one manually viaAuditEventPerformedBy.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toperformedBy(AuditEventPerformedBy)
.- Parameters:
performedBy
- a consumer that will call methods onAuditEventPerformedBy.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
performedTime
Time at which an Audit History event took place.
- Parameters:
performedTime
- Time at which an Audit History event took place.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The Type of an audit history event.
- Parameters:
type
- The Type of an audit history event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The Type of an audit history event.
- Parameters:
type
- The Type of an audit history event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-