Interface CreateLaunchTemplateResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateLaunchTemplateResponse.Builder,CreateLaunchTemplateResponse>,Ec2Response.Builder,SdkBuilder<CreateLaunchTemplateResponse.Builder,CreateLaunchTemplateResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreateLaunchTemplateResponse
public static interface CreateLaunchTemplateResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<CreateLaunchTemplateResponse.Builder,CreateLaunchTemplateResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreateLaunchTemplateResponse.BuilderlaunchTemplate(Consumer<LaunchTemplate.Builder> launchTemplate)Information about the launch template.CreateLaunchTemplateResponse.BuilderlaunchTemplate(LaunchTemplate launchTemplate)Information about the launch template.default CreateLaunchTemplateResponse.Builderwarning(Consumer<ValidationWarning.Builder> warning)If the launch template contains parameters or parameter combinations that are not valid, an error code and an error message are returned for each issue that's found.CreateLaunchTemplateResponse.Builderwarning(ValidationWarning warning)If the launch template contains parameters or parameter combinations that are not valid, an error code and an error message are returned for each issue that's found.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.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
-
launchTemplate
CreateLaunchTemplateResponse.Builder launchTemplate(LaunchTemplate launchTemplate)
Information about the launch template.
- Parameters:
launchTemplate- Information about the launch template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
launchTemplate
default CreateLaunchTemplateResponse.Builder launchTemplate(Consumer<LaunchTemplate.Builder> launchTemplate)
Information about the launch template.
This is a convenience method that creates an instance of theLaunchTemplate.Builderavoiding the need to create one manually viaLaunchTemplate.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolaunchTemplate(LaunchTemplate).- Parameters:
launchTemplate- a consumer that will call methods onLaunchTemplate.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
launchTemplate(LaunchTemplate)
-
warning
CreateLaunchTemplateResponse.Builder warning(ValidationWarning warning)
If the launch template contains parameters or parameter combinations that are not valid, an error code and an error message are returned for each issue that's found.
- Parameters:
warning- If the launch template contains parameters or parameter combinations that are not valid, an error code and an error message are returned for each issue that's found.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
warning
default CreateLaunchTemplateResponse.Builder warning(Consumer<ValidationWarning.Builder> warning)
If the launch template contains parameters or parameter combinations that are not valid, an error code and an error message are returned for each issue that's found.
This is a convenience method that creates an instance of theValidationWarning.Builderavoiding the need to create one manually viaValidationWarning.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed towarning(ValidationWarning).- Parameters:
warning- a consumer that will call methods onValidationWarning.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
warning(ValidationWarning)
-
-