Interface CreateDetectorResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateDetectorResponse.Builder,CreateDetectorResponse>,GuardDutyResponse.Builder,SdkBuilder<CreateDetectorResponse.Builder,CreateDetectorResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreateDetectorResponse
public static interface CreateDetectorResponse.Builder extends GuardDutyResponse.Builder, SdkPojo, CopyableBuilder<CreateDetectorResponse.Builder,CreateDetectorResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateDetectorResponse.BuilderdetectorId(String detectorId)The unique ID of the created detector.default CreateDetectorResponse.BuilderunprocessedDataSources(Consumer<UnprocessedDataSourcesResult.Builder> unprocessedDataSources)Specifies the data sources that couldn't be enabled when GuardDuty was enabled for the first time.CreateDetectorResponse.BuilderunprocessedDataSources(UnprocessedDataSourcesResult unprocessedDataSources)Specifies the data sources that couldn't be enabled when GuardDuty was enabled for the first time.-
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
-
detectorId
CreateDetectorResponse.Builder detectorId(String detectorId)
The unique ID of the created detector.
- Parameters:
detectorId- The unique ID of the created detector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
unprocessedDataSources
CreateDetectorResponse.Builder unprocessedDataSources(UnprocessedDataSourcesResult unprocessedDataSources)
Specifies the data sources that couldn't be enabled when GuardDuty was enabled for the first time.
- Parameters:
unprocessedDataSources- Specifies the data sources that couldn't be enabled when GuardDuty was enabled for the first time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
unprocessedDataSources
default CreateDetectorResponse.Builder unprocessedDataSources(Consumer<UnprocessedDataSourcesResult.Builder> unprocessedDataSources)
Specifies the data sources that couldn't be enabled when GuardDuty was enabled for the first time.
This is a convenience method that creates an instance of theUnprocessedDataSourcesResult.Builderavoiding the need to create one manually viaUnprocessedDataSourcesResult.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tounprocessedDataSources(UnprocessedDataSourcesResult).- Parameters:
unprocessedDataSources- a consumer that will call methods onUnprocessedDataSourcesResult.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
unprocessedDataSources(UnprocessedDataSourcesResult)
-
-