public static interface CreateLaunchTemplateVersionResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<CreateLaunchTemplateVersionResponse.Builder,CreateLaunchTemplateVersionResponse>
Modifier and Type | Method and Description |
---|---|
default CreateLaunchTemplateVersionResponse.Builder |
launchTemplateVersion(Consumer<LaunchTemplateVersion.Builder> launchTemplateVersion)
Information about the launch template version.
|
CreateLaunchTemplateVersionResponse.Builder |
launchTemplateVersion(LaunchTemplateVersion launchTemplateVersion)
Information about the launch template version.
|
default CreateLaunchTemplateVersionResponse.Builder |
warning(Consumer<ValidationWarning.Builder> warning)
If the new version of 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.
|
CreateLaunchTemplateVersionResponse.Builder |
warning(ValidationWarning warning)
If the new version of 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
CreateLaunchTemplateVersionResponse.Builder launchTemplateVersion(LaunchTemplateVersion launchTemplateVersion)
Information about the launch template version.
launchTemplateVersion
- Information about the launch template version.default CreateLaunchTemplateVersionResponse.Builder launchTemplateVersion(Consumer<LaunchTemplateVersion.Builder> launchTemplateVersion)
Information about the launch template version.
This is a convenience method that creates an instance of theLaunchTemplateVersion.Builder
avoiding
the need to create one manually via LaunchTemplateVersion.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to launchTemplateVersion(LaunchTemplateVersion)
.launchTemplateVersion
- a consumer that will call methods on LaunchTemplateVersion.Builder
launchTemplateVersion(LaunchTemplateVersion)
CreateLaunchTemplateVersionResponse.Builder warning(ValidationWarning warning)
If the new version of 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 new version of 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 CreateLaunchTemplateVersionResponse.Builder warning(Consumer<ValidationWarning.Builder> warning)
If the new version of 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 © 2022. All rights reserved.