Interface DescribeLaunchTemplateVersionsResponse.Builder
- All Superinterfaces:
- AwsResponse.Builder,- Buildable,- CopyableBuilder<DescribeLaunchTemplateVersionsResponse.Builder,,- DescribeLaunchTemplateVersionsResponse> - Ec2Response.Builder,- SdkBuilder<DescribeLaunchTemplateVersionsResponse.Builder,,- DescribeLaunchTemplateVersionsResponse> - SdkPojo,- SdkResponse.Builder
- Enclosing class:
- DescribeLaunchTemplateVersionsResponse
@Mutable
@NotThreadSafe
public static interface DescribeLaunchTemplateVersionsResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<DescribeLaunchTemplateVersionsResponse.Builder,DescribeLaunchTemplateVersionsResponse> 
- 
Method SummaryModifier and TypeMethodDescriptionlaunchTemplateVersions(Collection<LaunchTemplateVersion> launchTemplateVersions) Information about the launch template versions.launchTemplateVersions(Consumer<LaunchTemplateVersion.Builder>... launchTemplateVersions) Information about the launch template versions.launchTemplateVersions(LaunchTemplateVersion... launchTemplateVersions) Information about the launch template versions.The token to use to retrieve the next page of results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.Builderbuild, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.BuildersdkHttpResponse, sdkHttpResponse
- 
Method Details- 
launchTemplateVersionsDescribeLaunchTemplateVersionsResponse.Builder launchTemplateVersions(Collection<LaunchTemplateVersion> launchTemplateVersions) Information about the launch template versions. - Parameters:
- launchTemplateVersions- Information about the launch template versions.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
launchTemplateVersionsDescribeLaunchTemplateVersionsResponse.Builder launchTemplateVersions(LaunchTemplateVersion... launchTemplateVersions) Information about the launch template versions. - Parameters:
- launchTemplateVersions- Information about the launch template versions.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
launchTemplateVersionsDescribeLaunchTemplateVersionsResponse.Builder launchTemplateVersions(Consumer<LaunchTemplateVersion.Builder>... launchTemplateVersions) Information about the launch template versions. This is a convenience method that creates an instance of theLaunchTemplateVersion.Builderavoiding the need to create one manually viaLaunchTemplateVersion.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolaunchTemplateVersions(List<LaunchTemplateVersion>).- Parameters:
- launchTemplateVersions- a consumer that will call methods on- LaunchTemplateVersion.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
nextTokenThe token to use to retrieve the next page of results. This value is nullwhen there are no more results to return.- Parameters:
- nextToken- The token to use to retrieve the next page of results. This value is- nullwhen there are no more results to return.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
 
-