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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetDetectorsResponse.Builderdetectors(Collection<Detector> detectors)The detectors.GetDetectorsResponse.Builderdetectors(Consumer<Detector.Builder>... detectors)The detectors.GetDetectorsResponse.Builderdetectors(Detector... detectors)The detectors.GetDetectorsResponse.BuildernextToken(String nextToken)The next page token.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.frauddetector.model.FraudDetectorResponse.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
-
detectors
GetDetectorsResponse.Builder detectors(Collection<Detector> detectors)
The detectors.
- Parameters:
detectors- The detectors.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
detectors
GetDetectorsResponse.Builder detectors(Detector... detectors)
The detectors.
- Parameters:
detectors- The detectors.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
detectors
GetDetectorsResponse.Builder detectors(Consumer<Detector.Builder>... 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 to#detectors(List.) - 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:
#detectors(java.util.Collection)
-
nextToken
GetDetectorsResponse.Builder nextToken(String 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.
-
-