Interface PolicyDetails.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<PolicyDetails.Builder,PolicyDetails>,SdkBuilder<PolicyDetails.Builder,PolicyDetails>,SdkPojo
- Enclosing class:
- PolicyDetails
public static interface PolicyDetails.Builder extends SdkPojo, CopyableBuilder<PolicyDetails.Builder,PolicyDetails>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default PolicyDetails.Builderaction(Consumer<FindingAction.Builder> action)The action that produced the finding.PolicyDetails.Builderaction(FindingAction action)The action that produced the finding.default PolicyDetails.Builderactor(Consumer<FindingActor.Builder> actor)The entity that performed the action that produced the finding.PolicyDetails.Builderactor(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, sdkFields
-
-
-
-
Method Detail
-
action
PolicyDetails.Builder action(FindingAction 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
default PolicyDetails.Builder action(Consumer<FindingAction.Builder> action)
The action that produced the finding.
This is a convenience method that creates an instance of theFindingAction.Builderavoiding the need to create one manually viaFindingAction.builder().When the
Consumercompletes,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:
action(FindingAction)
-
actor
PolicyDetails.Builder actor(FindingActor 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
default PolicyDetails.Builder actor(Consumer<FindingActor.Builder> actor)
The entity that performed the action that produced the finding.
This is a convenience method that creates an instance of theFindingActor.Builderavoiding the need to create one manually viaFindingActor.builder().When the
Consumercompletes,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:
actor(FindingActor)
-
-