@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 trail is currently logging Amazon Web Services 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 no longer in use.
|
String |
getLatestDeliveryAttemptTime()
This field is no longer in use.
|
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 no longer in use.
|
String |
getLatestNotificationAttemptTime()
This field is no longer in use.
|
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 Amazon Web Services
account.
|
Date |
getStopLoggingTime()
Specifies the most recent date and time when CloudTrail stopped recording API calls for an Amazon Web Services
account.
|
String |
getTimeLoggingStarted()
This field is no longer in use.
|
String |
getTimeLoggingStopped()
This field is no longer in use.
|
int |
hashCode() |
Boolean |
isLogging()
Whether the CloudTrail trail is currently logging Amazon Web Services API calls.
|
void |
setIsLogging(Boolean isLogging)
Whether the CloudTrail trail is currently logging Amazon Web Services 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 no longer in use.
|
void |
setLatestDeliveryAttemptTime(String latestDeliveryAttemptTime)
This field is no longer in use.
|
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 no longer in use.
|
void |
setLatestNotificationAttemptTime(String latestNotificationAttemptTime)
This field is no longer in use.
|
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 Amazon Web Services
account.
|
void |
setStopLoggingTime(Date stopLoggingTime)
Specifies the most recent date and time when CloudTrail stopped recording API calls for an Amazon Web Services
account.
|
void |
setTimeLoggingStarted(String timeLoggingStarted)
This field is no longer in use.
|
void |
setTimeLoggingStopped(String timeLoggingStopped)
This field is no longer in use.
|
String |
toString()
Returns a string representation of this object.
|
GetTrailStatusResult |
withIsLogging(Boolean isLogging)
Whether the CloudTrail trail is currently logging Amazon Web Services 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 no longer in use.
|
GetTrailStatusResult |
withLatestDeliveryAttemptTime(String latestDeliveryAttemptTime)
This field is no longer in use.
|
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 no longer in use.
|
GetTrailStatusResult |
withLatestNotificationAttemptTime(String latestNotificationAttemptTime)
This field is no longer in use.
|
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 Amazon Web Services
account.
|
GetTrailStatusResult |
withStopLoggingTime(Date stopLoggingTime)
Specifies the most recent date and time when CloudTrail stopped recording API calls for an Amazon Web Services
account.
|
GetTrailStatusResult |
withTimeLoggingStarted(String timeLoggingStarted)
This field is no longer in use.
|
GetTrailStatusResult |
withTimeLoggingStopped(String timeLoggingStopped)
This field is no longer in use.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setIsLogging(Boolean isLogging)
Whether the CloudTrail trail is currently logging Amazon Web Services API calls.
isLogging
- Whether the CloudTrail trail is currently logging Amazon Web Services API calls.public Boolean getIsLogging()
Whether the CloudTrail trail is currently logging Amazon Web Services API calls.
public GetTrailStatusResult withIsLogging(Boolean isLogging)
Whether the CloudTrail trail is currently logging Amazon Web Services API calls.
isLogging
- Whether the CloudTrail trail is currently logging Amazon Web Services API calls.public Boolean isLogging()
Whether the CloudTrail trail is currently logging Amazon Web Services 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 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, fix the bucket policy so that CloudTrail can write to the bucket; or create a new bucket and call
UpdateTrail
to specify the new bucket.
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, fix the bucket policy so that CloudTrail can write to the bucket; or create a new bucket and call
UpdateTrail
to specify the new 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 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, fix the bucket policy so that CloudTrail can write to the bucket; or create a new bucket and call
UpdateTrail
to specify the new 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, fix the bucket policy so that CloudTrail can write to the bucket; or create a new bucket and call
UpdateTrail
to specify the new 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 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, fix the bucket policy so that CloudTrail can write to the bucket; or create a new bucket and call
UpdateTrail
to specify the new bucket.
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, fix the bucket policy so that CloudTrail can write to the bucket; or create a new bucket and call
UpdateTrail
to specify the new 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 Amazon Web Services account.
startLoggingTime
- Specifies the most recent date and time when CloudTrail started recording API calls for an Amazon Web
Services account.public Date getStartLoggingTime()
Specifies the most recent date and time when CloudTrail started recording API calls for an Amazon Web Services account.
public GetTrailStatusResult withStartLoggingTime(Date startLoggingTime)
Specifies the most recent date and time when CloudTrail started recording API calls for an Amazon Web Services account.
startLoggingTime
- Specifies the most recent date and time when CloudTrail started recording API calls for an Amazon Web
Services account.public void setStopLoggingTime(Date stopLoggingTime)
Specifies the most recent date and time when CloudTrail stopped recording API calls for an Amazon Web Services account.
stopLoggingTime
- Specifies the most recent date and time when CloudTrail stopped recording API calls for an Amazon Web
Services account.public Date getStopLoggingTime()
Specifies the most recent date and time when CloudTrail stopped recording API calls for an Amazon Web Services account.
public GetTrailStatusResult withStopLoggingTime(Date stopLoggingTime)
Specifies the most recent date and time when CloudTrail stopped recording API calls for an Amazon Web Services account.
stopLoggingTime
- Specifies the most recent date and time when CloudTrail stopped recording API calls for an Amazon Web
Services 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 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, fix the bucket policy so that CloudTrail can write to the bucket; or create a new bucket and call
UpdateTrail
to specify the new 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 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, fix the bucket policy so that CloudTrail can write to the bucket; or create a new bucket and call
UpdateTrail
to specify the new 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 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, fix the bucket policy so that CloudTrail can write to the bucket; or create a new bucket and call
UpdateTrail
to specify the new 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, fix the bucket policy so that CloudTrail can write to the bucket; or create a new bucket and call
UpdateTrail
to specify the new 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 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, fix the bucket policy so that CloudTrail can write to the bucket; or create a new bucket and call
UpdateTrail
to specify the new 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 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, fix the bucket policy so that CloudTrail can write to the bucket; or create a new bucket and call
UpdateTrail
to specify the new bucket.
public void setLatestDeliveryAttemptTime(String latestDeliveryAttemptTime)
This field is no longer in use.
latestDeliveryAttemptTime
- This field is no longer in use.public String getLatestDeliveryAttemptTime()
This field is no longer in use.
public GetTrailStatusResult withLatestDeliveryAttemptTime(String latestDeliveryAttemptTime)
This field is no longer in use.
latestDeliveryAttemptTime
- This field is no longer in use.public void setLatestNotificationAttemptTime(String latestNotificationAttemptTime)
This field is no longer in use.
latestNotificationAttemptTime
- This field is no longer in use.public String getLatestNotificationAttemptTime()
This field is no longer in use.
public GetTrailStatusResult withLatestNotificationAttemptTime(String latestNotificationAttemptTime)
This field is no longer in use.
latestNotificationAttemptTime
- This field is no longer in use.public void setLatestNotificationAttemptSucceeded(String latestNotificationAttemptSucceeded)
This field is no longer in use.
latestNotificationAttemptSucceeded
- This field is no longer in use.public String getLatestNotificationAttemptSucceeded()
This field is no longer in use.
public GetTrailStatusResult withLatestNotificationAttemptSucceeded(String latestNotificationAttemptSucceeded)
This field is no longer in use.
latestNotificationAttemptSucceeded
- This field is no longer in use.public void setLatestDeliveryAttemptSucceeded(String latestDeliveryAttemptSucceeded)
This field is no longer in use.
latestDeliveryAttemptSucceeded
- This field is no longer in use.public String getLatestDeliveryAttemptSucceeded()
This field is no longer in use.
public GetTrailStatusResult withLatestDeliveryAttemptSucceeded(String latestDeliveryAttemptSucceeded)
This field is no longer in use.
latestDeliveryAttemptSucceeded
- This field is no longer in use.public void setTimeLoggingStarted(String timeLoggingStarted)
This field is no longer in use.
timeLoggingStarted
- This field is no longer in use.public String getTimeLoggingStarted()
This field is no longer in use.
public GetTrailStatusResult withTimeLoggingStarted(String timeLoggingStarted)
This field is no longer in use.
timeLoggingStarted
- This field is no longer in use.public void setTimeLoggingStopped(String timeLoggingStopped)
This field is no longer in use.
timeLoggingStopped
- This field is no longer in use.public String getTimeLoggingStopped()
This field is no longer in use.
public GetTrailStatusResult withTimeLoggingStopped(String timeLoggingStopped)
This field is no longer in use.
timeLoggingStopped
- This field is no longer in use.public String toString()
toString
in class Object
Object.toString()
public GetTrailStatusResult clone()