Interface ListBusinessReportSchedulesResponse.Builder
- All Superinterfaces:
AlexaForBusinessResponse.Builder
,AwsResponse.Builder
,Buildable
,CopyableBuilder<ListBusinessReportSchedulesResponse.Builder,
,ListBusinessReportSchedulesResponse> SdkBuilder<ListBusinessReportSchedulesResponse.Builder,
,ListBusinessReportSchedulesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListBusinessReportSchedulesResponse
public static interface ListBusinessReportSchedulesResponse.Builder
extends AlexaForBusinessResponse.Builder, SdkPojo, CopyableBuilder<ListBusinessReportSchedulesResponse.Builder,ListBusinessReportSchedulesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionbusinessReportSchedules
(Collection<BusinessReportSchedule> businessReportSchedules) The schedule of the reports.businessReportSchedules
(Consumer<BusinessReportSchedule.Builder>... businessReportSchedules) The schedule of the reports.businessReportSchedules
(BusinessReportSchedule... businessReportSchedules) The schedule of the reports.The token used to list the remaining schedules from the previous API call.Methods inherited from interface software.amazon.awssdk.services.alexaforbusiness.model.AlexaForBusinessResponse.Builder
build, responseMetadata, responseMetadata
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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
businessReportSchedules
ListBusinessReportSchedulesResponse.Builder businessReportSchedules(Collection<BusinessReportSchedule> businessReportSchedules) The schedule of the reports.
- Parameters:
businessReportSchedules
- The schedule of the reports.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
businessReportSchedules
ListBusinessReportSchedulesResponse.Builder businessReportSchedules(BusinessReportSchedule... businessReportSchedules) The schedule of the reports.
- Parameters:
businessReportSchedules
- The schedule of the reports.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
businessReportSchedules
ListBusinessReportSchedulesResponse.Builder businessReportSchedules(Consumer<BusinessReportSchedule.Builder>... businessReportSchedules) The schedule of the reports.
This is a convenience method that creates an instance of theBusinessReportSchedule.Builder
avoiding the need to create one manually viaBusinessReportSchedule.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobusinessReportSchedules(List<BusinessReportSchedule>)
.- Parameters:
businessReportSchedules
- a consumer that will call methods onBusinessReportSchedule.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token used to list the remaining schedules from the previous API call.
- Parameters:
nextToken
- The token used to list the remaining schedules from the previous API call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-