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 interface
static enum
-
Method Summary
Modifier and TypeMethodDescriptionstatic FindingDetails.Builder
builder()
final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final ExternalAccessDetails
The details for an external access analyzer finding.static FindingDetails
fromExternalAccessDetails
(Consumer<ExternalAccessDetails.Builder> externalAccessDetails) Create an instance of this class withexternalAccessDetails()
initialized to the given value.static FindingDetails
fromExternalAccessDetails
(ExternalAccessDetails externalAccessDetails) Create an instance of this class withexternalAccessDetails()
initialized to the given value.static FindingDetails
fromInternalAccessDetails
(Consumer<InternalAccessDetails.Builder> internalAccessDetails) Create an instance of this class withinternalAccessDetails()
initialized to the given value.static FindingDetails
fromInternalAccessDetails
(InternalAccessDetails internalAccessDetails) Create an instance of this class withinternalAccessDetails()
initialized to the given value.static FindingDetails
fromUnusedIamRoleDetails
(Consumer<UnusedIamRoleDetails.Builder> unusedIamRoleDetails) Create an instance of this class withunusedIamRoleDetails()
initialized to the given value.static FindingDetails
fromUnusedIamRoleDetails
(UnusedIamRoleDetails unusedIamRoleDetails) Create an instance of this class withunusedIamRoleDetails()
initialized to the given value.static FindingDetails
fromUnusedIamUserAccessKeyDetails
(Consumer<UnusedIamUserAccessKeyDetails.Builder> unusedIamUserAccessKeyDetails) Create an instance of this class withunusedIamUserAccessKeyDetails()
initialized to the given value.static FindingDetails
fromUnusedIamUserAccessKeyDetails
(UnusedIamUserAccessKeyDetails unusedIamUserAccessKeyDetails) Create an instance of this class withunusedIamUserAccessKeyDetails()
initialized to the given value.static FindingDetails
fromUnusedIamUserPasswordDetails
(Consumer<UnusedIamUserPasswordDetails.Builder> unusedIamUserPasswordDetails) Create an instance of this class withunusedIamUserPasswordDetails()
initialized to the given value.static FindingDetails
fromUnusedIamUserPasswordDetails
(UnusedIamUserPasswordDetails unusedIamUserPasswordDetails) Create an instance of this class withunusedIamUserPasswordDetails()
initialized to the given value.static FindingDetails
fromUnusedPermissionDetails
(Consumer<UnusedPermissionDetails.Builder> unusedPermissionDetails) Create an instance of this class withunusedPermissionDetails()
initialized to the given value.static FindingDetails
fromUnusedPermissionDetails
(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 int
hashCode()
final InternalAccessDetails
The details for an internal access analyzer finding.static Class
<? extends FindingDetails.Builder> Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.type()
Retrieve an enum value representing which member of this object is populated.final UnusedIamRoleDetails
The 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 UnusedPermissionDetails
The 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
-
internalAccessDetails
The details for an internal access analyzer finding. This contains information about access patterns identified within your Amazon Web Services organization or account.
- Returns:
- The details for an internal access analyzer finding. This contains information about access patterns identified within your Amazon Web Services organization or account.
-
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:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<FindingDetails.Builder,
FindingDetails> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in 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
-
fromInternalAccessDetails
Create an instance of this class withinternalAccessDetails()
initialized to the given value.The details for an internal access analyzer finding. This contains information about access patterns identified within your Amazon Web Services organization or account.
- Parameters:
internalAccessDetails
- The details for an internal access analyzer finding. This contains information about access patterns identified within your Amazon Web Services organization or account.
-
fromInternalAccessDetails
public static FindingDetails fromInternalAccessDetails(Consumer<InternalAccessDetails.Builder> internalAccessDetails) Create an instance of this class withinternalAccessDetails()
initialized to the given value.The details for an internal access analyzer finding. This contains information about access patterns identified within your Amazon Web Services organization or account.
- Parameters:
internalAccessDetails
- The details for an internal access analyzer finding. This contains information about access patterns identified within your Amazon Web Services organization or account.
-
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_VERSION
if 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_VERSION
if zero members are set, andnull
if more than one member is set. -
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
- Returns:
- The mapping between the field name and its corresponding field.
-