Interface ListResourceProfileDetectionsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListResourceProfileDetectionsResponse.Builder,ListResourceProfileDetectionsResponse>,Macie2Response.Builder,SdkBuilder<ListResourceProfileDetectionsResponse.Builder,ListResourceProfileDetectionsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListResourceProfileDetectionsResponse
public static interface ListResourceProfileDetectionsResponse.Builder extends Macie2Response.Builder, SdkPojo, CopyableBuilder<ListResourceProfileDetectionsResponse.Builder,ListResourceProfileDetectionsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListResourceProfileDetectionsResponse.Builderdetections(Collection<Detection> detections)An array of objects, one for each type of sensitive data that Amazon Macie found in the bucket.ListResourceProfileDetectionsResponse.Builderdetections(Consumer<Detection.Builder>... detections)An array of objects, one for each type of sensitive data that Amazon Macie found in the bucket.ListResourceProfileDetectionsResponse.Builderdetections(Detection... detections)An array of objects, one for each type of sensitive data that Amazon Macie found in the bucket.ListResourceProfileDetectionsResponse.BuildernextToken(String nextToken)The string to use in a subsequent request to get the next page of results in a paginated response.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.macie2.model.Macie2Response.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
-
detections
ListResourceProfileDetectionsResponse.Builder detections(Collection<Detection> detections)
An array of objects, one for each type of sensitive data that Amazon Macie found in the bucket. Each object reports the number of occurrences of the specified type and provides information about the custom data identifier or managed data identifier that detected the data.
- Parameters:
detections- An array of objects, one for each type of sensitive data that Amazon Macie found in the bucket. Each object reports the number of occurrences of the specified type and provides information about the custom data identifier or managed data identifier that detected the data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
detections
ListResourceProfileDetectionsResponse.Builder detections(Detection... detections)
An array of objects, one for each type of sensitive data that Amazon Macie found in the bucket. Each object reports the number of occurrences of the specified type and provides information about the custom data identifier or managed data identifier that detected the data.
- Parameters:
detections- An array of objects, one for each type of sensitive data that Amazon Macie found in the bucket. Each object reports the number of occurrences of the specified type and provides information about the custom data identifier or managed data identifier that detected the data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
detections
ListResourceProfileDetectionsResponse.Builder detections(Consumer<Detection.Builder>... detections)
An array of objects, one for each type of sensitive data that Amazon Macie found in the bucket. Each object reports the number of occurrences of the specified type and provides information about the custom data identifier or managed data identifier that detected the data.
This is a convenience method that creates an instance of theDetection.Builderavoiding the need to create one manually viaDetection.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#detections(List.) - Parameters:
detections- a consumer that will call methods onDetection.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#detections(java.util.Collection)
-
nextToken
ListResourceProfileDetectionsResponse.Builder nextToken(String nextToken)
The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.
- Parameters:
nextToken- The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-