public static interface PutEventsRequest.Builder extends CloudWatchEventsRequest.Builder, CopyableBuilder<PutEventsRequest.Builder,PutEventsRequest>
Modifier and Type | Method and Description |
---|---|
PutEventsRequest.Builder |
entries(Collection<PutEventsRequestEntry> entries)
The entry that defines an event in your system.
|
PutEventsRequest.Builder |
entries(Consumer<PutEventsRequestEntry.Builder>... entries)
The entry that defines an event in your system.
|
PutEventsRequest.Builder |
entries(PutEventsRequestEntry... entries)
The entry that defines an event in your system.
|
PutEventsRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
PutEventsRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
build
requestOverrideConfig
copy
apply, build
PutEventsRequest.Builder entries(Collection<PutEventsRequestEntry> entries)
The entry that defines an event in your system. You can specify several parameters for the entry such as the source and type of the event, resources associated with the event, and so on.
entries
- The entry that defines an event in your system. You can specify several parameters for the entry such
as the source and type of the event, resources associated with the event, and so on.PutEventsRequest.Builder entries(PutEventsRequestEntry... entries)
The entry that defines an event in your system. You can specify several parameters for the entry such as the source and type of the event, resources associated with the event, and so on.
entries
- The entry that defines an event in your system. You can specify several parameters for the entry such
as the source and type of the event, resources associated with the event, and so on.PutEventsRequest.Builder entries(Consumer<PutEventsRequestEntry.Builder>... entries)
The entry that defines an event in your system. You can specify several parameters for the entry such as the source and type of the event, resources associated with the event, and so on.
This is a convenience that creates an instance of theList.Builder
avoiding
the need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called
immediately and its result is passed to #entries(List)
.entries
- a consumer that will call methods on List.Builder
#entries(List)
PutEventsRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.PutEventsRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfig.Builder
will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.