public class GetTrailStatusResult extends Object implements Serializable
Returns the objects or data listed below if successful. Otherwise, returns an error.
Constructor and Description |
---|
GetTrailStatusResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Boolean |
getIsLogging()
Whether the CloudTrail is currently logging AWS API calls.
|
String |
getLatestDeliveryAttemptSucceeded()
The last time CloudTrail successfully delivered a log file to an
account's Amazon S3 bucket.
|
String |
getLatestDeliveryAttemptTime()
The last time CloudTrail attempted to deliver a file to an account's
Amazon S3 bucket.
|
String |
getLatestDeliveryError()
Information about the most recent error CloudTrail encountered when
attempting to deliver log files to the account's Amazon S3 bucket.
|
String |
getLatestNotificationAttemptSucceeded()
The last time CloudTrail successfully notified an account's owner of a
log delivery to the account's Amazon S3 bucket.
|
String |
getLatestNotificationAttemptTime()
The last time CloudTrail attempted to notify an account's owner of a
log delivery to the account's Amazon S3 bucket.
|
String |
getLatestNotificationError()
Information about the most recent error CloudTrail encountered when
attempting to send an Amazon SNS notification.
|
String |
getTimeLoggingStarted()
The time at which CloudTrail started logging AWS API calls for an
account.
|
String |
getTimeLoggingStopped()
The time at which CloudTrail stopped logging AWS API calls for an
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 |
setLatestDeliveryAttemptSucceeded(String latestDeliveryAttemptSucceeded)
The last time CloudTrail successfully delivered a log file to an
account's Amazon S3 bucket.
|
void |
setLatestDeliveryAttemptTime(String latestDeliveryAttemptTime)
The last time CloudTrail attempted to deliver a file to an account's
Amazon S3 bucket.
|
void |
setLatestDeliveryError(String latestDeliveryError)
Information about the most recent error CloudTrail encountered when
attempting to deliver log files to the account's Amazon S3 bucket.
|
void |
setLatestNotificationAttemptSucceeded(String latestNotificationAttemptSucceeded)
The last time CloudTrail successfully notified an account's owner of a
log delivery to the account's Amazon S3 bucket.
|
void |
setLatestNotificationAttemptTime(String latestNotificationAttemptTime)
The last time CloudTrail attempted to notify an account's owner of a
log delivery to the account's Amazon S3 bucket.
|
void |
setLatestNotificationError(String latestNotificationError)
Information about the most recent error CloudTrail encountered when
attempting to send an Amazon SNS notification.
|
void |
setTimeLoggingStarted(String timeLoggingStarted)
The time at which CloudTrail started logging AWS API calls for an
account.
|
void |
setTimeLoggingStopped(String timeLoggingStopped)
The time at which CloudTrail stopped logging AWS API calls for an
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 |
withLatestDeliveryAttemptSucceeded(String latestDeliveryAttemptSucceeded)
The last time CloudTrail successfully delivered a log file to an
account's Amazon S3 bucket.
|
GetTrailStatusResult |
withLatestDeliveryAttemptTime(String latestDeliveryAttemptTime)
The last time CloudTrail attempted to deliver a file to an account's
Amazon S3 bucket.
|
GetTrailStatusResult |
withLatestDeliveryError(String latestDeliveryError)
Information about the most recent error CloudTrail encountered when
attempting to deliver log files to the account's Amazon S3 bucket.
|
GetTrailStatusResult |
withLatestNotificationAttemptSucceeded(String latestNotificationAttemptSucceeded)
The last time CloudTrail successfully notified an account's owner of a
log delivery to the account's Amazon S3 bucket.
|
GetTrailStatusResult |
withLatestNotificationAttemptTime(String latestNotificationAttemptTime)
The last time CloudTrail attempted to notify an account's owner of a
log delivery to the account's Amazon S3 bucket.
|
GetTrailStatusResult |
withLatestNotificationError(String latestNotificationError)
Information about the most recent error CloudTrail encountered when
attempting to send an Amazon SNS notification.
|
GetTrailStatusResult |
withTimeLoggingStarted(String timeLoggingStarted)
The time at which CloudTrail started logging AWS API calls for an
account.
|
GetTrailStatusResult |
withTimeLoggingStopped(String timeLoggingStopped)
The time at which CloudTrail stopped logging AWS API calls for an
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
- Information about the most recent error CloudTrail encountered when
attempting to deliver log files to the account's Amazon S3 bucket.public GetTrailStatusResult withLatestDeliveryError(String latestDeliveryError)
Returns a reference to this object so that method calls can be chained together.
latestDeliveryError
- Information about the most recent error CloudTrail encountered when
attempting to deliver log files to the account's Amazon S3 bucket.public String getLatestNotificationError()
public void setLatestNotificationError(String latestNotificationError)
latestNotificationError
- Information about the most recent error CloudTrail encountered when
attempting to send an Amazon SNS notification.public GetTrailStatusResult withLatestNotificationError(String latestNotificationError)
Returns a reference to this object so that method calls can be chained together.
latestNotificationError
- Information about the most recent error CloudTrail encountered when
attempting to send an Amazon SNS notification.public String getLatestDeliveryAttemptTime()
public void setLatestDeliveryAttemptTime(String latestDeliveryAttemptTime)
latestDeliveryAttemptTime
- The last time CloudTrail attempted to deliver a file to an account's
Amazon S3 bucket.public GetTrailStatusResult withLatestDeliveryAttemptTime(String latestDeliveryAttemptTime)
Returns a reference to this object so that method calls can be chained together.
latestDeliveryAttemptTime
- The last time CloudTrail attempted to deliver a file to an account's
Amazon S3 bucket.public String getLatestDeliveryAttemptSucceeded()
public void setLatestDeliveryAttemptSucceeded(String latestDeliveryAttemptSucceeded)
latestDeliveryAttemptSucceeded
- The last time CloudTrail successfully delivered a log file to an
account's Amazon S3 bucket.public GetTrailStatusResult withLatestDeliveryAttemptSucceeded(String latestDeliveryAttemptSucceeded)
Returns a reference to this object so that method calls can be chained together.
latestDeliveryAttemptSucceeded
- The last time CloudTrail successfully delivered a log file to an
account's Amazon S3 bucket.public String getLatestNotificationAttemptTime()
public void setLatestNotificationAttemptTime(String latestNotificationAttemptTime)
latestNotificationAttemptTime
- The last time CloudTrail attempted to notify an account's owner of a
log delivery to the account's Amazon S3 bucket.public GetTrailStatusResult withLatestNotificationAttemptTime(String latestNotificationAttemptTime)
Returns a reference to this object so that method calls can be chained together.
latestNotificationAttemptTime
- The last time CloudTrail attempted to notify an account's owner of a
log delivery to the account's Amazon S3 bucket.public String getLatestNotificationAttemptSucceeded()
public void setLatestNotificationAttemptSucceeded(String latestNotificationAttemptSucceeded)
latestNotificationAttemptSucceeded
- The last time CloudTrail successfully notified an account's owner of a
log delivery to the account's Amazon S3 bucket.public GetTrailStatusResult withLatestNotificationAttemptSucceeded(String latestNotificationAttemptSucceeded)
Returns a reference to this object so that method calls can be chained together.
latestNotificationAttemptSucceeded
- The last time CloudTrail successfully notified an account's owner of a
log delivery to the account's Amazon S3 bucket.public String getTimeLoggingStarted()
public void setTimeLoggingStarted(String timeLoggingStarted)
timeLoggingStarted
- The time at which CloudTrail started logging AWS API calls for an
account.public GetTrailStatusResult withTimeLoggingStarted(String timeLoggingStarted)
Returns a reference to this object so that method calls can be chained together.
timeLoggingStarted
- The time at which CloudTrail started logging AWS API calls for an
account.public String getTimeLoggingStopped()
public void setTimeLoggingStopped(String timeLoggingStopped)
timeLoggingStopped
- The time at which CloudTrail stopped logging AWS API calls for an
account.public GetTrailStatusResult withTimeLoggingStopped(String timeLoggingStopped)
Returns a reference to this object so that method calls can be chained together.
timeLoggingStopped
- The time at which CloudTrail stopped logging AWS API calls for an
account.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.