Interface TemplateDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<TemplateDetails.Builder,
,TemplateDetails> SdkBuilder<TemplateDetails.Builder,
,TemplateDetails> SdkPojo
- Enclosing class:
TemplateDetails
@Mutable
@NotThreadSafe
public static interface TemplateDetails.Builder
extends SdkPojo, CopyableBuilder<TemplateDetails.Builder,TemplateDetails>
-
Method Summary
Modifier and TypeMethodDescriptiondefault TemplateDetails.Builder
x12
(Consumer<X12Details.Builder> x12) Sets the value of the X12 property for this object.x12
(X12Details x12) Sets the value of the X12 property for this object.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
-
x12
Sets the value of the X12 property for this object.- Parameters:
x12
- The new value for the X12 property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
x12
Sets the value of the X12 property for this object. This is a convenience method that creates an instance of theX12Details.Builder
avoiding the need to create one manually viaX12Details.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tox12(X12Details)
.- Parameters:
x12
- a consumer that will call methods onX12Details.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-