Interface GetTrailStatusResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CloudTrailResponse.Builder, CopyableBuilder<GetTrailStatusResponse.Builder,GetTrailStatusResponse>, SdkBuilder<GetTrailStatusResponse.Builder,GetTrailStatusResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
GetTrailStatusResponse

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

    • isLogging

      Whether the CloudTrail trail is currently logging Amazon Web Services API calls.

      Parameters:
      isLogging - Whether the CloudTrail trail is currently logging Amazon Web Services API calls.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • latestDeliveryError

      GetTrailStatusResponse.Builder latestDeliveryError(String latestDeliveryError)

      Displays any Amazon S3 error that CloudTrail encountered when attempting to deliver log files to the designated bucket. For more information, see Error Responses in the Amazon S3 API Reference.

      This error occurs only when there is a problem with the destination S3 bucket, and does not occur for requests that time out. To resolve the issue, create a new bucket, and then call UpdateTrail to specify the new bucket; or fix the existing objects so that CloudTrail can again write to the bucket.

      Parameters:
      latestDeliveryError - Displays any Amazon S3 error that CloudTrail encountered when attempting to deliver log files to the designated bucket. For more information, see Error Responses in the Amazon S3 API Reference.

      This error occurs only when there is a problem with the destination S3 bucket, and does not occur for requests that time out. To resolve the issue, create a new bucket, and then call UpdateTrail to specify the new bucket; or fix the existing objects so that CloudTrail can again write to the bucket.

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

      GetTrailStatusResponse.Builder latestNotificationError(String latestNotificationError)

      Displays any Amazon SNS error that CloudTrail encountered when attempting to send a notification. For more information about Amazon SNS errors, see the Amazon SNS Developer Guide.

      Parameters:
      latestNotificationError - Displays any Amazon SNS error that CloudTrail encountered when attempting to send a notification. For more information about Amazon SNS errors, see the Amazon SNS Developer Guide.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • latestDeliveryTime

      GetTrailStatusResponse.Builder latestDeliveryTime(Instant latestDeliveryTime)

      Specifies the date and time that CloudTrail last delivered log files to an account's Amazon S3 bucket.

      Parameters:
      latestDeliveryTime - Specifies the date and time that CloudTrail last delivered log files to an account's Amazon S3 bucket.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • latestNotificationTime

      GetTrailStatusResponse.Builder latestNotificationTime(Instant latestNotificationTime)

      Specifies the date and time of the most recent Amazon SNS notification that CloudTrail has written a new log file to an account's Amazon S3 bucket.

      Parameters:
      latestNotificationTime - Specifies the date and time of the most recent Amazon SNS notification that CloudTrail has written a new log file to an account's Amazon S3 bucket.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • startLoggingTime

      GetTrailStatusResponse.Builder startLoggingTime(Instant startLoggingTime)

      Specifies the most recent date and time when CloudTrail started recording API calls for an Amazon Web Services account.

      Parameters:
      startLoggingTime - Specifies the most recent date and time when CloudTrail started recording API calls for an Amazon Web Services account.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • stopLoggingTime

      GetTrailStatusResponse.Builder stopLoggingTime(Instant stopLoggingTime)

      Specifies the most recent date and time when CloudTrail stopped recording API calls for an Amazon Web Services account.

      Parameters:
      stopLoggingTime - Specifies the most recent date and time when CloudTrail stopped recording API calls for an Amazon Web Services account.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • latestCloudWatchLogsDeliveryError

      GetTrailStatusResponse.Builder latestCloudWatchLogsDeliveryError(String latestCloudWatchLogsDeliveryError)

      Displays any CloudWatch Logs error that CloudTrail encountered when attempting to deliver logs to CloudWatch Logs.

      Parameters:
      latestCloudWatchLogsDeliveryError - Displays any CloudWatch Logs error that CloudTrail encountered when attempting to deliver logs to CloudWatch Logs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • latestCloudWatchLogsDeliveryTime

      GetTrailStatusResponse.Builder latestCloudWatchLogsDeliveryTime(Instant latestCloudWatchLogsDeliveryTime)

      Displays the most recent date and time when CloudTrail delivered logs to CloudWatch Logs.

      Parameters:
      latestCloudWatchLogsDeliveryTime - Displays the most recent date and time when CloudTrail delivered logs to CloudWatch Logs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • latestDigestDeliveryTime

      GetTrailStatusResponse.Builder latestDigestDeliveryTime(Instant latestDigestDeliveryTime)

      Specifies the date and time that CloudTrail last delivered a digest file to an account's Amazon S3 bucket.

      Parameters:
      latestDigestDeliveryTime - Specifies the date and time that CloudTrail last delivered a digest file to an account's Amazon S3 bucket.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • latestDigestDeliveryError

      GetTrailStatusResponse.Builder latestDigestDeliveryError(String latestDigestDeliveryError)

      Displays any Amazon S3 error that CloudTrail encountered when attempting to deliver a digest file to the designated bucket. For more information, see Error Responses in the Amazon S3 API Reference.

      This error occurs only when there is a problem with the destination S3 bucket, and does not occur for requests that time out. To resolve the issue, create a new bucket, and then call UpdateTrail to specify the new bucket; or fix the existing objects so that CloudTrail can again write to the bucket.

      Parameters:
      latestDigestDeliveryError - Displays any Amazon S3 error that CloudTrail encountered when attempting to deliver a digest file to the designated bucket. For more information, see Error Responses in the Amazon S3 API Reference.

      This error occurs only when there is a problem with the destination S3 bucket, and does not occur for requests that time out. To resolve the issue, create a new bucket, and then call UpdateTrail to specify the new bucket; or fix the existing objects so that CloudTrail can again write to the bucket.

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

      GetTrailStatusResponse.Builder latestDeliveryAttemptTime(String latestDeliveryAttemptTime)

      This field is no longer in use.

      Parameters:
      latestDeliveryAttemptTime - This field is no longer in use.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • latestNotificationAttemptTime

      GetTrailStatusResponse.Builder latestNotificationAttemptTime(String latestNotificationAttemptTime)

      This field is no longer in use.

      Parameters:
      latestNotificationAttemptTime - This field is no longer in use.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • latestNotificationAttemptSucceeded

      GetTrailStatusResponse.Builder latestNotificationAttemptSucceeded(String latestNotificationAttemptSucceeded)

      This field is no longer in use.

      Parameters:
      latestNotificationAttemptSucceeded - This field is no longer in use.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • latestDeliveryAttemptSucceeded

      GetTrailStatusResponse.Builder latestDeliveryAttemptSucceeded(String latestDeliveryAttemptSucceeded)

      This field is no longer in use.

      Parameters:
      latestDeliveryAttemptSucceeded - This field is no longer in use.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • timeLoggingStarted

      GetTrailStatusResponse.Builder timeLoggingStarted(String timeLoggingStarted)

      This field is no longer in use.

      Parameters:
      timeLoggingStarted - This field is no longer in use.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • timeLoggingStopped

      GetTrailStatusResponse.Builder timeLoggingStopped(String timeLoggingStopped)

      This field is no longer in use.

      Parameters:
      timeLoggingStopped - This field is no longer in use.
      Returns:
      Returns a reference to this object so that method calls can be chained together.