Class GetResourceProfileResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.macie2.model.Macie2Response
-
- software.amazon.awssdk.services.macie2.model.GetResourceProfileResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetResourceProfileResponse.Builder,GetResourceProfileResponse>
@Generated("software.amazon.awssdk:codegen") public final class GetResourceProfileResponse extends Macie2Response implements ToCopyableBuilder<GetResourceProfileResponse.Builder,GetResourceProfileResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetResourceProfileResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetResourceProfileResponse.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InstantprofileUpdatedAt()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.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()IntegersensitivityScore()The current sensitivity score for the bucket, ranging from -1 (classification error) to 100 (sensitive).BooleansensitivityScoreOverridden()Specifies whether the bucket's current sensitivity score was set manually.static Class<? extends GetResourceProfileResponse.Builder>serializableBuilderClass()ResourceStatisticsstatistics()The sensitive data discovery statistics for the bucket.GetResourceProfileResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.macie2.model.Macie2Response
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
profileUpdatedAt
public final 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.
- Returns:
- 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.
-
sensitivityScore
public final 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.
- Returns:
- 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.
-
sensitivityScoreOverridden
public final 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.
- Returns:
- 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.
-
statistics
public final ResourceStatistics 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:
- 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.
-
toBuilder
public GetResourceProfileResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetResourceProfileResponse.Builder,GetResourceProfileResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static GetResourceProfileResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetResourceProfileResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkResponse
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-