Interface ListRemoteSourceActionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListRemoteSourceActionsResponse.Builder,,ListRemoteSourceActionsResponse> MgnResponse.Builder,SdkBuilder<ListRemoteSourceActionsResponse.Builder,,ListRemoteSourceActionsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListRemoteSourceActionsResponse
@Mutable
@NotThreadSafe
public static interface ListRemoteSourceActionsResponse.Builder
extends MgnResponse.Builder, SdkPojo, CopyableBuilder<ListRemoteSourceActionsResponse.Builder,ListRemoteSourceActionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionitems(Collection<RemoteSourceAction> items) A list of source actions.items(Consumer<RemoteSourceAction.Builder>... items) A list of source actions.items(RemoteSourceAction... items) A list of source actions.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 actions.
- Parameters:
items- A list of source actions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
A list of source actions.
- Parameters:
items- A list of source actions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
A list of source actions.
This is a convenience method that creates an instance of theRemoteSourceAction.Builderavoiding the need to create one manually viaRemoteSourceAction.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toitems(List<RemoteSourceAction>).- Parameters:
items- a consumer that will call methods onRemoteSourceAction.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.
-