Interface Process.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Process.Builder,,Process> SdkBuilder<Process.Builder,,Process> SdkPojo
- Enclosing class:
Process
@Mutable
@NotThreadSafe
public static interface Process.Builder
extends SdkPojo, CopyableBuilder<Process.Builder,Process>
-
Method Summary
Modifier and TypeMethodDescriptionfindings(Collection<FindingReference> findings) The findings associated with this process.findings(Consumer<FindingReference.Builder>... findings) The findings associated with this process.findings(FindingReference... findings) The findings associated with this process.The name of the process.parentUuid(String parentUuid) The unique identifier of the parent process.The path of the process executable.The unique identifier of the process.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
uuid
The unique identifier of the process.
- Parameters:
uuid- The unique identifier of the process.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the process.
- Parameters:
name- The name of the process.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
path
The path of the process executable.
- Parameters:
path- The path of the process executable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parentUuid
The unique identifier of the parent process. Not set for the root process.
- Parameters:
parentUuid- The unique identifier of the parent process. Not set for the root process.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
findings
The findings associated with this process.
- Parameters:
findings- The findings associated with this process.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
findings
The findings associated with this process.
- Parameters:
findings- The findings associated with this process.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
findings
The findings associated with this process.
This is a convenience method that creates an instance of theFindingReference.Builderavoiding the need to create one manually viaFindingReference.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofindings(List<FindingReference>).- Parameters:
findings- a consumer that will call methods onFindingReference.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-