public static interface CreateLaunchTemplateResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<CreateLaunchTemplateResponse.Builder,CreateLaunchTemplateResponse>
Modifier and Type | Method and Description |
---|---|
default CreateLaunchTemplateResponse.Builder |
launchTemplate(Consumer<LaunchTemplate.Builder> launchTemplate)
Information about the launch template.
|
CreateLaunchTemplateResponse.Builder |
launchTemplate(LaunchTemplate launchTemplate)
Information about the launch template.
|
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.
|
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.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
CreateLaunchTemplateResponse.Builder launchTemplate(LaunchTemplate launchTemplate)
Information about the launch template.
launchTemplate
- Information about the launch template.default CreateLaunchTemplateResponse.Builder launchTemplate(Consumer<LaunchTemplate.Builder> launchTemplate)
Information about the launch template.
This is a convenience method that creates an instance of theLaunchTemplate.Builder
avoiding the need
to create one manually via LaunchTemplate.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to launchTemplate(LaunchTemplate)
.
launchTemplate
- a consumer that will call methods on LaunchTemplate.Builder
launchTemplate(LaunchTemplate)
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.
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.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.Builder
avoiding the
need to create one manually via ValidationWarning.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to warning(ValidationWarning)
.
warning
- a consumer that will call methods on ValidationWarning.Builder
warning(ValidationWarning)
Copyright © 2023. All rights reserved.