Interface ListResourceProfileArtifactsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListResourceProfileArtifactsResponse.Builder,ListResourceProfileArtifactsResponse>,Macie2Response.Builder,SdkBuilder<ListResourceProfileArtifactsResponse.Builder,ListResourceProfileArtifactsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListResourceProfileArtifactsResponse
public static interface ListResourceProfileArtifactsResponse.Builder extends Macie2Response.Builder, SdkPojo, CopyableBuilder<ListResourceProfileArtifactsResponse.Builder,ListResourceProfileArtifactsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListResourceProfileArtifactsResponse.Builderartifacts(Collection<ResourceProfileArtifact> artifacts)An array of objects, one for each of 1-100 S3 objects that Amazon Macie selected for analysis.ListResourceProfileArtifactsResponse.Builderartifacts(Consumer<ResourceProfileArtifact.Builder>... artifacts)An array of objects, one for each of 1-100 S3 objects that Amazon Macie selected for analysis.ListResourceProfileArtifactsResponse.Builderartifacts(ResourceProfileArtifact... artifacts)An array of objects, one for each of 1-100 S3 objects that Amazon Macie selected for analysis.ListResourceProfileArtifactsResponse.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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
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
ListResourceProfileArtifactsResponse.Builder artifacts(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
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.Builderavoiding the need to create one manually viaResourceProfileArtifact.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#artifacts(List.) - 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:
#artifacts(java.util.Collection)
-
nextToken
ListResourceProfileArtifactsResponse.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.
-
-