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'snextTokenparameter value is set to a token.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.robomaker.model.RoboMakerResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaDeploymentJob.builder().When the
Consumercompletes,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
nextTokenparameter value is set to a token. To retrieve the next set of results, callListDeploymentJobsagain and assign that token to the request object'snextTokenparameter. 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'snextTokenparameter value is set to a token. To retrieve the next set of results, callListDeploymentJobsagain and assign that token to the request object'snextTokenparameter. 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.
-