Interface AccessDetail.Builder

All Superinterfaces:
Buildable, CopyableBuilder<AccessDetail.Builder,AccessDetail>, SdkBuilder<AccessDetail.Builder,AccessDetail>, SdkPojo
Enclosing class:
AccessDetail

public static interface AccessDetail.Builder extends SdkPojo, CopyableBuilder<AccessDetail.Builder,AccessDetail>
  • Method Details

    • serviceName

      AccessDetail.Builder serviceName(String serviceName)

      The name of the service in which access was attempted.

      Parameters:
      serviceName - The name of the service in which access was attempted.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • serviceNamespace

      AccessDetail.Builder serviceNamespace(String serviceNamespace)

      The namespace of the service in which access was attempted.

      To learn the service namespace of a service, see Actions, resources, and condition keys for Amazon Web Services services in the Service Authorization Reference. Choose the name of the service to view details for that service. In the first paragraph, find the service prefix. For example, (service prefix: a4b). For more information about service namespaces, see Amazon Web Services service namespaces in the Amazon Web Services General Reference.

      Parameters:
      serviceNamespace - The namespace of the service in which access was attempted.

      To learn the service namespace of a service, see Actions, resources, and condition keys for Amazon Web Services services in the Service Authorization Reference. Choose the name of the service to view details for that service. In the first paragraph, find the service prefix. For example, (service prefix: a4b). For more information about service namespaces, see Amazon Web Services service namespaces in the Amazon Web Services General Reference.

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

      AccessDetail.Builder region(String region)

      The Region where the last service access attempt occurred.

      This field is null if no principals in the reported Organizations entity attempted to access the service within the tracking period.

      Parameters:
      region - The Region where the last service access attempt occurred.

      This field is null if no principals in the reported Organizations entity attempted to access the service within the tracking period.

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

      AccessDetail.Builder entityPath(String entityPath)

      The path of the Organizations entity (root, organizational unit, or account) from which an authenticated principal last attempted to access the service. Amazon Web Services does not report unauthenticated requests.

      This field is null if no principals (IAM users, IAM roles, or root user) in the reported Organizations entity attempted to access the service within the tracking period.

      Parameters:
      entityPath - The path of the Organizations entity (root, organizational unit, or account) from which an authenticated principal last attempted to access the service. Amazon Web Services does not report unauthenticated requests.

      This field is null if no principals (IAM users, IAM roles, or root user) in the reported Organizations entity attempted to access the service within the tracking period.

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

      AccessDetail.Builder lastAuthenticatedTime(Instant lastAuthenticatedTime)

      The date and time, in ISO 8601 date-time format, when an authenticated principal most recently attempted to access the service. Amazon Web Services does not report unauthenticated requests.

      This field is null if no principals in the reported Organizations entity attempted to access the service within the tracking period.

      Parameters:
      lastAuthenticatedTime - The date and time, in ISO 8601 date-time format, when an authenticated principal most recently attempted to access the service. Amazon Web Services does not report unauthenticated requests.

      This field is null if no principals in the reported Organizations entity attempted to access the service within the tracking period.

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

      AccessDetail.Builder totalAuthenticatedEntities(Integer totalAuthenticatedEntities)

      The number of accounts with authenticated principals (root user, IAM users, and IAM roles) that attempted to access the service in the tracking period.

      Parameters:
      totalAuthenticatedEntities - The number of accounts with authenticated principals (root user, IAM users, and IAM roles) that attempted to access the service in the tracking period.
      Returns:
      Returns a reference to this object so that method calls can be chained together.