Interface GetTrailStatusResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CloudTrailResponse.Builder
,CopyableBuilder<GetTrailStatusResponse.Builder,
,GetTrailStatusResponse> SdkBuilder<GetTrailStatusResponse.Builder,
,GetTrailStatusResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetTrailStatusResponse
-
Method Summary
Modifier and TypeMethodDescriptionWhether the CloudTrail trail is currently logging Amazon Web Services API calls.latestCloudWatchLogsDeliveryError
(String latestCloudWatchLogsDeliveryError) Displays any CloudWatch Logs error that CloudTrail encountered when attempting to deliver logs to CloudWatch Logs.latestCloudWatchLogsDeliveryTime
(Instant latestCloudWatchLogsDeliveryTime) Displays the most recent date and time when CloudTrail delivered logs to CloudWatch Logs.latestDeliveryAttemptSucceeded
(String latestDeliveryAttemptSucceeded) This field is no longer in use.latestDeliveryAttemptTime
(String latestDeliveryAttemptTime) This field is no longer in use.latestDeliveryError
(String latestDeliveryError) Displays any Amazon S3 error that CloudTrail encountered when attempting to deliver log files to the designated bucket.latestDeliveryTime
(Instant latestDeliveryTime) Specifies the date and time that CloudTrail last delivered log files to an account's Amazon S3 bucket.latestDigestDeliveryError
(String latestDigestDeliveryError) Displays any Amazon S3 error that CloudTrail encountered when attempting to deliver a digest file to the designated bucket.latestDigestDeliveryTime
(Instant latestDigestDeliveryTime) Specifies the date and time that CloudTrail last delivered a digest file to an account's Amazon S3 bucket.latestNotificationAttemptSucceeded
(String latestNotificationAttemptSucceeded) This field is no longer in use.latestNotificationAttemptTime
(String latestNotificationAttemptTime) This field is no longer in use.latestNotificationError
(String latestNotificationError) Displays any Amazon SNS error that CloudTrail encountered when attempting to send a notification.latestNotificationTime
(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.startLoggingTime
(Instant startLoggingTime) Specifies the most recent date and time when CloudTrail started recording API calls for an Amazon Web Services account.stopLoggingTime
(Instant stopLoggingTime) Specifies the most recent date and time when CloudTrail stopped recording API calls for an Amazon Web Services account.timeLoggingStarted
(String timeLoggingStarted) This field is no longer in use.timeLoggingStopped
(String timeLoggingStopped) This field is no longer in use.Methods inherited from interface software.amazon.awssdk.services.cloudtrail.model.CloudTrailResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
isLogging
Whether the CloudTrail trail is currently logging Amazon Web Services API calls.
- Parameters:
isLogging
- Whether the CloudTrail trail is currently logging Amazon Web Services API calls.- Returns:
- 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 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.- Parameters:
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.- Returns:
- 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.
- Parameters:
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.- Returns:
- 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.
- Parameters:
latestDeliveryTime
- Specifies the date and time that CloudTrail last delivered log files to an account's Amazon S3 bucket.- Returns:
- 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.
- Parameters:
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.- Returns:
- 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 Amazon Web Services account.
- Parameters:
startLoggingTime
- Specifies the most recent date and time when CloudTrail started recording API calls for an Amazon Web Services account.- Returns:
- 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 Amazon Web Services account.
- Parameters:
stopLoggingTime
- Specifies the most recent date and time when CloudTrail stopped recording API calls for an Amazon Web Services account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
latestCloudWatchLogsDeliveryError
GetTrailStatusResponse.Builder latestCloudWatchLogsDeliveryError(String latestCloudWatchLogsDeliveryError) Displays any CloudWatch Logs error that CloudTrail encountered when attempting to deliver logs to CloudWatch Logs.
- Parameters:
latestCloudWatchLogsDeliveryError
- Displays any CloudWatch Logs error that CloudTrail encountered when attempting to deliver logs to CloudWatch Logs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
latestCloudWatchLogsDeliveryTime
GetTrailStatusResponse.Builder latestCloudWatchLogsDeliveryTime(Instant latestCloudWatchLogsDeliveryTime) Displays the most recent date and time when CloudTrail delivered logs to CloudWatch Logs.
- Parameters:
latestCloudWatchLogsDeliveryTime
- Displays the most recent date and time when CloudTrail delivered logs to CloudWatch Logs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
latestDigestDeliveryTime
Specifies the date and time that CloudTrail last delivered a digest file to an account's Amazon S3 bucket.
- Parameters:
latestDigestDeliveryTime
- Specifies the date and time that CloudTrail last delivered a digest file to an account's Amazon S3 bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
latestDeliveryAttemptTime
This field is no longer in use.
- Parameters:
latestDeliveryAttemptTime
- This field is no longer in use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
latestNotificationAttemptTime
This field is no longer in use.
- Parameters:
latestNotificationAttemptTime
- This field is no longer in use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
latestNotificationAttemptSucceeded
GetTrailStatusResponse.Builder latestNotificationAttemptSucceeded(String latestNotificationAttemptSucceeded) This field is no longer in use.
- Parameters:
latestNotificationAttemptSucceeded
- This field is no longer in use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
latestDeliveryAttemptSucceeded
GetTrailStatusResponse.Builder latestDeliveryAttemptSucceeded(String latestDeliveryAttemptSucceeded) This field is no longer in use.
- Parameters:
latestDeliveryAttemptSucceeded
- This field is no longer in use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timeLoggingStarted
This field is no longer in use.
- Parameters:
timeLoggingStarted
- This field is no longer in use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timeLoggingStopped
This field is no longer in use.
- Parameters:
timeLoggingStopped
- This field is no longer in use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-