Interface PutRawEventsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<PutRawEventsResponse.Builder,,PutRawEventsResponse> EventBridgeV2Response.Builder,SdkBuilder<PutRawEventsResponse.Builder,,PutRawEventsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
PutRawEventsResponse
@Mutable
@NotThreadSafe
public static interface PutRawEventsResponse.Builder
extends EventBridgeV2Response.Builder, SdkPojo, CopyableBuilder<PutRawEventsResponse.Builder,PutRawEventsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionentries(Collection<PutRawEventsResultEntry> entries) Sets the value of the Entries property for this object.entries(Consumer<PutRawEventsResultEntry.Builder>... entries) Sets the value of the Entries property for this object.entries(PutRawEventsResultEntry... entries) Sets the value of the Entries property for this object.failedEntryCount(Integer failedEntryCount) The number of entries in the batch that failed to be published.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.eventbridgev2.model.EventBridgeV2Response.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
failedEntryCount
The number of entries in the batch that failed to be published.
- Parameters:
failedEntryCount- The number of entries in the batch that failed to be published.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entries
Sets the value of the Entries property for this object.- Parameters:
entries- The new value for the Entries property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entries
Sets the value of the Entries property for this object.- Parameters:
entries- The new value for the Entries property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entries
Sets the value of the Entries property for this object. This is a convenience method that creates an instance of thePutRawEventsResultEntry.Builderavoiding the need to create one manually viaPutRawEventsResultEntry.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toentries(List<PutRawEventsResultEntry>).- Parameters:
entries- a consumer that will call methods onPutRawEventsResultEntry.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-