Class GetTrailStatusResult

    • Constructor Detail

      • GetTrailStatusResult

        public GetTrailStatusResult()
    • Method Detail

      • setIsLogging

        public void setIsLogging​(Boolean isLogging)

        Whether the CloudTrail is currently logging AWS API calls.

        Parameters:
        isLogging - Whether the CloudTrail is currently logging AWS API calls.
      • getIsLogging

        public Boolean getIsLogging()

        Whether the CloudTrail is currently logging AWS API calls.

        Returns:
        Whether the CloudTrail is currently logging AWS API calls.
      • withIsLogging

        public GetTrailStatusResult withIsLogging​(Boolean isLogging)

        Whether the CloudTrail is currently logging AWS API calls.

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

        public Boolean isLogging()

        Whether the CloudTrail is currently logging AWS API calls.

        Returns:
        Whether the CloudTrail is currently logging AWS API calls.
      • setLatestDeliveryError

        public void setLatestDeliveryError​(String latestDeliveryError)

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

        This error occurs only when there is a problem with the destination S3 bucket and will not occur for timeouts. To resolve the issue, create a new bucket and 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 the topic Error Responses in the Amazon S3 API Reference.

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

      • getLatestDeliveryError

        public String getLatestDeliveryError()

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

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

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

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

      • withLatestDeliveryError

        public GetTrailStatusResult withLatestDeliveryError​(String latestDeliveryError)

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

        This error occurs only when there is a problem with the destination S3 bucket and will not occur for timeouts. To resolve the issue, create a new bucket and 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 the topic Error Responses in the Amazon S3 API Reference.

        This error occurs only when there is a problem with the destination S3 bucket and will not occur for timeouts. To resolve the issue, create a new bucket and 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.
      • setLatestNotificationError

        public void setLatestNotificationError​(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.
      • getLatestNotificationError

        public String getLatestNotificationError()

        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:
        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.
      • withLatestNotificationError

        public GetTrailStatusResult withLatestNotificationError​(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.
      • setLatestDeliveryTime

        public void setLatestDeliveryTime​(Date 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.
      • getLatestDeliveryTime

        public Date getLatestDeliveryTime()

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

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

        public GetTrailStatusResult withLatestDeliveryTime​(Date 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.
      • setLatestNotificationTime

        public void setLatestNotificationTime​(Date 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.
      • getLatestNotificationTime

        public Date getLatestNotificationTime()

        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:
        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.
      • withLatestNotificationTime

        public GetTrailStatusResult withLatestNotificationTime​(Date 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.
      • setStartLoggingTime

        public void setStartLoggingTime​(Date startLoggingTime)

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

        Parameters:
        startLoggingTime - Specifies the most recent date and time when CloudTrail started recording API calls for an AWS account.
      • getStartLoggingTime

        public Date getStartLoggingTime()

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

        Returns:
        Specifies the most recent date and time when CloudTrail started recording API calls for an AWS account.
      • withStartLoggingTime

        public GetTrailStatusResult withStartLoggingTime​(Date startLoggingTime)

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

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

        public void setStopLoggingTime​(Date stopLoggingTime)

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

        Parameters:
        stopLoggingTime - Specifies the most recent date and time when CloudTrail stopped recording API calls for an AWS account.
      • getStopLoggingTime

        public Date getStopLoggingTime()

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

        Returns:
        Specifies the most recent date and time when CloudTrail stopped recording API calls for an AWS account.
      • withStopLoggingTime

        public GetTrailStatusResult withStopLoggingTime​(Date stopLoggingTime)

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

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

        public void setLatestCloudWatchLogsDeliveryError​(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.
      • getLatestCloudWatchLogsDeliveryError

        public String getLatestCloudWatchLogsDeliveryError()

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

        Returns:
        Displays any CloudWatch Logs error that CloudTrail encountered when attempting to deliver logs to CloudWatch Logs.
      • withLatestCloudWatchLogsDeliveryError

        public GetTrailStatusResult withLatestCloudWatchLogsDeliveryError​(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.
      • setLatestCloudWatchLogsDeliveryTime

        public void setLatestCloudWatchLogsDeliveryTime​(Date 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.
      • getLatestCloudWatchLogsDeliveryTime

        public Date getLatestCloudWatchLogsDeliveryTime()

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

        Returns:
        Displays the most recent date and time when CloudTrail delivered logs to CloudWatch Logs.
      • withLatestCloudWatchLogsDeliveryTime

        public GetTrailStatusResult withLatestCloudWatchLogsDeliveryTime​(Date 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.
      • setLatestDigestDeliveryTime

        public void setLatestDigestDeliveryTime​(Date 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.
      • getLatestDigestDeliveryTime

        public Date getLatestDigestDeliveryTime()

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

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

        public GetTrailStatusResult withLatestDigestDeliveryTime​(Date 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.
      • setLatestDigestDeliveryError

        public void setLatestDigestDeliveryError​(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 the topic Error Responses in the Amazon S3 API Reference.

        This error occurs only when there is a problem with the destination S3 bucket and will not occur for timeouts. To resolve the issue, create a new bucket and 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 the topic Error Responses in the Amazon S3 API Reference.

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

      • getLatestDigestDeliveryError

        public String getLatestDigestDeliveryError()

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

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

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

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

      • withLatestDigestDeliveryError

        public GetTrailStatusResult withLatestDigestDeliveryError​(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 the topic Error Responses in the Amazon S3 API Reference.

        This error occurs only when there is a problem with the destination S3 bucket and will not occur for timeouts. To resolve the issue, create a new bucket and 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 the topic Error Responses in the Amazon S3 API Reference.

        This error occurs only when there is a problem with the destination S3 bucket and will not occur for timeouts. To resolve the issue, create a new bucket and 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.
      • setLatestDeliveryAttemptTime

        public void setLatestDeliveryAttemptTime​(String latestDeliveryAttemptTime)

        This field is deprecated.

        Parameters:
        latestDeliveryAttemptTime - This field is deprecated.
      • getLatestDeliveryAttemptTime

        public String getLatestDeliveryAttemptTime()

        This field is deprecated.

        Returns:
        This field is deprecated.
      • withLatestDeliveryAttemptTime

        public GetTrailStatusResult withLatestDeliveryAttemptTime​(String latestDeliveryAttemptTime)

        This field is deprecated.

        Parameters:
        latestDeliveryAttemptTime - This field is deprecated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setLatestNotificationAttemptTime

        public void setLatestNotificationAttemptTime​(String latestNotificationAttemptTime)

        This field is deprecated.

        Parameters:
        latestNotificationAttemptTime - This field is deprecated.
      • getLatestNotificationAttemptTime

        public String getLatestNotificationAttemptTime()

        This field is deprecated.

        Returns:
        This field is deprecated.
      • withLatestNotificationAttemptTime

        public GetTrailStatusResult withLatestNotificationAttemptTime​(String latestNotificationAttemptTime)

        This field is deprecated.

        Parameters:
        latestNotificationAttemptTime - This field is deprecated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setLatestNotificationAttemptSucceeded

        public void setLatestNotificationAttemptSucceeded​(String latestNotificationAttemptSucceeded)

        This field is deprecated.

        Parameters:
        latestNotificationAttemptSucceeded - This field is deprecated.
      • getLatestNotificationAttemptSucceeded

        public String getLatestNotificationAttemptSucceeded()

        This field is deprecated.

        Returns:
        This field is deprecated.
      • withLatestNotificationAttemptSucceeded

        public GetTrailStatusResult withLatestNotificationAttemptSucceeded​(String latestNotificationAttemptSucceeded)

        This field is deprecated.

        Parameters:
        latestNotificationAttemptSucceeded - This field is deprecated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setLatestDeliveryAttemptSucceeded

        public void setLatestDeliveryAttemptSucceeded​(String latestDeliveryAttemptSucceeded)

        This field is deprecated.

        Parameters:
        latestDeliveryAttemptSucceeded - This field is deprecated.
      • getLatestDeliveryAttemptSucceeded

        public String getLatestDeliveryAttemptSucceeded()

        This field is deprecated.

        Returns:
        This field is deprecated.
      • withLatestDeliveryAttemptSucceeded

        public GetTrailStatusResult withLatestDeliveryAttemptSucceeded​(String latestDeliveryAttemptSucceeded)

        This field is deprecated.

        Parameters:
        latestDeliveryAttemptSucceeded - This field is deprecated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setTimeLoggingStarted

        public void setTimeLoggingStarted​(String timeLoggingStarted)

        This field is deprecated.

        Parameters:
        timeLoggingStarted - This field is deprecated.
      • getTimeLoggingStarted

        public String getTimeLoggingStarted()

        This field is deprecated.

        Returns:
        This field is deprecated.
      • withTimeLoggingStarted

        public GetTrailStatusResult withTimeLoggingStarted​(String timeLoggingStarted)

        This field is deprecated.

        Parameters:
        timeLoggingStarted - This field is deprecated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setTimeLoggingStopped

        public void setTimeLoggingStopped​(String timeLoggingStopped)

        This field is deprecated.

        Parameters:
        timeLoggingStopped - This field is deprecated.
      • getTimeLoggingStopped

        public String getTimeLoggingStopped()

        This field is deprecated.

        Returns:
        This field is deprecated.
      • withTimeLoggingStopped

        public GetTrailStatusResult withTimeLoggingStopped​(String timeLoggingStopped)

        This field is deprecated.

        Parameters:
        timeLoggingStopped - This field is deprecated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object