Interface BatchGetStepResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<BatchGetStepResponse.Builder,,BatchGetStepResponse> DeadlineResponse.Builder,SdkBuilder<BatchGetStepResponse.Builder,,BatchGetStepResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
BatchGetStepResponse
@Mutable
@NotThreadSafe
public static interface BatchGetStepResponse.Builder
extends DeadlineResponse.Builder, SdkPojo, CopyableBuilder<BatchGetStepResponse.Builder,BatchGetStepResponse>
-
Method Summary
Modifier and TypeMethodDescriptionerrors(Collection<BatchGetStepError> errors) A list of errors for steps that could not be retrieved.errors(Consumer<BatchGetStepError.Builder>... errors) A list of errors for steps that could not be retrieved.errors(BatchGetStepError... errors) A list of errors for steps that could not be retrieved.steps(Collection<BatchGetStepItem> steps) A list of steps that were successfully retrieved.steps(Consumer<BatchGetStepItem.Builder>... steps) A list of steps that were successfully retrieved.steps(BatchGetStepItem... steps) A list of steps 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
-
steps
A list of steps that were successfully retrieved.
- Parameters:
steps- A list of steps that were successfully retrieved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
steps
A list of steps that were successfully retrieved.
- Parameters:
steps- A list of steps that were successfully retrieved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
steps
A list of steps that were successfully retrieved.
This is a convenience method that creates an instance of theBatchGetStepItem.Builderavoiding the need to create one manually viaBatchGetStepItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosteps(List<BatchGetStepItem>).- Parameters:
steps- a consumer that will call methods onBatchGetStepItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
errors
A list of errors for steps that could not be retrieved.
- Parameters:
errors- A list of errors for steps 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 steps that could not be retrieved.
- Parameters:
errors- A list of errors for steps 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 steps that could not be retrieved.
This is a convenience method that creates an instance of theBatchGetStepError.Builderavoiding the need to create one manually viaBatchGetStepError.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toerrors(List<BatchGetStepError>).- Parameters:
errors- a consumer that will call methods onBatchGetStepError.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-