Interface AwsIamAccessKeyDetails.Builder

    • Method Detail

      • userName

        @Deprecated
        AwsIamAccessKeyDetails.Builder userName​(String userName)
        Deprecated.
        This filter is deprecated. Instead, use PrincipalName.

        The user associated with the IAM access key related to a finding.

        The UserName parameter has been replaced with the PrincipalName parameter because access keys can also be assigned to principals that are not IAM users.

        Parameters:
        userName - The user associated with the IAM access key related to a finding.

        The UserName parameter has been replaced with the PrincipalName parameter because access keys can also be assigned to principals that are not IAM users.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • createdAt

        AwsIamAccessKeyDetails.Builder createdAt​(String createdAt)

        Indicates when the IAM access key was created.

        For more information about the validation and formatting of timestamp fields in Security Hub, see Timestamps.

        Parameters:
        createdAt - Indicates when the IAM access key was created.

        For more information about the validation and formatting of timestamp fields in Security Hub, see Timestamps.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • principalId

        AwsIamAccessKeyDetails.Builder principalId​(String principalId)

        The ID of the principal associated with an access key.

        Parameters:
        principalId - The ID of the principal associated with an access key.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • principalType

        AwsIamAccessKeyDetails.Builder principalType​(String principalType)

        The type of principal associated with an access key.

        Parameters:
        principalType - The type of principal associated with an access key.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • principalName

        AwsIamAccessKeyDetails.Builder principalName​(String principalName)

        The name of the principal.

        Parameters:
        principalName - The name of the principal.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • accountId

        AwsIamAccessKeyDetails.Builder accountId​(String accountId)

        The Amazon Web Services account ID of the account for the key.

        Parameters:
        accountId - The Amazon Web Services account ID of the account for the key.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • accessKeyId

        AwsIamAccessKeyDetails.Builder accessKeyId​(String accessKeyId)

        The identifier of the access key.

        Parameters:
        accessKeyId - The identifier of the access key.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sessionContext

        AwsIamAccessKeyDetails.Builder sessionContext​(AwsIamAccessKeySessionContext sessionContext)

        Information about the session that the key was used for.

        Parameters:
        sessionContext - Information about the session that the key was used for.
        Returns:
        Returns a reference to this object so that method calls can be chained together.