Interface GetDetectorResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetDetectorResponse.Builder,,GetDetectorResponse> GuardDutyResponse.Builder,SdkBuilder<GetDetectorResponse.Builder,,GetDetectorResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetDetectorResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe timestamp of when the detector was created.default GetDetectorResponse.BuilderdataSources(Consumer<DataSourceConfigurationsResult.Builder> dataSources) Deprecated.This parameter is deprecated, use Features insteaddataSources(DataSourceConfigurationsResult dataSources) Deprecated.This parameter is deprecated, use Features insteadfeatures(Collection<DetectorFeatureConfigurationResult> features) Describes the features that have been enabled for the detector.features(Consumer<DetectorFeatureConfigurationResult.Builder>... features) Describes the features that have been enabled for the detector.features(DetectorFeatureConfigurationResult... features) Describes the features that have been enabled for the detector.findingPublishingFrequency(String findingPublishingFrequency) The publishing frequency of the finding.findingPublishingFrequency(FindingPublishingFrequency findingPublishingFrequency) The publishing frequency of the finding.serviceRole(String serviceRole) The GuardDuty service role.The detector status.status(DetectorStatus status) The detector status.The tags of the detector resource.The last-updated timestamp for the detector.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.guardduty.model.GuardDutyResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
createdAt
The timestamp of when the detector was created.
- Parameters:
createdAt- The timestamp of when the detector was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- See Also:
-
findingPublishingFrequency
GetDetectorResponse.Builder findingPublishingFrequency(FindingPublishingFrequency 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.
- See Also:
-
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 detector status.
- Parameters:
status- The detector status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The detector status.
- Parameters:
status- The detector status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
updatedAt
The last-updated timestamp for the detector.
- Parameters:
updatedAt- The last-updated timestamp for the detector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSources
Deprecated.This parameter is deprecated, use Features insteadDescribes which data sources are enabled for the detector.
- Parameters:
dataSources- Describes which data sources are enabled for the detector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSources
@Deprecated default GetDetectorResponse.Builder dataSources(Consumer<DataSourceConfigurationsResult.Builder> dataSources) Deprecated.This parameter is deprecated, use Features insteadDescribes which data sources are enabled for the detector.
This is a convenience method that creates an instance of theDataSourceConfigurationsResult.Builderavoiding the need to create one manually viaDataSourceConfigurationsResult.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todataSources(DataSourceConfigurationsResult).- Parameters:
dataSources- a consumer that will call methods onDataSourceConfigurationsResult.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
The tags of the detector resource.
- Parameters:
tags- The tags of the detector resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
features
Describes the features that have been enabled for the detector.
- Parameters:
features- Describes the features that have been enabled for the detector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
features
Describes the features that have been enabled for the detector.
- Parameters:
features- Describes the features that have been enabled for the detector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
features
GetDetectorResponse.Builder features(Consumer<DetectorFeatureConfigurationResult.Builder>... features) Describes the features that have been enabled for the detector.
This is a convenience method that creates an instance of theDetectorFeatureConfigurationResult.Builderavoiding the need to create one manually viaDetectorFeatureConfigurationResult.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofeatures(List<DetectorFeatureConfigurationResult>).- Parameters:
features- a consumer that will call methods onDetectorFeatureConfigurationResult.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-