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
Modifier and TypeMethodDescriptiondefault PolicyDetails.Builderaction(Consumer<FindingAction.Builder> action) The action that produced the finding.action(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.actor(FindingActor actor) The entity that performed the action that produced the finding.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, 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.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:
-
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.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:
-