@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetTrailStatusResult extends AmazonWebServiceResult<ResponseMetadata> 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.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setIsLogging(Boolean isLogging)
Whether the CloudTrail is currently logging AWS API calls.
isLogging
- Whether the CloudTrail is currently logging AWS API calls.public Boolean getIsLogging()
Whether the CloudTrail is currently logging AWS API calls.
public GetTrailStatusResult withIsLogging(Boolean isLogging)
Whether the CloudTrail is currently logging AWS API calls.
isLogging
- Whether the CloudTrail is currently logging AWS API calls.public Boolean isLogging()
Whether the CloudTrail is currently logging AWS API calls.
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.
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.
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.
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.
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.
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.
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.
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 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.
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.
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 void setLatestDeliveryTime(Date latestDeliveryTime)
Specifies the date and time that CloudTrail last delivered log files to an account's Amazon S3 bucket.
latestDeliveryTime
- Specifies the date and time that CloudTrail last delivered log files to an account's Amazon S3 bucket.public Date getLatestDeliveryTime()
Specifies the date and time that CloudTrail last delivered log files to an account's Amazon S3 bucket.
public GetTrailStatusResult withLatestDeliveryTime(Date latestDeliveryTime)
Specifies the date and time that CloudTrail last delivered log files to an account's Amazon S3 bucket.
latestDeliveryTime
- Specifies the date and time that CloudTrail last delivered log files to an account's Amazon S3 bucket.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.
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 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.
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.
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 void setStartLoggingTime(Date startLoggingTime)
Specifies the most recent date and time when CloudTrail started recording API calls for an AWS account.
startLoggingTime
- Specifies the most recent date and time when CloudTrail started recording API calls for an AWS account.public Date getStartLoggingTime()
Specifies the most recent date and time when CloudTrail started recording API calls for an AWS account.
public GetTrailStatusResult withStartLoggingTime(Date startLoggingTime)
Specifies the most recent date and time when CloudTrail started recording API calls for an AWS account.
startLoggingTime
- Specifies the most recent date and time when CloudTrail started recording API calls for an AWS account.public void setStopLoggingTime(Date stopLoggingTime)
Specifies the most recent date and time when CloudTrail stopped recording API calls for an AWS account.
stopLoggingTime
- Specifies the most recent date and time when CloudTrail stopped recording API calls for an AWS account.public Date getStopLoggingTime()
Specifies the most recent date and time when CloudTrail stopped recording API calls for an AWS account.
public GetTrailStatusResult withStopLoggingTime(Date stopLoggingTime)
Specifies the most recent date and time when CloudTrail stopped recording API calls for an AWS account.
stopLoggingTime
- Specifies the most recent date and time when CloudTrail stopped recording API calls for an AWS account.public void setLatestCloudWatchLogsDeliveryError(String latestCloudWatchLogsDeliveryError)
Displays any CloudWatch Logs error that CloudTrail encountered when attempting to deliver logs to CloudWatch Logs.
latestCloudWatchLogsDeliveryError
- Displays any CloudWatch Logs error that CloudTrail encountered when attempting to deliver logs to
CloudWatch Logs.public String getLatestCloudWatchLogsDeliveryError()
Displays any CloudWatch Logs error that CloudTrail encountered when attempting to deliver logs to CloudWatch Logs.
public GetTrailStatusResult withLatestCloudWatchLogsDeliveryError(String latestCloudWatchLogsDeliveryError)
Displays any CloudWatch Logs error that CloudTrail encountered when attempting to deliver logs to CloudWatch Logs.
latestCloudWatchLogsDeliveryError
- Displays any CloudWatch Logs error that CloudTrail encountered when attempting to deliver logs to
CloudWatch Logs.public void setLatestCloudWatchLogsDeliveryTime(Date latestCloudWatchLogsDeliveryTime)
Displays the most recent date and time when CloudTrail delivered logs to CloudWatch Logs.
latestCloudWatchLogsDeliveryTime
- Displays the most recent date and time when CloudTrail delivered logs to CloudWatch Logs.public Date getLatestCloudWatchLogsDeliveryTime()
Displays the most recent date and time when CloudTrail delivered logs to CloudWatch Logs.
public GetTrailStatusResult withLatestCloudWatchLogsDeliveryTime(Date latestCloudWatchLogsDeliveryTime)
Displays the most recent date and time when CloudTrail delivered logs to CloudWatch Logs.
latestCloudWatchLogsDeliveryTime
- Displays the most recent date and time when CloudTrail delivered logs to CloudWatch Logs.public void setLatestDigestDeliveryTime(Date latestDigestDeliveryTime)
Specifies the date and time that CloudTrail last delivered a digest file to an account's Amazon S3 bucket.
latestDigestDeliveryTime
- Specifies the date and time that CloudTrail last delivered a digest file to an account's Amazon S3 bucket.public Date getLatestDigestDeliveryTime()
Specifies the date and time that CloudTrail last delivered a digest file to an account's Amazon S3 bucket.
public GetTrailStatusResult withLatestDigestDeliveryTime(Date latestDigestDeliveryTime)
Specifies the date and time that CloudTrail last delivered a digest file to an account's Amazon S3 bucket.
latestDigestDeliveryTime
- Specifies the date and time that CloudTrail last delivered a digest file to an account's Amazon S3 bucket.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.
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.
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.
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.
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.
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.
public void setLatestDeliveryAttemptTime(String latestDeliveryAttemptTime)
This field is deprecated.
latestDeliveryAttemptTime
- This field is deprecated.public String getLatestDeliveryAttemptTime()
This field is deprecated.
public GetTrailStatusResult withLatestDeliveryAttemptTime(String latestDeliveryAttemptTime)
This field is deprecated.
latestDeliveryAttemptTime
- This field is deprecated.public void setLatestNotificationAttemptTime(String latestNotificationAttemptTime)
This field is deprecated.
latestNotificationAttemptTime
- This field is deprecated.public String getLatestNotificationAttemptTime()
This field is deprecated.
public GetTrailStatusResult withLatestNotificationAttemptTime(String latestNotificationAttemptTime)
This field is deprecated.
latestNotificationAttemptTime
- This field is deprecated.public void setLatestNotificationAttemptSucceeded(String latestNotificationAttemptSucceeded)
This field is deprecated.
latestNotificationAttemptSucceeded
- This field is deprecated.public String getLatestNotificationAttemptSucceeded()
This field is deprecated.
public GetTrailStatusResult withLatestNotificationAttemptSucceeded(String latestNotificationAttemptSucceeded)
This field is deprecated.
latestNotificationAttemptSucceeded
- This field is deprecated.public void setLatestDeliveryAttemptSucceeded(String latestDeliveryAttemptSucceeded)
This field is deprecated.
latestDeliveryAttemptSucceeded
- This field is deprecated.public String getLatestDeliveryAttemptSucceeded()
This field is deprecated.
public GetTrailStatusResult withLatestDeliveryAttemptSucceeded(String latestDeliveryAttemptSucceeded)
This field is deprecated.
latestDeliveryAttemptSucceeded
- This field is deprecated.public void setTimeLoggingStarted(String timeLoggingStarted)
This field is deprecated.
timeLoggingStarted
- This field is deprecated.public String getTimeLoggingStarted()
This field is deprecated.
public GetTrailStatusResult withTimeLoggingStarted(String timeLoggingStarted)
This field is deprecated.
timeLoggingStarted
- This field is deprecated.public void setTimeLoggingStopped(String timeLoggingStopped)
This field is deprecated.
timeLoggingStopped
- This field is deprecated.public String getTimeLoggingStopped()
This field is deprecated.
public GetTrailStatusResult withTimeLoggingStopped(String timeLoggingStopped)
This field is deprecated.
timeLoggingStopped
- This field is deprecated.public String toString()
toString
in class Object
Object.toString()
public GetTrailStatusResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.