Interface ErrorRootCauseEntity.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ErrorRootCauseEntity.Builder,ErrorRootCauseEntity>,SdkBuilder<ErrorRootCauseEntity.Builder,ErrorRootCauseEntity>,SdkPojo
- Enclosing class:
- ErrorRootCauseEntity
@Mutable @NotThreadSafe public static interface ErrorRootCauseEntity.Builder extends SdkPojo, CopyableBuilder<ErrorRootCauseEntity.Builder,ErrorRootCauseEntity>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ErrorRootCauseEntity.Builderexceptions(Collection<RootCauseException> exceptions)The types and messages of the exceptions.ErrorRootCauseEntity.Builderexceptions(Consumer<RootCauseException.Builder>... exceptions)The types and messages of the exceptions.ErrorRootCauseEntity.Builderexceptions(RootCauseException... exceptions)The types and messages of the exceptions.ErrorRootCauseEntity.Buildername(String name)The name of the entity.ErrorRootCauseEntity.Builderremote(Boolean remote)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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
name
ErrorRootCauseEntity.Builder name(String 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
ErrorRootCauseEntity.Builder exceptions(Collection<RootCauseException> 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
ErrorRootCauseEntity.Builder exceptions(RootCauseException... 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
ErrorRootCauseEntity.Builder exceptions(Consumer<RootCauseException.Builder>... 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 to#exceptions(List.) - 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:
#exceptions(java.util.Collection)
-
remote
ErrorRootCauseEntity.Builder remote(Boolean 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.
-
-