Interface ListDeploymentJobsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListDeploymentJobsResponse.Builder,
,ListDeploymentJobsResponse> RoboMakerResponse.Builder
,SdkBuilder<ListDeploymentJobsResponse.Builder,
,ListDeploymentJobsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListDeploymentJobsResponse
public static interface ListDeploymentJobsResponse.Builder
extends RoboMakerResponse.Builder, SdkPojo, CopyableBuilder<ListDeploymentJobsResponse.Builder,ListDeploymentJobsResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondeploymentJobs
(Collection<DeploymentJob> deploymentJobs) A list of deployment jobs that meet the criteria of the request.deploymentJobs
(Consumer<DeploymentJob.Builder>... deploymentJobs) A list of deployment jobs that meet the criteria of the request.deploymentJobs
(DeploymentJob... deploymentJobs) A list of deployment jobs that meet the criteria of the request.If the previous paginated request did not return all of the remaining results, the response object'snextToken
parameter value is set to a token.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.robomaker.model.RoboMakerResponse.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
-
deploymentJobs
A list of deployment jobs that meet the criteria of the request.
- Parameters:
deploymentJobs
- A list of deployment jobs that meet the criteria of the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deploymentJobs
A list of deployment jobs that meet the criteria of the request.
- Parameters:
deploymentJobs
- A list of deployment jobs that meet the criteria of the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deploymentJobs
ListDeploymentJobsResponse.Builder deploymentJobs(Consumer<DeploymentJob.Builder>... deploymentJobs) A list of deployment jobs that meet the criteria of the request.
This is a convenience method that creates an instance of theDeploymentJob.Builder
avoiding the need to create one manually viaDeploymentJob.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todeploymentJobs(List<DeploymentJob>)
.- Parameters:
deploymentJobs
- a consumer that will call methods onDeploymentJob.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
If the previous paginated request did not return all of the remaining results, the response object's
nextToken
parameter value is set to a token. To retrieve the next set of results, callListDeploymentJobs
again and assign that token to the request object'snextToken
parameter. If there are no remaining results, the previous response object's NextToken parameter is set to null.- Parameters:
nextToken
- If the previous paginated request did not return all of the remaining results, the response object'snextToken
parameter value is set to a token. To retrieve the next set of results, callListDeploymentJobs
again and assign that token to the request object'snextToken
parameter. If there are no remaining results, the previous response object's NextToken parameter is set to null.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-