Interface LFTagError.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<LFTagError.Builder,
,LFTagError> SdkBuilder<LFTagError.Builder,
,LFTagError> SdkPojo
- Enclosing class:
LFTagError
public static interface LFTagError.Builder
extends SdkPojo, CopyableBuilder<LFTagError.Builder,LFTagError>
-
Method Summary
Modifier and TypeMethodDescriptiondefault LFTagError.Builder
error
(Consumer<ErrorDetail.Builder> error) An error that occurred with the attachment or detachment of the LF-tag.error
(ErrorDetail error) An error that occurred with the attachment or detachment of the LF-tag.default LFTagError.Builder
lfTag
(Consumer<LFTagPair.Builder> lfTag) The key-name of the LF-tag.The key-name of the LF-tag.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, sdkFields
-
Method Details
-
lfTag
The key-name of the LF-tag.
- Parameters:
lfTag
- The key-name of the LF-tag.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lfTag
The key-name of the LF-tag.
This is a convenience method that creates an instance of theLFTagPair.Builder
avoiding the need to create one manually viaLFTagPair.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolfTag(LFTagPair)
.- Parameters:
lfTag
- a consumer that will call methods onLFTagPair.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
error
An error that occurred with the attachment or detachment of the LF-tag.
- Parameters:
error
- An error that occurred with the attachment or detachment of the LF-tag.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
error
An error that occurred with the attachment or detachment of the LF-tag.
This is a convenience method that creates an instance of theErrorDetail.Builder
avoiding the need to create one manually viaErrorDetail.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toerror(ErrorDetail)
.- Parameters:
error
- a consumer that will call methods onErrorDetail.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-