public static interface ErrorRootCauseEntity.Builder extends SdkPojo, CopyableBuilder<ErrorRootCauseEntity.Builder,ErrorRootCauseEntity>
Modifier and Type | Method and Description |
---|---|
ErrorRootCauseEntity.Builder |
exceptions(Collection<RootCauseException> exceptions)
The types and messages of the exceptions.
|
ErrorRootCauseEntity.Builder |
exceptions(Consumer<RootCauseException.Builder>... exceptions)
The types and messages of the exceptions.
|
ErrorRootCauseEntity.Builder |
exceptions(RootCauseException... exceptions)
The types and messages of the exceptions.
|
ErrorRootCauseEntity.Builder |
name(String name)
The name of the entity.
|
ErrorRootCauseEntity.Builder |
remote(Boolean remote)
A flag that denotes a remote subsegment.
|
copy
applyMutation, build
ErrorRootCauseEntity.Builder name(String name)
The name of the entity.
name
- The name of the entity.ErrorRootCauseEntity.Builder exceptions(Collection<RootCauseException> exceptions)
The types and messages of the exceptions.
exceptions
- The types and messages of the exceptions.ErrorRootCauseEntity.Builder exceptions(RootCauseException... exceptions)
The types and messages of the exceptions.
exceptions
- The types and messages of the exceptions.ErrorRootCauseEntity.Builder exceptions(Consumer<RootCauseException.Builder>... exceptions)
The types and messages of the exceptions.
This is a convenience that creates an instance of theList.Builder
avoiding the
need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately
and its result is passed to #exceptions(List)
.exceptions
- a consumer that will call methods on List.Builder
#exceptions(List)
ErrorRootCauseEntity.Builder remote(Boolean remote)
A flag that denotes a remote subsegment.
remote
- A flag that denotes a remote subsegment.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.