Interface CreateThreatEntitySetRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateThreatEntitySetRequest.Builder,
,CreateThreatEntitySetRequest> GuardDutyRequest.Builder
,SdkBuilder<CreateThreatEntitySetRequest.Builder,
,CreateThreatEntitySetRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateThreatEntitySetRequest
-
Method Summary
Modifier and TypeMethodDescriptionA boolean value that indicates whether GuardDuty should start using the uploaded threat entity set to generate findings.clientToken
(String clientToken) The idempotency token for the create request.detectorId
(String detectorId) The unique ID of the detector of the GuardDuty account for which you want to create a threat entity set.expectedBucketOwner
(String expectedBucketOwner) The Amazon Web Services account ID that owns the Amazon S3 bucket specified in the location parameter.The format of the file that contains the threat entity set.format
(ThreatEntitySetFormat format) The format of the file that contains the threat entity set.The URI of the file that contains the threat entity set.A user-friendly name to identify the threat entity set.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The tags to be added to a new threat entity set resource.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.guardduty.model.GuardDutyRequest.Builder
build
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
-
detectorId
The unique ID of the detector of the GuardDuty account for which you want to create a threat entity set.
To find the
detectorId
in the current Region, see the Settings page in the GuardDuty console, or run the ListDetectors API.- Parameters:
detectorId
- The unique ID of the detector of the GuardDuty account for which you want to create a threat entity set.To find the
detectorId
in the current Region, see the Settings page in the GuardDuty console, or run the ListDetectors API.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
A user-friendly name to identify the threat entity set.
List naming constraints - The name of your list can include lowercase letters, uppercase letters, numbers, dash (-), and underscore (_).
- Parameters:
name
- A user-friendly name to identify the threat entity set.List naming constraints - The name of your list can include lowercase letters, uppercase letters, numbers, dash (-), and underscore (_).
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
format
The format of the file that contains the threat entity set.
- Parameters:
format
- The format of the file that contains the threat entity set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
format
The format of the file that contains the threat entity set.
- Parameters:
format
- The format of the file that contains the threat entity set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
location
The URI of the file that contains the threat entity set.
- Parameters:
location
- The URI of the file that contains the threat entity set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expectedBucketOwner
The Amazon Web Services account ID that owns the Amazon S3 bucket specified in the location parameter.
- Parameters:
expectedBucketOwner
- The Amazon Web Services account ID that owns the Amazon S3 bucket specified in the location parameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
activate
A boolean value that indicates whether GuardDuty should start using the uploaded threat entity set to generate findings.
- Parameters:
activate
- A boolean value that indicates whether GuardDuty should start using the uploaded threat entity set to generate findings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
The idempotency token for the create request.
- Parameters:
clientToken
- The idempotency token for the create request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags to be added to a new threat entity set resource.
- Parameters:
tags
- The tags to be added to a new threat entity set resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateThreatEntitySetRequest.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
CreateThreatEntitySetRequest.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.
-