Interface FaultRootCauseEntity.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<FaultRootCauseEntity.Builder,,FaultRootCauseEntity> SdkBuilder<FaultRootCauseEntity.Builder,,FaultRootCauseEntity> SdkPojo
- Enclosing class:
FaultRootCauseEntity
public static interface FaultRootCauseEntity.Builder
extends SdkPojo, CopyableBuilder<FaultRootCauseEntity.Builder,FaultRootCauseEntity>
-
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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.Builderavoiding the need to create one manually viaRootCauseException.builder().When the
Consumercompletes,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.
-