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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default LFTagError.Buildererror(Consumer<ErrorDetail.Builder> error)An error that occurred with the attachment or detachment of the LF-tag.LFTagError.Buildererror(ErrorDetail error)An error that occurred with the attachment or detachment of the LF-tag.default LFTagError.BuilderlfTag(Consumer<LFTagPair.Builder> lfTag)The key-name of the LF-tag.LFTagError.BuilderlfTag(LFTagPair lfTag)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 Detail
-
lfTag
LFTagError.Builder lfTag(LFTagPair 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
default LFTagError.Builder lfTag(Consumer<LFTagPair.Builder> lfTag)
The key-name of the LF-tag.
This is a convenience method that creates an instance of theLFTagPair.Builderavoiding the need to create one manually viaLFTagPair.builder().When the
Consumercompletes,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:
lfTag(LFTagPair)
-
error
LFTagError.Builder error(ErrorDetail 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
default LFTagError.Builder error(Consumer<ErrorDetail.Builder> 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.Builderavoiding the need to create one manually viaErrorDetail.builder().When the
Consumercompletes,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:
error(ErrorDetail)
-
-