Interface UpdateThreatEntitySetRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateThreatEntitySetRequest.Builder,
,UpdateThreatEntitySetRequest> GuardDutyRequest.Builder
,SdkBuilder<UpdateThreatEntitySetRequest.Builder,
,UpdateThreatEntitySetRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateThreatEntitySetRequest
-
Method Summary
Modifier and TypeMethodDescriptionA boolean value that indicates whether GuardDuty is to start using this updated threat entity set.detectorId
(String detectorId) The unique ID of the GuardDuty detector associated with the threat entity set that you want to update.expectedBucketOwner
(String expectedBucketOwner) The Amazon Web Services account ID that owns the Amazon S3 bucket specified in the location parameter.The URI of the file that contains the trusted entity set.A user-friendly name to identify the trusted entity set.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.threatEntitySetId
(String threatEntitySetId) The ID returned by GuardDuty after updating the 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 GuardDuty detector associated with the threat entity set that you want to update.
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 GuardDuty detector associated with the threat entity set that you want to update.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.
-
threatEntitySetId
The ID returned by GuardDuty after updating the threat entity set resource.
- Parameters:
threatEntitySetId
- The ID returned by GuardDuty after updating the threat entity set resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
A user-friendly name to identify the trusted 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 trusted 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.
-
location
The URI of the file that contains the trusted entity set.
- Parameters:
location
- The URI of the file that contains the trusted 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 is to start using this updated threat entity set. After you update an entity set, you will need to activate it again. It might take up to 15 minutes for the updated entity set to be effective.
- Parameters:
activate
- A boolean value that indicates whether GuardDuty is to start using this updated threat entity set. After you update an entity set, you will need to activate it again. It might take up to 15 minutes for the updated entity set to be effective.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateThreatEntitySetRequest.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
UpdateThreatEntitySetRequest.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.
-