Interface GetDetectorsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetDetectorsResponse.Builder,,GetDetectorsResponse> FraudDetectorResponse.Builder,SdkBuilder<GetDetectorsResponse.Builder,,GetDetectorsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetDetectorsResponse
public static interface GetDetectorsResponse.Builder
extends FraudDetectorResponse.Builder, SdkPojo, CopyableBuilder<GetDetectorsResponse.Builder,GetDetectorsResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondetectors(Collection<Detector> detectors) The detectors.detectors(Consumer<Detector.Builder>... detectors) The detectors.The detectors.The next page token.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.frauddetector.model.FraudDetectorResponse.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
-
detectors
The detectors.
- Parameters:
detectors- The detectors.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
detectors
The detectors.
- Parameters:
detectors- The detectors.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
detectors
The detectors.
This is a convenience method that creates an instance of theDetector.Builderavoiding the need to create one manually viaDetector.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todetectors(List<Detector>).- Parameters:
detectors- a consumer that will call methods onDetector.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The next page token.
- Parameters:
nextToken- The next page token.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-