Class GetTrailStatusResult
- All Implemented Interfaces:
Serializable
,Cloneable
Returns the objects or data listed below if successful. Otherwise, returns an error.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
Whether the CloudTrail is currently logging AWS API calls.Displays any CloudWatch Logs error that CloudTrail encountered when attempting to deliver logs to CloudWatch Logs.Displays the most recent date and time when CloudTrail delivered logs to CloudWatch Logs.This field is deprecated.This field is deprecated.Displays any Amazon S3 error that CloudTrail encountered when attempting to deliver log files to the designated bucket.Specifies the date and time that CloudTrail last delivered log files to an account's Amazon S3 bucket.Displays any Amazon S3 error that CloudTrail encountered when attempting to deliver a digest file to the designated bucket.Specifies the date and time that CloudTrail last delivered a digest file to an account's Amazon S3 bucket.This field is deprecated.This field is deprecated.Displays any Amazon SNS error that CloudTrail encountered when attempting to send a notification.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.Specifies the most recent date and time when CloudTrail started recording API calls for an AWS account.Specifies the most recent date and time when CloudTrail stopped recording API calls for an AWS account.This field is deprecated.This field is deprecated.int
hashCode()
Whether the CloudTrail is currently logging AWS API calls.void
setIsLogging
(Boolean isLogging) Whether the CloudTrail is currently logging AWS API calls.void
setLatestCloudWatchLogsDeliveryError
(String latestCloudWatchLogsDeliveryError) Displays any CloudWatch Logs error that CloudTrail encountered when attempting to deliver logs to CloudWatch Logs.void
setLatestCloudWatchLogsDeliveryTime
(Date latestCloudWatchLogsDeliveryTime) Displays the most recent date and time when CloudTrail delivered logs to CloudWatch Logs.void
setLatestDeliveryAttemptSucceeded
(String latestDeliveryAttemptSucceeded) This field is deprecated.void
setLatestDeliveryAttemptTime
(String latestDeliveryAttemptTime) This field is deprecated.void
setLatestDeliveryError
(String latestDeliveryError) Displays any Amazon S3 error that CloudTrail encountered when attempting to deliver log files to the designated bucket.void
setLatestDeliveryTime
(Date latestDeliveryTime) Specifies the date and time that CloudTrail last delivered log files to an account's Amazon S3 bucket.void
setLatestDigestDeliveryError
(String latestDigestDeliveryError) Displays any Amazon S3 error that CloudTrail encountered when attempting to deliver a digest file to the designated bucket.void
setLatestDigestDeliveryTime
(Date latestDigestDeliveryTime) Specifies the date and time that CloudTrail last delivered a digest file to an account's Amazon S3 bucket.void
setLatestNotificationAttemptSucceeded
(String latestNotificationAttemptSucceeded) This field is deprecated.void
setLatestNotificationAttemptTime
(String latestNotificationAttemptTime) This field is deprecated.void
setLatestNotificationError
(String latestNotificationError) Displays any Amazon SNS error that CloudTrail encountered when attempting to send a notification.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.void
setStartLoggingTime
(Date startLoggingTime) Specifies the most recent date and time when CloudTrail started recording API calls for an AWS account.void
setStopLoggingTime
(Date stopLoggingTime) Specifies the most recent date and time when CloudTrail stopped recording API calls for an AWS account.void
setTimeLoggingStarted
(String timeLoggingStarted) This field is deprecated.void
setTimeLoggingStopped
(String timeLoggingStopped) This field is deprecated.toString()
Returns a string representation of this object; useful for testing and debugging.withIsLogging
(Boolean isLogging) Whether the CloudTrail is currently logging AWS API calls.withLatestCloudWatchLogsDeliveryError
(String latestCloudWatchLogsDeliveryError) Displays any CloudWatch Logs error that CloudTrail encountered when attempting to deliver logs to CloudWatch Logs.withLatestCloudWatchLogsDeliveryTime
(Date latestCloudWatchLogsDeliveryTime) Displays the most recent date and time when CloudTrail delivered logs to CloudWatch Logs.withLatestDeliveryAttemptSucceeded
(String latestDeliveryAttemptSucceeded) This field is deprecated.withLatestDeliveryAttemptTime
(String latestDeliveryAttemptTime) This field is deprecated.withLatestDeliveryError
(String latestDeliveryError) Displays any Amazon S3 error that CloudTrail encountered when attempting to deliver log files to the designated bucket.withLatestDeliveryTime
(Date latestDeliveryTime) Specifies the date and time that CloudTrail last delivered log files to an account's Amazon S3 bucket.withLatestDigestDeliveryError
(String latestDigestDeliveryError) Displays any Amazon S3 error that CloudTrail encountered when attempting to deliver a digest file to the designated bucket.withLatestDigestDeliveryTime
(Date latestDigestDeliveryTime) Specifies the date and time that CloudTrail last delivered a digest file to an account's Amazon S3 bucket.withLatestNotificationAttemptSucceeded
(String latestNotificationAttemptSucceeded) This field is deprecated.withLatestNotificationAttemptTime
(String latestNotificationAttemptTime) This field is deprecated.withLatestNotificationError
(String latestNotificationError) Displays any Amazon SNS error that CloudTrail encountered when attempting to send a notification.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.withStartLoggingTime
(Date startLoggingTime) Specifies the most recent date and time when CloudTrail started recording API calls for an AWS account.withStopLoggingTime
(Date stopLoggingTime) Specifies the most recent date and time when CloudTrail stopped recording API calls for an AWS account.withTimeLoggingStarted
(String timeLoggingStarted) This field is deprecated.withTimeLoggingStopped
(String timeLoggingStopped) This field is deprecated.
-
Constructor Details
-
GetTrailStatusResult
public GetTrailStatusResult()
-
-
Method Details
-
setIsLogging
Whether the CloudTrail is currently logging AWS API calls.
- Parameters:
isLogging
- Whether the CloudTrail is currently logging AWS API calls.
-
getIsLogging
Whether the CloudTrail is currently logging AWS API calls.
- Returns:
- Whether the CloudTrail is currently logging AWS API calls.
-
withIsLogging
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
Whether the CloudTrail is currently logging AWS API calls.
- Returns:
- Whether the CloudTrail is currently logging AWS API calls.
-
setLatestDeliveryError
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
This field is deprecated.
- Parameters:
latestDeliveryAttemptTime
- This field is deprecated.
-
getLatestDeliveryAttemptTime
This field is deprecated.
- Returns:
- This field is deprecated.
-
withLatestDeliveryAttemptTime
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
This field is deprecated.
- Parameters:
latestNotificationAttemptTime
- This field is deprecated.
-
getLatestNotificationAttemptTime
This field is deprecated.
- Returns:
- This field is deprecated.
-
withLatestNotificationAttemptTime
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
This field is deprecated.
- Parameters:
latestNotificationAttemptSucceeded
- This field is deprecated.
-
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
This field is deprecated.
- Parameters:
latestDeliveryAttemptSucceeded
- This field is deprecated.
-
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
This field is deprecated.
- Parameters:
timeLoggingStarted
- This field is deprecated.
-
getTimeLoggingStarted
This field is deprecated.
- Returns:
- This field is deprecated.
-
withTimeLoggingStarted
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
This field is deprecated.
- Parameters:
timeLoggingStopped
- This field is deprecated.
-
getTimeLoggingStopped
This field is deprecated.
- Returns:
- This field is deprecated.
-
withTimeLoggingStopped
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-