Interface LaunchTemplate.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<LaunchTemplate.Builder,LaunchTemplate>
,SdkBuilder<LaunchTemplate.Builder,LaunchTemplate>
,SdkPojo
- Enclosing class:
- LaunchTemplate
public static interface LaunchTemplate.Builder extends SdkPojo, CopyableBuilder<LaunchTemplate.Builder,LaunchTemplate>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description LaunchTemplate.Builder
createdBy(String createdBy)
The principal that created the launch template.LaunchTemplate.Builder
createTime(Instant createTime)
The time launch template was created.LaunchTemplate.Builder
defaultVersionNumber(Long defaultVersionNumber)
The version number of the default version of the launch template.LaunchTemplate.Builder
latestVersionNumber(Long latestVersionNumber)
The version number of the latest version of the launch template.LaunchTemplate.Builder
launchTemplateId(String launchTemplateId)
The ID of the launch template.LaunchTemplate.Builder
launchTemplateName(String launchTemplateName)
The name of the launch template.default LaunchTemplate.Builder
operator(Consumer<OperatorResponse.Builder> operator)
The entity that manages the launch template.LaunchTemplate.Builder
operator(OperatorResponse operator)
The entity that manages the launch template.LaunchTemplate.Builder
tags(Collection<Tag> tags)
The tags for the launch template.LaunchTemplate.Builder
tags(Consumer<Tag.Builder>... tags)
The tags for the launch template.LaunchTemplate.Builder
tags(Tag... tags)
The tags for the launch template.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
launchTemplateId
LaunchTemplate.Builder launchTemplateId(String 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
LaunchTemplate.Builder launchTemplateName(String 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.
-
createTime
LaunchTemplate.Builder createTime(Instant createTime)
The time launch template was created.
- Parameters:
createTime
- The time launch template was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdBy
LaunchTemplate.Builder createdBy(String createdBy)
The principal that created the launch template.
- Parameters:
createdBy
- The principal that created the launch template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultVersionNumber
LaunchTemplate.Builder defaultVersionNumber(Long defaultVersionNumber)
The version number of the default version of the launch template.
- Parameters:
defaultVersionNumber
- The version number of the default version of the launch template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
latestVersionNumber
LaunchTemplate.Builder latestVersionNumber(Long latestVersionNumber)
The version number of the latest version of the launch template.
- Parameters:
latestVersionNumber
- The version number of the latest version of the launch template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
LaunchTemplate.Builder tags(Collection<Tag> tags)
The tags for the launch template.
- Parameters:
tags
- The tags for the launch template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
LaunchTemplate.Builder tags(Tag... tags)
The tags for the launch template.
- Parameters:
tags
- The tags for the launch template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
LaunchTemplate.Builder tags(Consumer<Tag.Builder>... tags)
The tags for the launch template.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#tags(List
.) - Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection
)
-
operator
LaunchTemplate.Builder operator(OperatorResponse 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
default LaunchTemplate.Builder operator(Consumer<OperatorResponse.Builder> operator)
The entity that manages the launch template.
This is a convenience method that creates an instance of theOperatorResponse.Builder
avoiding the need to create one manually viaOperatorResponse.builder()
.When the
Consumer
completes,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:
operator(OperatorResponse)
-
-