Interface ListLaunchProfilesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListLaunchProfilesResponse.Builder,,ListLaunchProfilesResponse> NimbleResponse.Builder,SdkBuilder<ListLaunchProfilesResponse.Builder,,ListLaunchProfilesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListLaunchProfilesResponse
public static interface ListLaunchProfilesResponse.Builder
extends NimbleResponse.Builder, SdkPojo, CopyableBuilder<ListLaunchProfilesResponse.Builder,ListLaunchProfilesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionlaunchProfiles(Collection<LaunchProfile> launchProfiles) A collection of launch profiles.launchProfiles(Consumer<LaunchProfile.Builder>... launchProfiles) A collection of launch profiles.launchProfiles(LaunchProfile... launchProfiles) A collection of launch profiles.The token for the next set of results, or null if there are no more results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.nimble.model.NimbleResponse.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
-
launchProfiles
A collection of launch profiles.
- Parameters:
launchProfiles- A collection of launch profiles.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
launchProfiles
A collection of launch profiles.
- Parameters:
launchProfiles- A collection of launch profiles.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
launchProfiles
ListLaunchProfilesResponse.Builder launchProfiles(Consumer<LaunchProfile.Builder>... launchProfiles) A collection of launch profiles.
This is a convenience method that creates an instance of theLaunchProfile.Builderavoiding the need to create one manually viaLaunchProfile.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolaunchProfiles(List<LaunchProfile>).- Parameters:
launchProfiles- a consumer that will call methods onLaunchProfile.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token for the next set of results, or null if there are no more results.
- Parameters:
nextToken- The token for the next set of results, or null if there are no more results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-