Interface AnalysisError.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AnalysisError.Builder,
,AnalysisError> SdkBuilder<AnalysisError.Builder,
,AnalysisError> SdkPojo
- Enclosing class:
AnalysisError
public static interface AnalysisError.Builder
extends SdkPojo, CopyableBuilder<AnalysisError.Builder,AnalysisError>
-
Method Summary
Modifier and TypeMethodDescriptionThe message associated with the analysis error.The type of the analysis error.type
(AnalysisErrorType type) The type of the analysis error.violatedEntities
(Collection<Entity> violatedEntities) Lists the violated entities that caused the analysis errorviolatedEntities
(Consumer<Entity.Builder>... violatedEntities) Lists the violated entities that caused the analysis errorviolatedEntities
(Entity... violatedEntities) Lists the violated entities that caused the analysis errorMethods 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
-
type
The type of the analysis error.
- Parameters:
type
- The type of the analysis error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of the analysis error.
- Parameters:
type
- The type of the analysis error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
message
The message associated with the analysis error.
- Parameters:
message
- The message associated with the analysis error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
violatedEntities
Lists the violated entities that caused the analysis error
- Parameters:
violatedEntities
- Lists the violated entities that caused the analysis error- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
violatedEntities
Lists the violated entities that caused the analysis error
- Parameters:
violatedEntities
- Lists the violated entities that caused the analysis error- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
violatedEntities
Lists the violated entities that caused the analysis error
This is a convenience method that creates an instance of theEntity.Builder
avoiding the need to create one manually viaEntity.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toviolatedEntities(List<Entity>)
.- Parameters:
violatedEntities
- a consumer that will call methods onEntity.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-