Interface PolicyDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<PolicyDetails.Builder,
,PolicyDetails> SdkBuilder<PolicyDetails.Builder,
,PolicyDetails> SdkPojo
- Enclosing class:
PolicyDetails
@Mutable
@NotThreadSafe
public static interface PolicyDetails.Builder
extends SdkPojo, CopyableBuilder<PolicyDetails.Builder,PolicyDetails>
-
Method Summary
Modifier and TypeMethodDescriptiondefault PolicyDetails.Builder
action
(Consumer<FindingAction.Builder> action) The action that produced the finding.action
(FindingAction action) The action that produced the finding.default PolicyDetails.Builder
actor
(Consumer<FindingActor.Builder> actor) The entity that performed the action that produced the finding.actor
(FindingActor actor) The entity that performed the action that produced the finding.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, sdkFieldNameToField, sdkFields
-
Method Details
-
action
The action that produced the finding.
- Parameters:
action
- The action that produced the finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
action
The action that produced the finding.
This is a convenience method that creates an instance of theFindingAction.Builder
avoiding the need to create one manually viaFindingAction.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toaction(FindingAction)
.- Parameters:
action
- a consumer that will call methods onFindingAction.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
actor
The entity that performed the action that produced the finding.
- Parameters:
actor
- The entity that performed the action that produced the finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actor
The entity that performed the action that produced the finding.
This is a convenience method that creates an instance of theFindingActor.Builder
avoiding the need to create one manually viaFindingActor.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toactor(FindingActor)
.- Parameters:
actor
- a consumer that will call methods onFindingActor.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-