Interface PutEventStreamRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<PutEventStreamRequest.Builder,,PutEventStreamRequest> PinpointRequest.Builder,SdkBuilder<PutEventStreamRequest.Builder,,PutEventStreamRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
- PutEventStreamRequest
@Mutable
@NotThreadSafe
public static interface PutEventStreamRequest.Builder
extends PinpointRequest.Builder, SdkPojo, CopyableBuilder<PutEventStreamRequest.Builder,PutEventStreamRequest>
-
Method Summary
Modifier and TypeMethodDescriptionapplicationId(String applicationId) The unique identifier for the application.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) default PutEventStreamRequest.BuilderwriteEventStream(Consumer<WriteEventStream.Builder> writeEventStream) Sets the value of the WriteEventStream property for this object.writeEventStream(WriteEventStream writeEventStream) Sets the value of the WriteEventStream property for this object.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.pinpoint.model.PinpointRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
applicationId
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
- Parameters:
applicationId- The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
writeEventStream
Sets the value of the WriteEventStream property for this object.- Parameters:
writeEventStream- The new value for the WriteEventStream property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
writeEventStream
default PutEventStreamRequest.Builder writeEventStream(Consumer<WriteEventStream.Builder> writeEventStream) Sets the value of the WriteEventStream property for this object. This is a convenience method that creates an instance of theWriteEventStream.Builderavoiding the need to create one manually viaWriteEventStream.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed towriteEventStream(WriteEventStream).- Parameters:
writeEventStream- a consumer that will call methods onWriteEventStream.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
PutEventStreamRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) - Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
PutEventStreamRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) - Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-