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 |
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 |
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.
|
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 |
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 |
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.
|
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 |
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 |
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.
|
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()
public void setLatestDeliveryError(String latestDeliveryError)
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.public GetTrailStatusResult withLatestDeliveryError(String latestDeliveryError)
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.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 String toString()
toString
in class Object
Object.toString()
public GetTrailStatusResult clone()
Copyright © 2015. All rights reserved.