public static interface FaultRootCauseEntity.Builder extends SdkPojo, CopyableBuilder<FaultRootCauseEntity.Builder,FaultRootCauseEntity>
Modifier and Type | Method and Description |
---|---|
FaultRootCauseEntity.Builder |
exceptions(Collection<RootCauseException> exceptions)
The types and messages of the exceptions.
|
FaultRootCauseEntity.Builder |
exceptions(Consumer<RootCauseException.Builder>... exceptions)
The types and messages of the exceptions.
|
FaultRootCauseEntity.Builder |
exceptions(RootCauseException... exceptions)
The types and messages of the exceptions.
|
FaultRootCauseEntity.Builder |
name(String name)
The name of the entity.
|
FaultRootCauseEntity.Builder |
remote(Boolean remote)
A flag that denotes a remote subsegment.
|
copy
applyMutation, build
FaultRootCauseEntity.Builder name(String name)
The name of the entity.
name
- The name of the entity.FaultRootCauseEntity.Builder exceptions(Collection<RootCauseException> exceptions)
The types and messages of the exceptions.
exceptions
- The types and messages of the exceptions.FaultRootCauseEntity.Builder exceptions(RootCauseException... exceptions)
The types and messages of the exceptions.
exceptions
- The types and messages of the exceptions.FaultRootCauseEntity.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)
FaultRootCauseEntity.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.