Interface GetDetectorResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetDetectorResponse.Builder,GetDetectorResponse>,GuardDutyResponse.Builder,SdkBuilder<GetDetectorResponse.Builder,GetDetectorResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetDetectorResponse
public static interface GetDetectorResponse.Builder extends GuardDutyResponse.Builder, SdkPojo, CopyableBuilder<GetDetectorResponse.Builder,GetDetectorResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description GetDetectorResponse.BuildercreatedAt(String createdAt)The timestamp of when the detector was created.default GetDetectorResponse.BuilderdataSources(Consumer<DataSourceConfigurationsResult.Builder> dataSources)Deprecated.This parameter is deprecated, use Features insteadGetDetectorResponse.BuilderdataSources(DataSourceConfigurationsResult dataSources)Deprecated.This parameter is deprecated, use Features insteadGetDetectorResponse.Builderfeatures(Collection<DetectorFeatureConfigurationResult> features)Describes the features that have been enabled for the detector.GetDetectorResponse.Builderfeatures(Consumer<DetectorFeatureConfigurationResult.Builder>... features)Describes the features that have been enabled for the detector.GetDetectorResponse.Builderfeatures(DetectorFeatureConfigurationResult... features)Describes the features that have been enabled for the detector.GetDetectorResponse.BuilderfindingPublishingFrequency(String findingPublishingFrequency)The publishing frequency of the finding.GetDetectorResponse.BuilderfindingPublishingFrequency(FindingPublishingFrequency findingPublishingFrequency)The publishing frequency of the finding.GetDetectorResponse.BuilderserviceRole(String serviceRole)The GuardDuty service role.GetDetectorResponse.Builderstatus(String status)The detector status.GetDetectorResponse.Builderstatus(DetectorStatus status)The detector status.GetDetectorResponse.Buildertags(Map<String,String> tags)The tags of the detector resource.GetDetectorResponse.BuilderupdatedAt(String updatedAt)The last-updated timestamp for the detector.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.guardduty.model.GuardDutyResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
createdAt
GetDetectorResponse.Builder createdAt(String 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
GetDetectorResponse.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.
- See Also:
FindingPublishingFrequency,FindingPublishingFrequency
-
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:
FindingPublishingFrequency,FindingPublishingFrequency
-
serviceRole
GetDetectorResponse.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
GetDetectorResponse.Builder status(String 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:
DetectorStatus,DetectorStatus
-
status
GetDetectorResponse.Builder status(DetectorStatus 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:
DetectorStatus,DetectorStatus
-
updatedAt
GetDetectorResponse.Builder updatedAt(String 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 GetDetectorResponse.Builder dataSources(DataSourceConfigurationsResult 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:
dataSources(DataSourceConfigurationsResult)
-
tags
GetDetectorResponse.Builder tags(Map<String,String> 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
GetDetectorResponse.Builder features(Collection<DetectorFeatureConfigurationResult> 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(DetectorFeatureConfigurationResult... 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 to#features(List.) - 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:
#features(java.util.Collection)
-
-