Interface GetResourceProfileResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<GetResourceProfileResponse.Builder,GetResourceProfileResponse>, Macie2Response.Builder, SdkBuilder<GetResourceProfileResponse.Builder,GetResourceProfileResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
GetResourceProfileResponse

public static interface GetResourceProfileResponse.Builder extends Macie2Response.Builder, SdkPojo, CopyableBuilder<GetResourceProfileResponse.Builder,GetResourceProfileResponse>
  • Method Details

    • profileUpdatedAt

      GetResourceProfileResponse.Builder profileUpdatedAt(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. 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

      GetResourceProfileResponse.Builder sensitivityScore(Integer 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

      GetResourceProfileResponse.Builder sensitivityScoreOverridden(Boolean 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

      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 the ResourceStatistics.Builder avoiding the need to create one manually via ResourceStatistics.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to statistics(ResourceStatistics).

      Parameters:
      statistics - a consumer that will call methods on ResourceStatistics.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: