public static interface PutAuditEventsRequest.Builder extends CloudTrailDataRequest.Builder, SdkPojo, CopyableBuilder<PutAuditEventsRequest.Builder,PutAuditEventsRequest>
| Modifier and Type | Method and Description |
|---|---|
PutAuditEventsRequest.Builder |
auditEvents(AuditEvent... auditEvents)
The JSON payload of events that you want to ingest.
|
PutAuditEventsRequest.Builder |
auditEvents(Collection<AuditEvent> auditEvents)
The JSON payload of events that you want to ingest.
|
PutAuditEventsRequest.Builder |
auditEvents(Consumer<AuditEvent.Builder>... auditEvents)
The JSON payload of events that you want to ingest.
|
PutAuditEventsRequest.Builder |
channelArn(String channelArn)
The ARN or ID (the ARN suffix) of a channel.
|
PutAuditEventsRequest.Builder |
externalId(String externalId)
A unique identifier that is conditionally required when the channel's resource policy includes an external
ID.
|
PutAuditEventsRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
PutAuditEventsRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildPutAuditEventsRequest.Builder auditEvents(Collection<AuditEvent> auditEvents)
The JSON payload of events that you want to ingest. You can also point to the JSON event payload in a file.
auditEvents - The JSON payload of events that you want to ingest. You can also point to the JSON event payload in a
file.PutAuditEventsRequest.Builder auditEvents(AuditEvent... auditEvents)
The JSON payload of events that you want to ingest. You can also point to the JSON event payload in a file.
auditEvents - The JSON payload of events that you want to ingest. You can also point to the JSON event payload in a
file.PutAuditEventsRequest.Builder auditEvents(Consumer<AuditEvent.Builder>... auditEvents)
The JSON payload of events that you want to ingest. You can also point to the JSON event payload in a file.
This is a convenience method that creates an instance of theAuditEvent.Builder avoiding the need to create
one manually via AuditEvent.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #auditEvents(List.
auditEvents - a consumer that will call methods on
AuditEvent.Builder#auditEvents(java.util.Collection) PutAuditEventsRequest.Builder channelArn(String channelArn)
The ARN or ID (the ARN suffix) of a channel.
channelArn - The ARN or ID (the ARN suffix) of a channel.PutAuditEventsRequest.Builder externalId(String externalId)
A unique identifier that is conditionally required when the channel's resource policy includes an external ID. This value can be any string, such as a passphrase or account number.
externalId - A unique identifier that is conditionally required when the channel's resource policy includes an
external ID. This value can be any string, such as a passphrase or account number.PutAuditEventsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderPutAuditEventsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.