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 |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
PutEventsRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
build
overrideConfiguration
copy
applyMutation, 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 overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.PutEventsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.