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
-
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 Detail
-
dataSources
AwsGuardDutyDetectorDetails.Builder dataSources(AwsGuardDutyDetectorDataSourcesDetails 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.Builderavoiding the need to create one manually viaAwsGuardDutyDetectorDataSourcesDetails.builder().When the
Consumercompletes,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:
dataSources(AwsGuardDutyDetectorDataSourcesDetails)
-
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
AwsGuardDutyDetectorDetails.Builder features(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
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.Builderavoiding the need to create one manually viaAwsGuardDutyDetectorFeaturesDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#features(List.) - 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:
#features(java.util.Collection)
-
findingPublishingFrequency
AwsGuardDutyDetectorDetails.Builder findingPublishingFrequency(String 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
AwsGuardDutyDetectorDetails.Builder serviceRole(String 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
AwsGuardDutyDetectorDetails.Builder status(String 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.
-
-