Interface AwsGuardDutyDetectorDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AwsGuardDutyDetectorDetails.Builder,
,AwsGuardDutyDetectorDetails> SdkBuilder<AwsGuardDutyDetectorDetails.Builder,
,AwsGuardDutyDetectorDetails> SdkPojo
- Enclosing class:
AwsGuardDutyDetectorDetails
public static interface AwsGuardDutyDetectorDetails.Builder
extends SdkPojo, CopyableBuilder<AwsGuardDutyDetectorDetails.Builder,AwsGuardDutyDetectorDetails>
-
Method Summary
Modifier and TypeMethodDescriptionDescribes which data sources are activated for the detector.dataSources
(AwsGuardDutyDetectorDataSourcesDetails dataSources) Describes which data sources are activated for the detector.Describes which features are activated for the detector.features
(Consumer<AwsGuardDutyDetectorFeaturesDetails.Builder>... features) Describes which features are activated for the detector.features
(AwsGuardDutyDetectorFeaturesDetails... features) Describes which features are activated for the detector.findingPublishingFrequency
(String findingPublishingFrequency) The publishing frequency of the finding.serviceRole
(String serviceRole) The GuardDuty service role.The activation status of the detector.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, sdkFields
-
Method Details
-
dataSources
Describes which data sources are activated for the detector.
- Parameters:
dataSources
- Describes which data sources are activated for the detector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSources
default AwsGuardDutyDetectorDetails.Builder dataSources(Consumer<AwsGuardDutyDetectorDataSourcesDetails.Builder> dataSources) Describes which data sources are activated for the detector.
This is a convenience method that creates an instance of theAwsGuardDutyDetectorDataSourcesDetails.Builder
avoiding the need to create one manually viaAwsGuardDutyDetectorDataSourcesDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todataSources(AwsGuardDutyDetectorDataSourcesDetails)
.- Parameters:
dataSources
- a consumer that will call methods onAwsGuardDutyDetectorDataSourcesDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
features
AwsGuardDutyDetectorDetails.Builder features(Collection<AwsGuardDutyDetectorFeaturesDetails> features) Describes which features are activated for the detector.
- Parameters:
features
- Describes which features are activated for the detector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
features
Describes which features are activated for the detector.
- Parameters:
features
- Describes which features are activated for the detector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
features
AwsGuardDutyDetectorDetails.Builder features(Consumer<AwsGuardDutyDetectorFeaturesDetails.Builder>... features) Describes which features are activated for the detector.
This is a convenience method that creates an instance of theAwsGuardDutyDetectorFeaturesDetails.Builder
avoiding the need to create one manually viaAwsGuardDutyDetectorFeaturesDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofeatures(List<AwsGuardDutyDetectorFeaturesDetails>)
.- Parameters:
features
- a consumer that will call methods onAwsGuardDutyDetectorFeaturesDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
findingPublishingFrequency
The publishing frequency of the finding.
- Parameters:
findingPublishingFrequency
- The publishing frequency of the finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceRole
The GuardDuty service role.
- Parameters:
serviceRole
- The GuardDuty service role.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The activation status of the detector.
- Parameters:
status
- The activation status of the detector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-