Interface LaunchTemplateVersion.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<LaunchTemplateVersion.Builder,,LaunchTemplateVersion> SdkBuilder<LaunchTemplateVersion.Builder,,LaunchTemplateVersion> SdkPojo
- Enclosing class:
LaunchTemplateVersion
@Mutable
@NotThreadSafe
public static interface LaunchTemplateVersion.Builder
extends SdkPojo, CopyableBuilder<LaunchTemplateVersion.Builder,LaunchTemplateVersion>
-
Method Summary
Modifier and TypeMethodDescriptionThe principal that created the version.createTime(Instant createTime) The time the version was created.defaultVersion(Boolean defaultVersion) Indicates whether the version is the default version.default LaunchTemplateVersion.BuilderlaunchTemplateData(Consumer<ResponseLaunchTemplateData.Builder> launchTemplateData) Information about the launch template.launchTemplateData(ResponseLaunchTemplateData launchTemplateData) Information about the launch template.launchTemplateId(String launchTemplateId) The ID of the launch template.launchTemplateName(String launchTemplateName) The name of the launch template.default LaunchTemplateVersion.Builderoperator(Consumer<OperatorResponse.Builder> operator) The entity that manages the launch template.operator(OperatorResponse operator) The entity that manages the launch template.versionDescription(String versionDescription) The description for the version.versionNumber(Long versionNumber) The version number.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
launchTemplateId
The ID of the launch template.
- Parameters:
launchTemplateId- The ID of the launch template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
launchTemplateName
The name of the launch template.
- Parameters:
launchTemplateName- The name of the launch template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
versionNumber
The version number.
- Parameters:
versionNumber- The version number.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
versionDescription
The description for the version.
- Parameters:
versionDescription- The description for the version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createTime
The time the version was created.
- Parameters:
createTime- The time the version was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdBy
The principal that created the version.
- Parameters:
createdBy- The principal that created the version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultVersion
Indicates whether the version is the default version.
- Parameters:
defaultVersion- Indicates whether the version is the default version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
launchTemplateData
Information about the launch template.
- Parameters:
launchTemplateData- Information about the launch template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
launchTemplateData
default LaunchTemplateVersion.Builder launchTemplateData(Consumer<ResponseLaunchTemplateData.Builder> launchTemplateData) Information about the launch template.
This is a convenience method that creates an instance of theResponseLaunchTemplateData.Builderavoiding the need to create one manually viaResponseLaunchTemplateData.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolaunchTemplateData(ResponseLaunchTemplateData).- Parameters:
launchTemplateData- a consumer that will call methods onResponseLaunchTemplateData.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
operator
The entity that manages the launch template.
- Parameters:
operator- The entity that manages the launch template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
operator
The entity that manages the launch template.
This is a convenience method that creates an instance of theOperatorResponse.Builderavoiding the need to create one manually viaOperatorResponse.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooperator(OperatorResponse).- Parameters:
operator- a consumer that will call methods onOperatorResponse.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-