Interface BatchGetCommandExecutionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CodeBuildResponse.Builder,CopyableBuilder<BatchGetCommandExecutionsResponse.Builder,,BatchGetCommandExecutionsResponse> SdkBuilder<BatchGetCommandExecutionsResponse.Builder,,BatchGetCommandExecutionsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
BatchGetCommandExecutionsResponse
@Mutable
@NotThreadSafe
public static interface BatchGetCommandExecutionsResponse.Builder
extends CodeBuildResponse.Builder, SdkPojo, CopyableBuilder<BatchGetCommandExecutionsResponse.Builder,BatchGetCommandExecutionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncommandExecutions(Collection<CommandExecution> commandExecutions) Information about the requested command executions.commandExecutions(Consumer<CommandExecution.Builder>... commandExecutions) Information about the requested command executions.commandExecutions(CommandExecution... commandExecutions) Information about the requested command executions.commandExecutionsNotFound(String... commandExecutionsNotFound) The IDs of command executions for which information could not be found.commandExecutionsNotFound(Collection<String> commandExecutionsNotFound) The IDs of command executions for which information could not be found.Methods inherited from interface software.amazon.awssdk.services.codebuild.model.CodeBuildResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods 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
-
commandExecutions
BatchGetCommandExecutionsResponse.Builder commandExecutions(Collection<CommandExecution> commandExecutions) Information about the requested command executions.
- Parameters:
commandExecutions- Information about the requested command executions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
commandExecutions
Information about the requested command executions.
- Parameters:
commandExecutions- Information about the requested command executions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
commandExecutions
BatchGetCommandExecutionsResponse.Builder commandExecutions(Consumer<CommandExecution.Builder>... commandExecutions) Information about the requested command executions.
This is a convenience method that creates an instance of theCommandExecution.Builderavoiding the need to create one manually viaCommandExecution.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocommandExecutions(List<CommandExecution>).- Parameters:
commandExecutions- a consumer that will call methods onCommandExecution.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
commandExecutionsNotFound
BatchGetCommandExecutionsResponse.Builder commandExecutionsNotFound(Collection<String> commandExecutionsNotFound) The IDs of command executions for which information could not be found.
- Parameters:
commandExecutionsNotFound- The IDs of command executions for which information could not be found.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
commandExecutionsNotFound
BatchGetCommandExecutionsResponse.Builder commandExecutionsNotFound(String... commandExecutionsNotFound) The IDs of command executions for which information could not be found.
- Parameters:
commandExecutionsNotFound- The IDs of command executions for which information could not be found.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-