Interface FindingAction.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<FindingAction.Builder,
,FindingAction> SdkBuilder<FindingAction.Builder,
,FindingAction> SdkPojo
- Enclosing class:
FindingAction
-
Method Summary
Modifier and TypeMethodDescriptionactionType
(String actionType) The type of action that occurred for the affected resource.actionType
(FindingActionType actionType) The type of action that occurred for the affected resource.default FindingAction.Builder
apiCallDetails
(Consumer<ApiCallDetails.Builder> apiCallDetails) The invocation details of the API operation that an entity invoked for the affected resource, if the value for the actionType property is AWS_API_CALL.apiCallDetails
(ApiCallDetails apiCallDetails) The invocation details of the API operation that an entity invoked for the affected resource, if the value for the actionType property is AWS_API_CALL.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
-
actionType
The type of action that occurred for the affected resource. This value is typically AWS_API_CALL, which indicates that an entity invoked an API operation for the resource.
- Parameters:
actionType
- The type of action that occurred for the affected resource. This value is typically AWS_API_CALL, which indicates that an entity invoked an API operation for the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
actionType
The type of action that occurred for the affected resource. This value is typically AWS_API_CALL, which indicates that an entity invoked an API operation for the resource.
- Parameters:
actionType
- The type of action that occurred for the affected resource. This value is typically AWS_API_CALL, which indicates that an entity invoked an API operation for the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
apiCallDetails
The invocation details of the API operation that an entity invoked for the affected resource, if the value for the actionType property is AWS_API_CALL.
- Parameters:
apiCallDetails
- The invocation details of the API operation that an entity invoked for the affected resource, if the value for the actionType property is AWS_API_CALL.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
apiCallDetails
The invocation details of the API operation that an entity invoked for the affected resource, if the value for the actionType property is AWS_API_CALL.
This is a convenience method that creates an instance of theApiCallDetails.Builder
avoiding the need to create one manually viaApiCallDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toapiCallDetails(ApiCallDetails)
.- Parameters:
apiCallDetails
- a consumer that will call methods onApiCallDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-