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.
|
Date |
getLatestDeliveryTime()
Returns the value of the LatestDeliveryTime property for this object.
|
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.
|
Date |
getLatestNotificationTime()
Returns the value of the LatestNotificationTime property for this
object.
|
Date |
getStartLoggingTime()
Returns the value of the StartLoggingTime property for this object.
|
Date |
getStopLoggingTime()
Returns the value of the StopLoggingTime property for this object.
|
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 |
setLatestDeliveryTime(Date latestDeliveryTime)
Sets the value of the LatestDeliveryTime property for this object.
|
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 |
setLatestNotificationTime(Date latestNotificationTime)
Sets the value of the LatestNotificationTime property for this object.
|
void |
setStartLoggingTime(Date startLoggingTime)
Sets the value of the StartLoggingTime property for this object.
|
void |
setStopLoggingTime(Date stopLoggingTime)
Sets the value of the StopLoggingTime property for this object.
|
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 |
withLatestDeliveryTime(Date latestDeliveryTime)
Sets the value of the LatestDeliveryTime property for this object.
|
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 |
withLatestNotificationTime(Date latestNotificationTime)
Sets the value of the LatestNotificationTime property for this object.
|
GetTrailStatusResult |
withStartLoggingTime(Date startLoggingTime)
Sets the value of the StartLoggingTime property for this object.
|
GetTrailStatusResult |
withStopLoggingTime(Date stopLoggingTime)
Sets the value of the StopLoggingTime property for this object.
|
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 Date getLatestDeliveryTime()
public void setLatestDeliveryTime(Date latestDeliveryTime)
latestDeliveryTime
- The new value for the LatestDeliveryTime property for this object.public GetTrailStatusResult withLatestDeliveryTime(Date latestDeliveryTime)
Returns a reference to this object so that method calls can be chained together.
latestDeliveryTime
- The new value for the LatestDeliveryTime property for this object.public Date getLatestNotificationTime()
public void setLatestNotificationTime(Date latestNotificationTime)
latestNotificationTime
- The new value for the LatestNotificationTime property for this object.public GetTrailStatusResult withLatestNotificationTime(Date latestNotificationTime)
Returns a reference to this object so that method calls can be chained together.
latestNotificationTime
- The new value for the LatestNotificationTime property for this object.public Date getStartLoggingTime()
public void setStartLoggingTime(Date startLoggingTime)
startLoggingTime
- The new value for the StartLoggingTime property for this object.public GetTrailStatusResult withStartLoggingTime(Date startLoggingTime)
Returns a reference to this object so that method calls can be chained together.
startLoggingTime
- The new value for the StartLoggingTime property for this object.public Date getStopLoggingTime()
public void setStopLoggingTime(Date stopLoggingTime)
stopLoggingTime
- The new value for the StopLoggingTime property for this object.public GetTrailStatusResult withStopLoggingTime(Date stopLoggingTime)
Returns a reference to this object so that method calls can be chained together.
stopLoggingTime
- The new value for the StopLoggingTime property for this object.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 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 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 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.