@Generated(value="software.amazon.awssdk:codegen") public final class GetTrailStatusResponse extends CloudTrailResponse implements ToCopyableBuilder<GetTrailStatusResponse.Builder,GetTrailStatusResponse>
Returns the objects or data listed below if successful. Otherwise, returns an error.
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetTrailStatusResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static GetTrailStatusResponse.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Boolean |
isLogging()
Whether the CloudTrail trail is currently logging Amazon Web Services API calls.
|
String |
latestCloudWatchLogsDeliveryError()
Displays any CloudWatch Logs error that CloudTrail encountered when attempting to deliver logs to CloudWatch
Logs.
|
Instant |
latestCloudWatchLogsDeliveryTime()
Displays the most recent date and time when CloudTrail delivered logs to CloudWatch Logs.
|
String |
latestDeliveryAttemptSucceeded()
This field is no longer in use.
|
String |
latestDeliveryAttemptTime()
This field is no longer in use.
|
String |
latestDeliveryError()
Displays any Amazon S3 error that CloudTrail encountered when attempting to deliver log files to the designated
bucket.
|
Instant |
latestDeliveryTime()
Specifies the date and time that CloudTrail last delivered log files to an account's Amazon S3 bucket.
|
String |
latestDigestDeliveryError()
Displays any Amazon S3 error that CloudTrail encountered when attempting to deliver a digest file to the
designated bucket.
|
Instant |
latestDigestDeliveryTime()
Specifies the date and time that CloudTrail last delivered a digest file to an account's Amazon S3 bucket.
|
String |
latestNotificationAttemptSucceeded()
This field is no longer in use.
|
String |
latestNotificationAttemptTime()
This field is no longer in use.
|
String |
latestNotificationError()
Displays any Amazon SNS error that CloudTrail encountered when attempting to send a notification.
|
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.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetTrailStatusResponse.Builder> |
serializableBuilderClass() |
Instant |
startLoggingTime()
Specifies the most recent date and time when CloudTrail started recording API calls for an Amazon Web Services
account.
|
Instant |
stopLoggingTime()
Specifies the most recent date and time when CloudTrail stopped recording API calls for an Amazon Web Services
account.
|
String |
timeLoggingStarted()
This field is no longer in use.
|
String |
timeLoggingStopped()
This field is no longer in use.
|
GetTrailStatusResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Boolean isLogging()
Whether the CloudTrail trail is currently logging Amazon Web Services API calls.
public final 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.
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.
public final 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.
public final Instant latestDeliveryTime()
Specifies the date and time that CloudTrail last delivered log files to an account's Amazon S3 bucket.
public final 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.
public final Instant startLoggingTime()
Specifies the most recent date and time when CloudTrail started recording API calls for an Amazon Web Services account.
public final Instant stopLoggingTime()
Specifies the most recent date and time when CloudTrail stopped recording API calls for an Amazon Web Services account.
public final String latestCloudWatchLogsDeliveryError()
Displays any CloudWatch Logs error that CloudTrail encountered when attempting to deliver logs to CloudWatch Logs.
public final Instant latestCloudWatchLogsDeliveryTime()
Displays the most recent date and time when CloudTrail delivered logs to CloudWatch Logs.
public final Instant latestDigestDeliveryTime()
Specifies the date and time that CloudTrail last delivered a digest file to an account's Amazon S3 bucket.
public final 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.
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.
public final String latestDeliveryAttemptTime()
This field is no longer in use.
public final String latestNotificationAttemptTime()
This field is no longer in use.
public final String latestNotificationAttemptSucceeded()
This field is no longer in use.
public final String latestDeliveryAttemptSucceeded()
This field is no longer in use.
public final String timeLoggingStarted()
This field is no longer in use.
public final String timeLoggingStopped()
This field is no longer in use.
public GetTrailStatusResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GetTrailStatusResponse.Builder,GetTrailStatusResponse>toBuilder in class AwsResponsepublic static GetTrailStatusResponse.Builder builder()
public static Class<? extends GetTrailStatusResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2023. All rights reserved.