Interface MessageInsightsDataSource.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<MessageInsightsDataSource.Builder,MessageInsightsDataSource>
,SdkBuilder<MessageInsightsDataSource.Builder,MessageInsightsDataSource>
,SdkPojo
- Enclosing class:
- MessageInsightsDataSource
public static interface MessageInsightsDataSource.Builder extends SdkPojo, CopyableBuilder<MessageInsightsDataSource.Builder,MessageInsightsDataSource>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description MessageInsightsDataSource.Builder
endDate(Instant endDate)
Represents the end date for the export interval as a timestamp.default MessageInsightsDataSource.Builder
exclude(Consumer<MessageInsightsFilters.Builder> exclude)
Filters for results to be excluded from the export file.MessageInsightsDataSource.Builder
exclude(MessageInsightsFilters exclude)
Filters for results to be excluded from the export file.default MessageInsightsDataSource.Builder
include(Consumer<MessageInsightsFilters.Builder> include)
Filters for results to be included in the export file.MessageInsightsDataSource.Builder
include(MessageInsightsFilters include)
Filters for results to be included in the export file.MessageInsightsDataSource.Builder
maxResults(Integer maxResults)
The maximum number of results.MessageInsightsDataSource.Builder
startDate(Instant startDate)
Represents the start date for the export interval as a timestamp.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
startDate
MessageInsightsDataSource.Builder startDate(Instant startDate)
Represents the start date for the export interval as a timestamp. The start date is inclusive.
- Parameters:
startDate
- Represents the start date for the export interval as a timestamp. The start date is inclusive.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endDate
MessageInsightsDataSource.Builder endDate(Instant endDate)
Represents the end date for the export interval as a timestamp. The end date is inclusive.
- Parameters:
endDate
- Represents the end date for the export interval as a timestamp. The end date is inclusive.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
include
MessageInsightsDataSource.Builder include(MessageInsightsFilters include)
Filters for results to be included in the export file.
- Parameters:
include
- Filters for results to be included in the export file.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
include
default MessageInsightsDataSource.Builder include(Consumer<MessageInsightsFilters.Builder> include)
Filters for results to be included in the export file.
This is a convenience method that creates an instance of theMessageInsightsFilters.Builder
avoiding the need to create one manually viaMessageInsightsFilters.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinclude(MessageInsightsFilters)
.- Parameters:
include
- a consumer that will call methods onMessageInsightsFilters.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
include(MessageInsightsFilters)
-
exclude
MessageInsightsDataSource.Builder exclude(MessageInsightsFilters exclude)
Filters for results to be excluded from the export file.
- Parameters:
exclude
- Filters for results to be excluded from the export file.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
exclude
default MessageInsightsDataSource.Builder exclude(Consumer<MessageInsightsFilters.Builder> exclude)
Filters for results to be excluded from the export file.
This is a convenience method that creates an instance of theMessageInsightsFilters.Builder
avoiding the need to create one manually viaMessageInsightsFilters.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toexclude(MessageInsightsFilters)
.- Parameters:
exclude
- a consumer that will call methods onMessageInsightsFilters.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
exclude(MessageInsightsFilters)
-
maxResults
MessageInsightsDataSource.Builder maxResults(Integer maxResults)
The maximum number of results.
- Parameters:
maxResults
- The maximum number of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-