Interface ListResourceProfileArtifactsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListResourceProfileArtifactsResponse.Builder,
,ListResourceProfileArtifactsResponse> Macie2Response.Builder
,SdkBuilder<ListResourceProfileArtifactsResponse.Builder,
,ListResourceProfileArtifactsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListResourceProfileArtifactsResponse
-
Method Summary
Modifier and TypeMethodDescriptionartifacts
(Collection<ResourceProfileArtifact> artifacts) An array of objects, one for each of 1-100 S3 objects that Amazon Macie selected for analysis.artifacts
(Consumer<ResourceProfileArtifact.Builder>... artifacts) An array of objects, one for each of 1-100 S3 objects that Amazon Macie selected for analysis.artifacts
(ResourceProfileArtifact... artifacts) An array of objects, one for each of 1-100 S3 objects that Amazon Macie selected for analysis.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 Details
-
artifacts
ListResourceProfileArtifactsResponse.Builder artifacts(Collection<ResourceProfileArtifact> artifacts) An array of objects, one for each of 1-100 S3 objects that Amazon Macie selected for analysis.
If Macie has analyzed more than 100 objects in the bucket, Macie populates the array based on the value for the ResourceProfileArtifact.sensitive field for an object: true (sensitive), followed by false (not sensitive). Macie then populates any remaining items in the array with information about objects where the value for the ResourceProfileArtifact.classificationResultStatus field is SKIPPED.
- Parameters:
artifacts
- An array of objects, one for each of 1-100 S3 objects that Amazon Macie selected for analysis.If Macie has analyzed more than 100 objects in the bucket, Macie populates the array based on the value for the ResourceProfileArtifact.sensitive field for an object: true (sensitive), followed by false (not sensitive). Macie then populates any remaining items in the array with information about objects where the value for the ResourceProfileArtifact.classificationResultStatus field is SKIPPED.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
artifacts
An array of objects, one for each of 1-100 S3 objects that Amazon Macie selected for analysis.
If Macie has analyzed more than 100 objects in the bucket, Macie populates the array based on the value for the ResourceProfileArtifact.sensitive field for an object: true (sensitive), followed by false (not sensitive). Macie then populates any remaining items in the array with information about objects where the value for the ResourceProfileArtifact.classificationResultStatus field is SKIPPED.
- Parameters:
artifacts
- An array of objects, one for each of 1-100 S3 objects that Amazon Macie selected for analysis.If Macie has analyzed more than 100 objects in the bucket, Macie populates the array based on the value for the ResourceProfileArtifact.sensitive field for an object: true (sensitive), followed by false (not sensitive). Macie then populates any remaining items in the array with information about objects where the value for the ResourceProfileArtifact.classificationResultStatus field is SKIPPED.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
artifacts
ListResourceProfileArtifactsResponse.Builder artifacts(Consumer<ResourceProfileArtifact.Builder>... artifacts) An array of objects, one for each of 1-100 S3 objects that Amazon Macie selected for analysis.
If Macie has analyzed more than 100 objects in the bucket, Macie populates the array based on the value for the ResourceProfileArtifact.sensitive field for an object: true (sensitive), followed by false (not sensitive). Macie then populates any remaining items in the array with information about objects where the value for the ResourceProfileArtifact.classificationResultStatus field is SKIPPED.
This is a convenience method that creates an instance of theResourceProfileArtifact.Builder
avoiding the need to create one manually viaResourceProfileArtifact.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toartifacts(List<ResourceProfileArtifact>)
.- Parameters:
artifacts
- a consumer that will call methods onResourceProfileArtifact.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-