Interface ListLaunchActionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListLaunchActionsResponse.Builder,,ListLaunchActionsResponse> DrsResponse.Builder,SdkBuilder<ListLaunchActionsResponse.Builder,,ListLaunchActionsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListLaunchActionsResponse
public static interface ListLaunchActionsResponse.Builder
extends DrsResponse.Builder, SdkPojo, CopyableBuilder<ListLaunchActionsResponse.Builder,ListLaunchActionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionitems(Collection<LaunchAction> items) List of resource launch actions.items(Consumer<LaunchAction.Builder>... items) List of resource launch actions.items(LaunchAction... items) List of resource launch actions.Next token returned when listing resource launch actions.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.drs.model.DrsResponse.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
-
items
List of resource launch actions.
- Parameters:
items- List of resource launch actions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
List of resource launch actions.
- Parameters:
items- List of resource launch actions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
List of resource launch actions.
This is a convenience method that creates an instance of theLaunchAction.Builderavoiding the need to create one manually viaLaunchAction.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toitems(List<LaunchAction>).- Parameters:
items- a consumer that will call methods onLaunchAction.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
Next token returned when listing resource launch actions.
- Parameters:
nextToken- Next token returned when listing resource launch actions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-