Interface GetTrailStatusResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudTrailResponse.Builder,CopyableBuilder<GetTrailStatusResponse.Builder,GetTrailStatusResponse>,SdkBuilder<GetTrailStatusResponse.Builder,GetTrailStatusResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetTrailStatusResponse
public static interface GetTrailStatusResponse.Builder extends CloudTrailResponse.Builder, SdkPojo, CopyableBuilder<GetTrailStatusResponse.Builder,GetTrailStatusResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetTrailStatusResponse.BuilderisLogging(Boolean isLogging)Whether the CloudTrail trail is currently logging Amazon Web Services API calls.GetTrailStatusResponse.BuilderlatestCloudWatchLogsDeliveryError(String latestCloudWatchLogsDeliveryError)Displays any CloudWatch Logs error that CloudTrail encountered when attempting to deliver logs to CloudWatch Logs.GetTrailStatusResponse.BuilderlatestCloudWatchLogsDeliveryTime(Instant latestCloudWatchLogsDeliveryTime)Displays the most recent date and time when CloudTrail delivered logs to CloudWatch Logs.GetTrailStatusResponse.BuilderlatestDeliveryAttemptSucceeded(String latestDeliveryAttemptSucceeded)This field is no longer in use.GetTrailStatusResponse.BuilderlatestDeliveryAttemptTime(String latestDeliveryAttemptTime)This field is no longer in use.GetTrailStatusResponse.BuilderlatestDeliveryError(String latestDeliveryError)Displays any Amazon S3 error that CloudTrail encountered when attempting to deliver log files to the designated bucket.GetTrailStatusResponse.BuilderlatestDeliveryTime(Instant latestDeliveryTime)Specifies the date and time that CloudTrail last delivered log files to an account's Amazon S3 bucket.GetTrailStatusResponse.BuilderlatestDigestDeliveryError(String latestDigestDeliveryError)Displays any Amazon S3 error that CloudTrail encountered when attempting to deliver a digest file to the designated bucket.GetTrailStatusResponse.BuilderlatestDigestDeliveryTime(Instant latestDigestDeliveryTime)Specifies the date and time that CloudTrail last delivered a digest file to an account's Amazon S3 bucket.GetTrailStatusResponse.BuilderlatestNotificationAttemptSucceeded(String latestNotificationAttemptSucceeded)This field is no longer in use.GetTrailStatusResponse.BuilderlatestNotificationAttemptTime(String latestNotificationAttemptTime)This field is no longer in use.GetTrailStatusResponse.BuilderlatestNotificationError(String latestNotificationError)Displays any Amazon SNS error that CloudTrail encountered when attempting to send a notification.GetTrailStatusResponse.BuilderlatestNotificationTime(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.GetTrailStatusResponse.BuilderstartLoggingTime(Instant startLoggingTime)Specifies the most recent date and time when CloudTrail started recording API calls for an Amazon Web Services account.GetTrailStatusResponse.BuilderstopLoggingTime(Instant stopLoggingTime)Specifies the most recent date and time when CloudTrail stopped recording API calls for an Amazon Web Services account.GetTrailStatusResponse.BuildertimeLoggingStarted(String timeLoggingStarted)This field is no longer in use.GetTrailStatusResponse.BuildertimeLoggingStopped(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 Detail
-
isLogging
GetTrailStatusResponse.Builder isLogging(Boolean 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
GetTrailStatusResponse.Builder latestDeliveryError(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
UpdateTrailto specify the new 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, fix the bucket policy so that CloudTrail can write to the bucket; or create a new bucket and call
UpdateTrailto specify the new bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
latestNotificationError
GetTrailStatusResponse.Builder latestNotificationError(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.
- 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
GetTrailStatusResponse.Builder latestDeliveryTime(Instant 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
GetTrailStatusResponse.Builder 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.
- 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
GetTrailStatusResponse.Builder startLoggingTime(Instant 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
GetTrailStatusResponse.Builder stopLoggingTime(Instant 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
GetTrailStatusResponse.Builder latestDigestDeliveryTime(Instant 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
GetTrailStatusResponse.Builder latestDigestDeliveryError(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
UpdateTrailto specify the new 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, fix the bucket policy so that CloudTrail can write to the bucket; or create a new bucket and call
UpdateTrailto specify the new bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
latestDeliveryAttemptTime
GetTrailStatusResponse.Builder latestDeliveryAttemptTime(String 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
GetTrailStatusResponse.Builder latestNotificationAttemptTime(String 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
GetTrailStatusResponse.Builder timeLoggingStarted(String 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
GetTrailStatusResponse.Builder timeLoggingStopped(String 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.
-
-