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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AnalysisError.Buildermessage(String message)The message associated with the analysis error.AnalysisError.Buildertype(String type)The type of the analysis error.AnalysisError.Buildertype(AnalysisErrorType type)The type of the analysis error.AnalysisError.BuilderviolatedEntities(Collection<Entity> violatedEntities)Lists the violated entities that caused the analysis errorAnalysisError.BuilderviolatedEntities(Consumer<Entity.Builder>... violatedEntities)Lists the violated entities that caused the analysis errorAnalysisError.BuilderviolatedEntities(Entity... violatedEntities)Lists the violated entities that caused the analysis error-
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, sdkFields
-
-
-
-
Method Detail
-
type
AnalysisError.Builder type(String 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:
AnalysisErrorType,AnalysisErrorType
-
type
AnalysisError.Builder type(AnalysisErrorType 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:
AnalysisErrorType,AnalysisErrorType
-
message
AnalysisError.Builder message(String 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
AnalysisError.Builder violatedEntities(Collection<Entity> 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
AnalysisError.Builder violatedEntities(Entity... 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
AnalysisError.Builder violatedEntities(Consumer<Entity.Builder>... violatedEntities)
Lists the violated entities that caused the analysis error
This is a convenience method that creates an instance of theEntity.Builderavoiding the need to create one manually viaEntity.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#violatedEntities(List.) - 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:
#violatedEntities(java.util.Collection)
-
-