Interface AddAttributesToFindingsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<AddAttributesToFindingsRequest.Builder,
,AddAttributesToFindingsRequest> InspectorRequest.Builder
,SdkBuilder<AddAttributesToFindingsRequest.Builder,
,AddAttributesToFindingsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
AddAttributesToFindingsRequest
public static interface AddAttributesToFindingsRequest.Builder
extends InspectorRequest.Builder, SdkPojo, CopyableBuilder<AddAttributesToFindingsRequest.Builder,AddAttributesToFindingsRequest>
-
Method Summary
Modifier and TypeMethodDescriptionattributes
(Collection<Attribute> attributes) The array of attributes that you want to assign to specified findings.attributes
(Consumer<Attribute.Builder>... attributes) The array of attributes that you want to assign to specified findings.attributes
(Attribute... attributes) The array of attributes that you want to assign to specified findings.findingArns
(String... findingArns) The ARNs that specify the findings that you want to assign attributes to.findingArns
(Collection<String> findingArns) The ARNs that specify the findings that you want to assign attributes to.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.inspector.model.InspectorRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
findingArns
The ARNs that specify the findings that you want to assign attributes to.
- Parameters:
findingArns
- The ARNs that specify the findings that you want to assign attributes to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
findingArns
The ARNs that specify the findings that you want to assign attributes to.
- Parameters:
findingArns
- The ARNs that specify the findings that you want to assign attributes to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
The array of attributes that you want to assign to specified findings.
- Parameters:
attributes
- The array of attributes that you want to assign to specified findings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
The array of attributes that you want to assign to specified findings.
- Parameters:
attributes
- The array of attributes that you want to assign to specified findings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
The array of attributes that you want to assign to specified findings.
This is a convenience method that creates an instance of theAttribute.Builder
avoiding the need to create one manually viaAttribute.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toattributes(List<Attribute>)
.- Parameters:
attributes
- a consumer that will call methods onAttribute.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
AddAttributesToFindingsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
AddAttributesToFindingsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-