Interface BatchGetSessionActionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<BatchGetSessionActionResponse.Builder,,BatchGetSessionActionResponse> DeadlineResponse.Builder,SdkBuilder<BatchGetSessionActionResponse.Builder,,BatchGetSessionActionResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
BatchGetSessionActionResponse
@Mutable
@NotThreadSafe
public static interface BatchGetSessionActionResponse.Builder
extends DeadlineResponse.Builder, SdkPojo, CopyableBuilder<BatchGetSessionActionResponse.Builder,BatchGetSessionActionResponse>
-
Method Summary
Modifier and TypeMethodDescriptionerrors(Collection<BatchGetSessionActionError> errors) A list of errors for session actions that could not be retrieved.errors(Consumer<BatchGetSessionActionError.Builder>... errors) A list of errors for session actions that could not be retrieved.errors(BatchGetSessionActionError... errors) A list of errors for session actions that could not be retrieved.sessionActions(Collection<BatchGetSessionActionItem> sessionActions) A list of session actions that were successfully retrieved.sessionActions(Consumer<BatchGetSessionActionItem.Builder>... sessionActions) A list of session actions that were successfully retrieved.sessionActions(BatchGetSessionActionItem... sessionActions) A list of session actions that were successfully retrieved.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.deadline.model.DeadlineResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
sessionActions
BatchGetSessionActionResponse.Builder sessionActions(Collection<BatchGetSessionActionItem> sessionActions) A list of session actions that were successfully retrieved.
- Parameters:
sessionActions- A list of session actions that were successfully retrieved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sessionActions
A list of session actions that were successfully retrieved.
- Parameters:
sessionActions- A list of session actions that were successfully retrieved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sessionActions
BatchGetSessionActionResponse.Builder sessionActions(Consumer<BatchGetSessionActionItem.Builder>... sessionActions) A list of session actions that were successfully retrieved.
This is a convenience method that creates an instance of theBatchGetSessionActionItem.Builderavoiding the need to create one manually viaBatchGetSessionActionItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosessionActions(List<BatchGetSessionActionItem>).- Parameters:
sessionActions- a consumer that will call methods onBatchGetSessionActionItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
errors
A list of errors for session actions that could not be retrieved.
- Parameters:
errors- A list of errors for session actions that could not be retrieved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
A list of errors for session actions that could not be retrieved.
- Parameters:
errors- A list of errors for session actions that could not be retrieved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
BatchGetSessionActionResponse.Builder errors(Consumer<BatchGetSessionActionError.Builder>... errors) A list of errors for session actions that could not be retrieved.
This is a convenience method that creates an instance of theBatchGetSessionActionError.Builderavoiding the need to create one manually viaBatchGetSessionActionError.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toerrors(List<BatchGetSessionActionError>).- Parameters:
errors- a consumer that will call methods onBatchGetSessionActionError.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-