Interface GetResourceProfileResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetResourceProfileResponse.Builder,
,GetResourceProfileResponse> Macie2Response.Builder
,SdkBuilder<GetResourceProfileResponse.Builder,
,GetResourceProfileResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetResourceProfileResponse
-
Method Summary
Modifier and TypeMethodDescriptionprofileUpdatedAt
(Instant profileUpdatedAt) The date and time, in UTC and extended ISO 8601 format, when Amazon Macie most recently recalculated sensitive data discovery statistics and details for the bucket.sensitivityScore
(Integer sensitivityScore) The current sensitivity score for the bucket, ranging from -1 (classification error) to 100 (sensitive).sensitivityScoreOverridden
(Boolean sensitivityScoreOverridden) Specifies whether the bucket's current sensitivity score was set manually.statistics
(Consumer<ResourceStatistics.Builder> statistics) The sensitive data discovery statistics for the bucket.statistics
(ResourceStatistics statistics) The sensitive data discovery statistics for the bucket.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
-
profileUpdatedAt
The date and time, in UTC and extended ISO 8601 format, when Amazon Macie most recently recalculated sensitive data discovery statistics and details for the bucket. If the bucket's sensitivity score is calculated automatically, this includes the score.
- Parameters:
profileUpdatedAt
- The date and time, in UTC and extended ISO 8601 format, when Amazon Macie most recently recalculated sensitive data discovery statistics and details for the bucket. If the bucket's sensitivity score is calculated automatically, this includes the score.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sensitivityScore
The current sensitivity score for the bucket, ranging from -1 (classification error) to 100 (sensitive). By default, this score is calculated automatically based on the amount of data that Amazon Macie has analyzed in the bucket and the amount of sensitive data that Macie has found in the bucket.
- Parameters:
sensitivityScore
- The current sensitivity score for the bucket, ranging from -1 (classification error) to 100 (sensitive). By default, this score is calculated automatically based on the amount of data that Amazon Macie has analyzed in the bucket and the amount of sensitive data that Macie has found in the bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sensitivityScoreOverridden
Specifies whether the bucket's current sensitivity score was set manually. If this value is true, the score was manually changed to 100. If this value is false, the score was calculated automatically by Amazon Macie.
- Parameters:
sensitivityScoreOverridden
- Specifies whether the bucket's current sensitivity score was set manually. If this value is true, the score was manually changed to 100. If this value is false, the score was calculated automatically by Amazon Macie.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statistics
The sensitive data discovery statistics for the bucket. The statistics capture the results of automated sensitive data discovery activities that Amazon Macie has performed for the bucket.
- Parameters:
statistics
- The sensitive data discovery statistics for the bucket. The statistics capture the results of automated sensitive data discovery activities that Amazon Macie has performed for the bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statistics
default GetResourceProfileResponse.Builder statistics(Consumer<ResourceStatistics.Builder> statistics) The sensitive data discovery statistics for the bucket. The statistics capture the results of automated sensitive data discovery activities that Amazon Macie has performed for the bucket.
This is a convenience method that creates an instance of theResourceStatistics.Builder
avoiding the need to create one manually viaResourceStatistics.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostatistics(ResourceStatistics)
.- Parameters:
statistics
- a consumer that will call methods onResourceStatistics.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-