Interface GenerateServiceLastAccessedDetailsRequest.Builder

    • Method Detail

      • arn

        GenerateServiceLastAccessedDetailsRequest.Builder arn​(String arn)

        The ARN of the IAM resource (user, group, role, or managed policy) used to generate information about when the resource was last used in an attempt to access an Amazon Web Services service.

        Parameters:
        arn - The ARN of the IAM resource (user, group, role, or managed policy) used to generate information about when the resource was last used in an attempt to access an Amazon Web Services service.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • granularity

        GenerateServiceLastAccessedDetailsRequest.Builder granularity​(String granularity)

        The level of detail that you want to generate. You can specify whether you want to generate information about the last attempt to access services or actions. If you specify service-level granularity, this operation generates only service data. If you specify action-level granularity, it generates service and action data. If you don't include this optional parameter, the operation generates service data.

        Parameters:
        granularity - The level of detail that you want to generate. You can specify whether you want to generate information about the last attempt to access services or actions. If you specify service-level granularity, this operation generates only service data. If you specify action-level granularity, it generates service and action data. If you don't include this optional parameter, the operation generates service data.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AccessAdvisorUsageGranularityType, AccessAdvisorUsageGranularityType
      • granularity

        GenerateServiceLastAccessedDetailsRequest.Builder granularity​(AccessAdvisorUsageGranularityType granularity)

        The level of detail that you want to generate. You can specify whether you want to generate information about the last attempt to access services or actions. If you specify service-level granularity, this operation generates only service data. If you specify action-level granularity, it generates service and action data. If you don't include this optional parameter, the operation generates service data.

        Parameters:
        granularity - The level of detail that you want to generate. You can specify whether you want to generate information about the last attempt to access services or actions. If you specify service-level granularity, this operation generates only service data. If you specify action-level granularity, it generates service and action data. If you don't include this optional parameter, the operation generates service data.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AccessAdvisorUsageGranularityType, AccessAdvisorUsageGranularityType