Interface BatchStartResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<BatchStartResponse.Builder,
,BatchStartResponse> MediaLiveResponse.Builder
,SdkBuilder<BatchStartResponse.Builder,
,BatchStartResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
BatchStartResponse
public static interface BatchStartResponse.Builder
extends MediaLiveResponse.Builder, SdkPojo, CopyableBuilder<BatchStartResponse.Builder,BatchStartResponse>
-
Method Summary
Modifier and TypeMethodDescriptionfailed
(Collection<BatchFailedResultModel> failed) List of failed operationsfailed
(Consumer<BatchFailedResultModel.Builder>... failed) List of failed operations This is a convenience method that creates an instance of theBatchFailedResultModel.Builder
avoiding the need to create one manually viaBatchFailedResultModel.builder()
.failed
(BatchFailedResultModel... failed) List of failed operationssuccessful
(Collection<BatchSuccessfulResultModel> successful) List of successful operationssuccessful
(Consumer<BatchSuccessfulResultModel.Builder>... successful) List of successful operations This is a convenience method that creates an instance of theBatchSuccessfulResultModel.Builder
avoiding the need to create one manually viaBatchSuccessfulResultModel.builder()
.successful
(BatchSuccessfulResultModel... successful) List of successful operationsMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.medialive.model.MediaLiveResponse.Builder
build, responseMetadata, responseMetadata
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
-
failed
List of failed operations- Parameters:
failed
- List of failed operations- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failed
List of failed operations- Parameters:
failed
- List of failed operations- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failed
List of failed operations This is a convenience method that creates an instance of theBatchFailedResultModel.Builder
avoiding the need to create one manually viaBatchFailedResultModel.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofailed(List<BatchFailedResultModel>)
.- Parameters:
failed
- a consumer that will call methods onBatchFailedResultModel.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
successful
List of successful operations- Parameters:
successful
- List of successful operations- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
successful
List of successful operations- Parameters:
successful
- List of successful operations- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
successful
List of successful operations This is a convenience method that creates an instance of theBatchSuccessfulResultModel.Builder
avoiding the need to create one manually viaBatchSuccessfulResultModel.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosuccessful(List<BatchSuccessfulResultModel>)
.- Parameters:
successful
- a consumer that will call methods onBatchSuccessfulResultModel.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-