Interface PutAuditEventsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CloudTrailDataRequest.Builder,CopyableBuilder<PutAuditEventsRequest.Builder,PutAuditEventsRequest>,SdkBuilder<PutAuditEventsRequest.Builder,PutAuditEventsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- PutAuditEventsRequest
public static interface PutAuditEventsRequest.Builder extends CloudTrailDataRequest.Builder, SdkPojo, CopyableBuilder<PutAuditEventsRequest.Builder,PutAuditEventsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PutAuditEventsRequest.BuilderauditEvents(Collection<AuditEvent> auditEvents)The JSON payload of events that you want to ingest.PutAuditEventsRequest.BuilderauditEvents(Consumer<AuditEvent.Builder>... auditEvents)The JSON payload of events that you want to ingest.PutAuditEventsRequest.BuilderauditEvents(AuditEvent... auditEvents)The JSON payload of events that you want to ingest.PutAuditEventsRequest.BuilderchannelArn(String channelArn)The ARN or ID (the ARN suffix) of a channel.PutAuditEventsRequest.BuilderexternalId(String externalId)A unique identifier that is conditionally required when the channel's resource policy includes an external ID.PutAuditEventsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)PutAuditEventsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.services.cloudtraildata.model.CloudTrailDataRequest.Builder
build
-
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 Detail
-
auditEvents
PutAuditEventsRequest.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.
- Parameters:
auditEvents- The JSON payload of events that you want to ingest. You can also point to the JSON event payload in a file.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
auditEvents
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.
- Parameters:
auditEvents- The JSON payload of events that you want to ingest. You can also point to the JSON event payload in a file.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
auditEvents
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.Builderavoiding the need to create one manually viaAuditEvent.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#auditEvents(List.) - Parameters:
auditEvents- a consumer that will call methods onAuditEvent.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#auditEvents(java.util.Collection)
-
channelArn
PutAuditEventsRequest.Builder channelArn(String channelArn)
The ARN or ID (the ARN suffix) of a channel.
- Parameters:
channelArn- The ARN or ID (the ARN suffix) of a channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
externalId
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
PutAuditEventsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
PutAuditEventsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-