Interface CloudTrailProperties.Builder

    • Method Detail

      • trailProperties

        CloudTrailProperties.Builder trailProperties​(Collection<TrailProperties> trailProperties)

        A TrailProperties object that contains settings for trail properties.

        Parameters:
        trailProperties - A TrailProperties object that contains settings for trail properties.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • trailProperties

        CloudTrailProperties.Builder trailProperties​(TrailProperties... trailProperties)

        A TrailProperties object that contains settings for trail properties.

        Parameters:
        trailProperties - A TrailProperties object that contains settings for trail properties.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • startTime

        CloudTrailProperties.Builder startTime​(Instant startTime)

        The start of the time range for which IAM Access Analyzer reviews your CloudTrail events. Events with a timestamp before this time are not considered to generate a policy.

        Parameters:
        startTime - The start of the time range for which IAM Access Analyzer reviews your CloudTrail events. Events with a timestamp before this time are not considered to generate a policy.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • endTime

        CloudTrailProperties.Builder endTime​(Instant endTime)

        The end of the time range for which IAM Access Analyzer reviews your CloudTrail events. Events with a timestamp after this time are not considered to generate a policy. If this is not included in the request, the default value is the current time.

        Parameters:
        endTime - The end of the time range for which IAM Access Analyzer reviews your CloudTrail events. Events with a timestamp after this time are not considered to generate a policy. If this is not included in the request, the default value is the current time.
        Returns:
        Returns a reference to this object so that method calls can be chained together.