Interface Template.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Template.Builder,
,Template> SdkBuilder<Template.Builder,
,Template> SdkPojo
- Enclosing class:
Template
@Mutable
@NotThreadSafe
public static interface Template.Builder
extends SdkPojo, CopyableBuilder<Template.Builder,Template>
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the template.createdTime
(Instant createdTime) Time when this was created.lastUpdatedTime
(Instant lastUpdatedTime) Time when this was last updated.The display name of the template.templateId
(String templateId) The ID for the template.default Template.Builder
version
(Consumer<TemplateVersion.Builder> version) A structure describing the versions of the template.version
(TemplateVersion version) A structure describing the versions of the 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 Details
-
arn
The Amazon Resource Name (ARN) of the template.
- Parameters:
arn
- The Amazon Resource Name (ARN) of the template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The display name of the template.
- Parameters:
name
- The display name of the template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
version
A structure describing the versions of the template.
- Parameters:
version
- A structure describing the versions of the template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
version
A structure describing the versions of the template.
This is a convenience method that creates an instance of theTemplateVersion.Builder
avoiding the need to create one manually viaTemplateVersion.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toversion(TemplateVersion)
.- Parameters:
version
- a consumer that will call methods onTemplateVersion.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
templateId
The ID for the template. This is unique per Amazon Web Services Region for each Amazon Web Services account.
- Parameters:
templateId
- The ID for the template. This is unique per Amazon Web Services Region for each Amazon Web Services account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedTime
Time when this was last updated.
- Parameters:
lastUpdatedTime
- Time when this was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdTime
Time when this was created.
- Parameters:
createdTime
- Time when this was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-