Interface ErrorRootCauseEntity.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ErrorRootCauseEntity.Builder,
,ErrorRootCauseEntity> SdkBuilder<ErrorRootCauseEntity.Builder,
,ErrorRootCauseEntity> SdkPojo
- Enclosing class:
ErrorRootCauseEntity
public static interface ErrorRootCauseEntity.Builder
extends SdkPojo, CopyableBuilder<ErrorRootCauseEntity.Builder,ErrorRootCauseEntity>
-
Method Summary
Modifier and TypeMethodDescriptionexceptions
(Collection<RootCauseException> exceptions) The types and messages of the exceptions.exceptions
(Consumer<RootCauseException.Builder>... exceptions) The types and messages of the exceptions.exceptions
(RootCauseException... exceptions) The types and messages of the exceptions.The name of the entity.A flag that denotes a remote subsegment.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
-
name
The name of the entity.
- Parameters:
name
- The name of the entity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
exceptions
The types and messages of the exceptions.
- Parameters:
exceptions
- The types and messages of the exceptions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
exceptions
The types and messages of the exceptions.
- Parameters:
exceptions
- The types and messages of the exceptions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
exceptions
The types and messages of the exceptions.
This is a convenience method that creates an instance of theRootCauseException.Builder
avoiding the need to create one manually viaRootCauseException.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toexceptions(List<RootCauseException>)
.- Parameters:
exceptions
- a consumer that will call methods onRootCauseException.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
remote
A flag that denotes a remote subsegment.
- Parameters:
remote
- A flag that denotes a remote subsegment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-