Interface EventSourceConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<EventSourceConfiguration.Builder,,EventSourceConfiguration> SdkBuilder<EventSourceConfiguration.Builder,,EventSourceConfiguration> SdkPojo
- Enclosing class:
EventSourceConfiguration
@Mutable
@NotThreadSafe
public static interface EventSourceConfiguration.Builder
extends SdkPojo, CopyableBuilder<EventSourceConfiguration.Builder,EventSourceConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptiondefault EventSourceConfiguration.BuilderawsServiceEventsConfiguration(Consumer<AwsServiceEventsSourceConfiguration.Builder> awsServiceEventsConfiguration) Sets the value of the AwsServiceEventsConfiguration property for this object.awsServiceEventsConfiguration(AwsServiceEventsSourceConfiguration awsServiceEventsConfiguration) Sets the value of the AwsServiceEventsConfiguration property for this object.default EventSourceConfiguration.BuilderpartnerEventsConfiguration(Consumer<PartnerEventsSourceConfiguration.Builder> partnerEventsConfiguration) Sets the value of the PartnerEventsConfiguration property for this object.partnerEventsConfiguration(PartnerEventsSourceConfiguration partnerEventsConfiguration) Sets the value of the PartnerEventsConfiguration property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
awsServiceEventsConfiguration
EventSourceConfiguration.Builder awsServiceEventsConfiguration(AwsServiceEventsSourceConfiguration awsServiceEventsConfiguration) Sets the value of the AwsServiceEventsConfiguration property for this object.- Parameters:
awsServiceEventsConfiguration- The new value for the AwsServiceEventsConfiguration property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
awsServiceEventsConfiguration
default EventSourceConfiguration.Builder awsServiceEventsConfiguration(Consumer<AwsServiceEventsSourceConfiguration.Builder> awsServiceEventsConfiguration) Sets the value of the AwsServiceEventsConfiguration property for this object. This is a convenience method that creates an instance of theAwsServiceEventsSourceConfiguration.Builderavoiding the need to create one manually viaAwsServiceEventsSourceConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toawsServiceEventsConfiguration(AwsServiceEventsSourceConfiguration).- Parameters:
awsServiceEventsConfiguration- a consumer that will call methods onAwsServiceEventsSourceConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
partnerEventsConfiguration
EventSourceConfiguration.Builder partnerEventsConfiguration(PartnerEventsSourceConfiguration partnerEventsConfiguration) Sets the value of the PartnerEventsConfiguration property for this object.- Parameters:
partnerEventsConfiguration- The new value for the PartnerEventsConfiguration property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
partnerEventsConfiguration
default EventSourceConfiguration.Builder partnerEventsConfiguration(Consumer<PartnerEventsSourceConfiguration.Builder> partnerEventsConfiguration) Sets the value of the PartnerEventsConfiguration property for this object. This is a convenience method that creates an instance of thePartnerEventsSourceConfiguration.Builderavoiding the need to create one manually viaPartnerEventsSourceConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topartnerEventsConfiguration(PartnerEventsSourceConfiguration).- Parameters:
partnerEventsConfiguration- a consumer that will call methods onPartnerEventsSourceConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-