Interface GeneratedPolicyProperties.Builder

    • Method Detail

      • isComplete

        GeneratedPolicyProperties.Builder isComplete​(Boolean isComplete)

        This value is set to true if the generated policy contains all possible actions for a service that IAM Access Analyzer identified from the CloudTrail trail that you specified, and false otherwise.

        Parameters:
        isComplete - This value is set to true if the generated policy contains all possible actions for a service that IAM Access Analyzer identified from the CloudTrail trail that you specified, and false otherwise.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • principalArn

        GeneratedPolicyProperties.Builder principalArn​(String principalArn)

        The ARN of the IAM entity (user or role) for which you are generating a policy.

        Parameters:
        principalArn - The ARN of the IAM entity (user or role) for which you are generating a policy.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • cloudTrailProperties

        GeneratedPolicyProperties.Builder cloudTrailProperties​(CloudTrailProperties cloudTrailProperties)

        Lists details about the Trail used to generated policy.

        Parameters:
        cloudTrailProperties - Lists details about the Trail used to generated policy.
        Returns:
        Returns a reference to this object so that method calls can be chained together.