Class FindingDetails
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<FindingDetails.Builder,FindingDetails>
Contains information about an external access or unused access finding. Only one parameter can be used in a
FindingDetails object.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic enum -
Method Summary
Modifier and TypeMethodDescriptionstatic FindingDetails.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final ExternalAccessDetailsThe details for an external access analyzer finding.static FindingDetailsfromExternalAccessDetails(Consumer<ExternalAccessDetails.Builder> externalAccessDetails) Create an instance of this class withexternalAccessDetails()initialized to the given value.static FindingDetailsfromExternalAccessDetails(ExternalAccessDetails externalAccessDetails) Create an instance of this class withexternalAccessDetails()initialized to the given value.static FindingDetailsfromUnusedIamRoleDetails(Consumer<UnusedIamRoleDetails.Builder> unusedIamRoleDetails) Create an instance of this class withunusedIamRoleDetails()initialized to the given value.static FindingDetailsfromUnusedIamRoleDetails(UnusedIamRoleDetails unusedIamRoleDetails) Create an instance of this class withunusedIamRoleDetails()initialized to the given value.static FindingDetailsfromUnusedIamUserAccessKeyDetails(Consumer<UnusedIamUserAccessKeyDetails.Builder> unusedIamUserAccessKeyDetails) Create an instance of this class withunusedIamUserAccessKeyDetails()initialized to the given value.static FindingDetailsfromUnusedIamUserAccessKeyDetails(UnusedIamUserAccessKeyDetails unusedIamUserAccessKeyDetails) Create an instance of this class withunusedIamUserAccessKeyDetails()initialized to the given value.static FindingDetailsfromUnusedIamUserPasswordDetails(Consumer<UnusedIamUserPasswordDetails.Builder> unusedIamUserPasswordDetails) Create an instance of this class withunusedIamUserPasswordDetails()initialized to the given value.static FindingDetailsfromUnusedIamUserPasswordDetails(UnusedIamUserPasswordDetails unusedIamUserPasswordDetails) Create an instance of this class withunusedIamUserPasswordDetails()initialized to the given value.static FindingDetailsfromUnusedPermissionDetails(Consumer<UnusedPermissionDetails.Builder> unusedPermissionDetails) Create an instance of this class withunusedPermissionDetails()initialized to the given value.static FindingDetailsfromUnusedPermissionDetails(UnusedPermissionDetails unusedPermissionDetails) Create an instance of this class withunusedPermissionDetails()initialized to the given value.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()static Class<? extends FindingDetails.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.type()Retrieve an enum value representing which member of this object is populated.final UnusedIamRoleDetailsThe details for an unused access analyzer finding with an unused IAM role finding type.The details for an unused access analyzer finding with an unused IAM user access key finding type.The details for an unused access analyzer finding with an unused IAM user password finding type.final UnusedPermissionDetailsThe details for an unused access analyzer finding with an unused permission finding type.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
externalAccessDetails
The details for an external access analyzer finding.
- Returns:
- The details for an external access analyzer finding.
-
unusedPermissionDetails
The details for an unused access analyzer finding with an unused permission finding type.
- Returns:
- The details for an unused access analyzer finding with an unused permission finding type.
-
unusedIamUserAccessKeyDetails
The details for an unused access analyzer finding with an unused IAM user access key finding type.
- Returns:
- The details for an unused access analyzer finding with an unused IAM user access key finding type.
-
unusedIamRoleDetails
The details for an unused access analyzer finding with an unused IAM role finding type.
- Returns:
- The details for an unused access analyzer finding with an unused IAM role finding type.
-
unusedIamUserPasswordDetails
The details for an unused access analyzer finding with an unused IAM user password finding type.
- Returns:
- The details for an unused access analyzer finding with an unused IAM user password finding type.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<FindingDetails.Builder,FindingDetails> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
fromExternalAccessDetails
Create an instance of this class withexternalAccessDetails()initialized to the given value.The details for an external access analyzer finding.
- Parameters:
externalAccessDetails- The details for an external access analyzer finding.
-
fromExternalAccessDetails
public static FindingDetails fromExternalAccessDetails(Consumer<ExternalAccessDetails.Builder> externalAccessDetails) Create an instance of this class withexternalAccessDetails()initialized to the given value.The details for an external access analyzer finding.
- Parameters:
externalAccessDetails- The details for an external access analyzer finding.
-
fromUnusedPermissionDetails
public static FindingDetails fromUnusedPermissionDetails(UnusedPermissionDetails unusedPermissionDetails) Create an instance of this class withunusedPermissionDetails()initialized to the given value.The details for an unused access analyzer finding with an unused permission finding type.
- Parameters:
unusedPermissionDetails- The details for an unused access analyzer finding with an unused permission finding type.
-
fromUnusedPermissionDetails
public static FindingDetails fromUnusedPermissionDetails(Consumer<UnusedPermissionDetails.Builder> unusedPermissionDetails) Create an instance of this class withunusedPermissionDetails()initialized to the given value.The details for an unused access analyzer finding with an unused permission finding type.
- Parameters:
unusedPermissionDetails- The details for an unused access analyzer finding with an unused permission finding type.
-
fromUnusedIamUserAccessKeyDetails
public static FindingDetails fromUnusedIamUserAccessKeyDetails(UnusedIamUserAccessKeyDetails unusedIamUserAccessKeyDetails) Create an instance of this class withunusedIamUserAccessKeyDetails()initialized to the given value.The details for an unused access analyzer finding with an unused IAM user access key finding type.
- Parameters:
unusedIamUserAccessKeyDetails- The details for an unused access analyzer finding with an unused IAM user access key finding type.
-
fromUnusedIamUserAccessKeyDetails
public static FindingDetails fromUnusedIamUserAccessKeyDetails(Consumer<UnusedIamUserAccessKeyDetails.Builder> unusedIamUserAccessKeyDetails) Create an instance of this class withunusedIamUserAccessKeyDetails()initialized to the given value.The details for an unused access analyzer finding with an unused IAM user access key finding type.
- Parameters:
unusedIamUserAccessKeyDetails- The details for an unused access analyzer finding with an unused IAM user access key finding type.
-
fromUnusedIamRoleDetails
Create an instance of this class withunusedIamRoleDetails()initialized to the given value.The details for an unused access analyzer finding with an unused IAM role finding type.
- Parameters:
unusedIamRoleDetails- The details for an unused access analyzer finding with an unused IAM role finding type.
-
fromUnusedIamRoleDetails
public static FindingDetails fromUnusedIamRoleDetails(Consumer<UnusedIamRoleDetails.Builder> unusedIamRoleDetails) Create an instance of this class withunusedIamRoleDetails()initialized to the given value.The details for an unused access analyzer finding with an unused IAM role finding type.
- Parameters:
unusedIamRoleDetails- The details for an unused access analyzer finding with an unused IAM role finding type.
-
fromUnusedIamUserPasswordDetails
public static FindingDetails fromUnusedIamUserPasswordDetails(UnusedIamUserPasswordDetails unusedIamUserPasswordDetails) Create an instance of this class withunusedIamUserPasswordDetails()initialized to the given value.The details for an unused access analyzer finding with an unused IAM user password finding type.
- Parameters:
unusedIamUserPasswordDetails- The details for an unused access analyzer finding with an unused IAM user password finding type.
-
fromUnusedIamUserPasswordDetails
public static FindingDetails fromUnusedIamUserPasswordDetails(Consumer<UnusedIamUserPasswordDetails.Builder> unusedIamUserPasswordDetails) Create an instance of this class withunusedIamUserPasswordDetails()initialized to the given value.The details for an unused access analyzer finding with an unused IAM user password finding type.
- Parameters:
unusedIamUserPasswordDetails- The details for an unused access analyzer finding with an unused IAM user password finding type.
-
type
Retrieve an enum value representing which member of this object is populated. When this class is returned in a service response, this will beFindingDetails.Type.UNKNOWN_TO_SDK_VERSIONif the service returned a member that is only known to a newer SDK version. When this class is created directly in your code, this will beFindingDetails.Type.UNKNOWN_TO_SDK_VERSIONif zero members are set, andnullif more than one member is set. -
sdkFields
-