public class GetTrailStatusResult extends Object implements Serializable, Cloneable
Returns the objects or data listed below if successful. Otherwise, returns an error.
| Constructor and Description |
|---|
GetTrailStatusResult() |
| Modifier and Type | Method and Description |
|---|---|
GetTrailStatusResult |
clone() |
boolean |
equals(Object obj) |
Boolean |
getIsLogging()
Whether the CloudTrail is currently logging AWS API calls.
|
String |
getLatestCloudWatchLogsDeliveryError()
Displays any CloudWatch Logs error that CloudTrail encountered when
attempting to deliver logs to CloudWatch Logs.
|
Date |
getLatestCloudWatchLogsDeliveryTime()
Displays the most recent date and time when CloudTrail delivered logs
to CloudWatch Logs.
|
String |
getLatestDeliveryAttemptSucceeded()
This field is deprecated.
|
String |
getLatestDeliveryAttemptTime()
This field is deprecated.
|
String |
getLatestDeliveryError()
Displays any Amazon S3 error that CloudTrail encountered when
attempting to deliver log files to the designated bucket.
|
Date |
getLatestDeliveryTime()
Specifies the date and time that CloudTrail last delivered log files
to an account's Amazon S3 bucket.
|
String |
getLatestDigestDeliveryError()
Displays any Amazon S3 error that CloudTrail encountered when
attempting to deliver a digest file to the designated bucket.
|
Date |
getLatestDigestDeliveryTime()
Specifies the date and time that CloudTrail last delivered a digest
file to an account's Amazon S3 bucket.
|
String |
getLatestNotificationAttemptSucceeded()
This field is deprecated.
|
String |
getLatestNotificationAttemptTime()
This field is deprecated.
|
String |
getLatestNotificationError()
Displays any Amazon SNS error that CloudTrail encountered when
attempting to send a notification.
|
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.
|
Date |
getStartLoggingTime()
Specifies the most recent date and time when CloudTrail started
recording API calls for an AWS account.
|
Date |
getStopLoggingTime()
Specifies the most recent date and time when CloudTrail stopped
recording API calls for an AWS account.
|
String |
getTimeLoggingStarted()
This field is deprecated.
|
String |
getTimeLoggingStopped()
This field is deprecated.
|
int |
hashCode() |
Boolean |
isLogging()
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.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetTrailStatusResult |
withIsLogging(Boolean isLogging)
Whether the CloudTrail is currently logging AWS API calls.
|
GetTrailStatusResult |
withLatestCloudWatchLogsDeliveryError(String latestCloudWatchLogsDeliveryError)
Displays any CloudWatch Logs error that CloudTrail encountered when
attempting to deliver logs to CloudWatch Logs.
|
GetTrailStatusResult |
withLatestCloudWatchLogsDeliveryTime(Date latestCloudWatchLogsDeliveryTime)
Displays the most recent date and time when CloudTrail delivered logs
to CloudWatch Logs.
|
GetTrailStatusResult |
withLatestDeliveryAttemptSucceeded(String latestDeliveryAttemptSucceeded)
This field is deprecated.
|
GetTrailStatusResult |
withLatestDeliveryAttemptTime(String latestDeliveryAttemptTime)
This field is deprecated.
|
GetTrailStatusResult |
withLatestDeliveryError(String latestDeliveryError)
Displays any Amazon S3 error that CloudTrail encountered when
attempting to deliver log files to the designated bucket.
|
GetTrailStatusResult |
withLatestDeliveryTime(Date latestDeliveryTime)
Specifies the date and time that CloudTrail last delivered log files
to an account's Amazon S3 bucket.
|
GetTrailStatusResult |
withLatestDigestDeliveryError(String latestDigestDeliveryError)
Displays any Amazon S3 error that CloudTrail encountered when
attempting to deliver a digest file to the designated bucket.
|
GetTrailStatusResult |
withLatestDigestDeliveryTime(Date latestDigestDeliveryTime)
Specifies the date and time that CloudTrail last delivered a digest
file to an account's Amazon S3 bucket.
|
GetTrailStatusResult |
withLatestNotificationAttemptSucceeded(String latestNotificationAttemptSucceeded)
This field is deprecated.
|
GetTrailStatusResult |
withLatestNotificationAttemptTime(String latestNotificationAttemptTime)
This field is deprecated.
|
GetTrailStatusResult |
withLatestNotificationError(String latestNotificationError)
Displays any Amazon SNS error that CloudTrail encountered when
attempting to send a notification.
|
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.
|
GetTrailStatusResult |
withStartLoggingTime(Date startLoggingTime)
Specifies the most recent date and time when CloudTrail started
recording API calls for an AWS account.
|
GetTrailStatusResult |
withStopLoggingTime(Date stopLoggingTime)
Specifies the most recent date and time when CloudTrail stopped
recording API calls for an AWS account.
|
GetTrailStatusResult |
withTimeLoggingStarted(String timeLoggingStarted)
This field is deprecated.
|
GetTrailStatusResult |
withTimeLoggingStopped(String timeLoggingStopped)
This field is deprecated.
|
public Boolean isLogging()
public void setIsLogging(Boolean isLogging)
isLogging - Whether the CloudTrail is currently logging AWS API calls.public GetTrailStatusResult withIsLogging(Boolean isLogging)
Returns a reference to this object so that method calls can be chained together.
isLogging - Whether the CloudTrail is currently logging AWS API calls.public Boolean getIsLogging()
public String getLatestDeliveryError()
UpdateTrail to specify the new bucket, or fix the
existing objects so that CloudTrail can again write to the bucket.
UpdateTrail to specify the new bucket, or fix the
existing objects so that CloudTrail can again write to the bucket.
public void setLatestDeliveryError(String latestDeliveryError)
UpdateTrail to specify the new bucket, or fix the
existing objects so that CloudTrail can again write to the bucket.
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. UpdateTrail to specify the new bucket, or fix the
existing objects so that CloudTrail can again write to the bucket.
public GetTrailStatusResult withLatestDeliveryError(String latestDeliveryError)
UpdateTrail to specify the new bucket, or fix the
existing objects so that CloudTrail can again write to the bucket.
Returns a reference to this object so that method calls can be chained together.
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. UpdateTrail to specify the new bucket, or fix the
existing objects so that CloudTrail can again write to the bucket.
public String getLatestNotificationError()
public void setLatestNotificationError(String latestNotificationError)
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.public GetTrailStatusResult withLatestNotificationError(String latestNotificationError)
Returns a reference to this object so that method calls can be chained together.
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.public Date getLatestDeliveryTime()
public void setLatestDeliveryTime(Date latestDeliveryTime)
latestDeliveryTime - Specifies the date and time that CloudTrail last delivered log files
to an account's Amazon S3 bucket.public GetTrailStatusResult withLatestDeliveryTime(Date latestDeliveryTime)
Returns a reference to this object so that method calls can be chained together.
latestDeliveryTime - Specifies the date and time that CloudTrail last delivered log files
to an account's Amazon S3 bucket.public Date getLatestNotificationTime()
public void setLatestNotificationTime(Date latestNotificationTime)
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.public GetTrailStatusResult withLatestNotificationTime(Date latestNotificationTime)
Returns a reference to this object so that method calls can be chained together.
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.public Date getStartLoggingTime()
public void setStartLoggingTime(Date startLoggingTime)
startLoggingTime - Specifies the most recent date and time when CloudTrail started
recording API calls for an AWS account.public GetTrailStatusResult withStartLoggingTime(Date startLoggingTime)
Returns a reference to this object so that method calls can be chained together.
startLoggingTime - Specifies the most recent date and time when CloudTrail started
recording API calls for an AWS account.public Date getStopLoggingTime()
public void setStopLoggingTime(Date stopLoggingTime)
stopLoggingTime - Specifies the most recent date and time when CloudTrail stopped
recording API calls for an AWS account.public GetTrailStatusResult withStopLoggingTime(Date stopLoggingTime)
Returns a reference to this object so that method calls can be chained together.
stopLoggingTime - Specifies the most recent date and time when CloudTrail stopped
recording API calls for an AWS account.public String getLatestCloudWatchLogsDeliveryError()
public void setLatestCloudWatchLogsDeliveryError(String latestCloudWatchLogsDeliveryError)
latestCloudWatchLogsDeliveryError - Displays any CloudWatch Logs error that CloudTrail encountered when
attempting to deliver logs to CloudWatch Logs.public GetTrailStatusResult withLatestCloudWatchLogsDeliveryError(String latestCloudWatchLogsDeliveryError)
Returns a reference to this object so that method calls can be chained together.
latestCloudWatchLogsDeliveryError - Displays any CloudWatch Logs error that CloudTrail encountered when
attempting to deliver logs to CloudWatch Logs.public Date getLatestCloudWatchLogsDeliveryTime()
public void setLatestCloudWatchLogsDeliveryTime(Date latestCloudWatchLogsDeliveryTime)
latestCloudWatchLogsDeliveryTime - Displays the most recent date and time when CloudTrail delivered logs
to CloudWatch Logs.public GetTrailStatusResult withLatestCloudWatchLogsDeliveryTime(Date latestCloudWatchLogsDeliveryTime)
Returns a reference to this object so that method calls can be chained together.
latestCloudWatchLogsDeliveryTime - Displays the most recent date and time when CloudTrail delivered logs
to CloudWatch Logs.public Date getLatestDigestDeliveryTime()
public void setLatestDigestDeliveryTime(Date latestDigestDeliveryTime)
latestDigestDeliveryTime - Specifies the date and time that CloudTrail last delivered a digest
file to an account's Amazon S3 bucket.public GetTrailStatusResult withLatestDigestDeliveryTime(Date latestDigestDeliveryTime)
Returns a reference to this object so that method calls can be chained together.
latestDigestDeliveryTime - Specifies the date and time that CloudTrail last delivered a digest
file to an account's Amazon S3 bucket.public String getLatestDigestDeliveryError()
UpdateTrail to specify the new bucket, or fix the
existing objects so that CloudTrail can again write to the bucket.
UpdateTrail to specify the new bucket, or fix the
existing objects so that CloudTrail can again write to the bucket.
public void setLatestDigestDeliveryError(String latestDigestDeliveryError)
UpdateTrail to specify the new bucket, or fix the
existing objects so that CloudTrail can again write to the bucket.
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. UpdateTrail to specify the new bucket, or fix the
existing objects so that CloudTrail can again write to the bucket.
public GetTrailStatusResult withLatestDigestDeliveryError(String latestDigestDeliveryError)
UpdateTrail to specify the new bucket, or fix the
existing objects so that CloudTrail can again write to the bucket.
Returns a reference to this object so that method calls can be chained together.
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. UpdateTrail to specify the new bucket, or fix the
existing objects so that CloudTrail can again write to the bucket.
public String getLatestDeliveryAttemptTime()
public void setLatestDeliveryAttemptTime(String latestDeliveryAttemptTime)
latestDeliveryAttemptTime - This field is deprecated.public GetTrailStatusResult withLatestDeliveryAttemptTime(String latestDeliveryAttemptTime)
Returns a reference to this object so that method calls can be chained together.
latestDeliveryAttemptTime - This field is deprecated.public String getLatestNotificationAttemptTime()
public void setLatestNotificationAttemptTime(String latestNotificationAttemptTime)
latestNotificationAttemptTime - This field is deprecated.public GetTrailStatusResult withLatestNotificationAttemptTime(String latestNotificationAttemptTime)
Returns a reference to this object so that method calls can be chained together.
latestNotificationAttemptTime - This field is deprecated.public String getLatestNotificationAttemptSucceeded()
public void setLatestNotificationAttemptSucceeded(String latestNotificationAttemptSucceeded)
latestNotificationAttemptSucceeded - This field is deprecated.public GetTrailStatusResult withLatestNotificationAttemptSucceeded(String latestNotificationAttemptSucceeded)
Returns a reference to this object so that method calls can be chained together.
latestNotificationAttemptSucceeded - This field is deprecated.public String getLatestDeliveryAttemptSucceeded()
public void setLatestDeliveryAttemptSucceeded(String latestDeliveryAttemptSucceeded)
latestDeliveryAttemptSucceeded - This field is deprecated.public GetTrailStatusResult withLatestDeliveryAttemptSucceeded(String latestDeliveryAttemptSucceeded)
Returns a reference to this object so that method calls can be chained together.
latestDeliveryAttemptSucceeded - This field is deprecated.public String getTimeLoggingStarted()
public void setTimeLoggingStarted(String timeLoggingStarted)
timeLoggingStarted - This field is deprecated.public GetTrailStatusResult withTimeLoggingStarted(String timeLoggingStarted)
Returns a reference to this object so that method calls can be chained together.
timeLoggingStarted - This field is deprecated.public String getTimeLoggingStopped()
public void setTimeLoggingStopped(String timeLoggingStopped)
timeLoggingStopped - This field is deprecated.public GetTrailStatusResult withTimeLoggingStopped(String timeLoggingStopped)
Returns a reference to this object so that method calls can be chained together.
timeLoggingStopped - This field is deprecated.public String toString()
toString in class ObjectObject.toString()public GetTrailStatusResult clone()
Copyright © 2015. All rights reserved.