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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListLaunchActionsResponse.Builderitems(Collection<LaunchAction> items)List of resource launch actions.ListLaunchActionsResponse.Builderitems(Consumer<LaunchAction.Builder>... items)List of resource launch actions.ListLaunchActionsResponse.Builderitems(LaunchAction... items)List of resource launch actions.ListLaunchActionsResponse.BuildernextToken(String nextToken)Next token returned when listing resource launch actions.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.drs.model.DrsResponse.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 Detail
-
items
ListLaunchActionsResponse.Builder items(Collection<LaunchAction> 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
ListLaunchActionsResponse.Builder items(LaunchAction... 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
ListLaunchActionsResponse.Builder items(Consumer<LaunchAction.Builder>... 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 to#items(List.) - 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:
#items(java.util.Collection)
-
nextToken
ListLaunchActionsResponse.Builder nextToken(String 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.
-
-