Interface ListRemoteSourceActionJobsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListRemoteSourceActionJobsResponse.Builder,,ListRemoteSourceActionJobsResponse> MgnResponse.Builder,SdkBuilder<ListRemoteSourceActionJobsResponse.Builder,,ListRemoteSourceActionJobsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListRemoteSourceActionJobsResponse
@Mutable
@NotThreadSafe
public static interface ListRemoteSourceActionJobsResponse.Builder
extends MgnResponse.Builder, SdkPojo, CopyableBuilder<ListRemoteSourceActionJobsResponse.Builder,ListRemoteSourceActionJobsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionitems(Collection<RemoteSourceActionJob> items) A list of source action jobs.items(Consumer<RemoteSourceActionJob.Builder>... items) A list of source action jobs.items(RemoteSourceActionJob... items) A list of source action jobs.The token to use to retrieve the next page of results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.mgn.model.MgnResponse.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
-
items
A list of source action jobs.
- Parameters:
items- A list of source action jobs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
A list of source action jobs.
- Parameters:
items- A list of source action jobs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
A list of source action jobs.
This is a convenience method that creates an instance of theRemoteSourceActionJob.Builderavoiding the need to create one manually viaRemoteSourceActionJob.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toitems(List<RemoteSourceActionJob>).- Parameters:
items- a consumer that will call methods onRemoteSourceActionJob.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token to use to retrieve the next page of results. This value is null when there are no more results to return.
- Parameters:
nextToken- The token to use to retrieve the next page of results. This value is null when there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-