public static interface CloudTrailDetails.Builder extends SdkPojo, CopyableBuilder<CloudTrailDetails.Builder,CloudTrailDetails>
| Modifier and Type | Method and Description |
|---|---|
CloudTrailDetails.Builder |
accessRole(String accessRole)
The ARN of the service role that IAM Access Analyzer uses to access your CloudTrail trail and service last
accessed information.
|
CloudTrailDetails.Builder |
endTime(Instant endTime)
The end of the time range for which IAM Access Analyzer reviews your CloudTrail events.
|
CloudTrailDetails.Builder |
startTime(Instant startTime)
The start of the time range for which IAM Access Analyzer reviews your CloudTrail events.
|
CloudTrailDetails.Builder |
trails(Collection<Trail> trails)
A
Trail object that contains settings for a trail. |
CloudTrailDetails.Builder |
trails(Consumer<Trail.Builder>... trails)
A
Trail object that contains settings for a trail. |
CloudTrailDetails.Builder |
trails(Trail... trails)
A
Trail object that contains settings for a trail. |
equalsBySdkFields, sdkFieldscopyapplyMutation, buildCloudTrailDetails.Builder trails(Collection<Trail> trails)
A Trail object that contains settings for a trail.
trails - A Trail object that contains settings for a trail.CloudTrailDetails.Builder trails(Trail... trails)
A Trail object that contains settings for a trail.
trails - A Trail object that contains settings for a trail.CloudTrailDetails.Builder trails(Consumer<Trail.Builder>... trails)
A Trail object that contains settings for a trail.
Trail.Builder avoiding the need to create one
manually via Trail.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #trails(List.
trails - a consumer that will call methods on
Trail.Builder#trails(java.util.Collection) CloudTrailDetails.Builder accessRole(String accessRole)
The ARN of the service role that IAM Access Analyzer uses to access your CloudTrail trail and service last accessed information.
accessRole - The ARN of the service role that IAM Access Analyzer uses to access your CloudTrail trail and service
last accessed information.CloudTrailDetails.Builder startTime(Instant startTime)
The start of the time range for which IAM Access Analyzer reviews your CloudTrail events. Events with a timestamp before this time are not considered to generate a policy.
startTime - The start of the time range for which IAM Access Analyzer reviews your CloudTrail events. Events with
a timestamp before this time are not considered to generate a policy.CloudTrailDetails.Builder endTime(Instant endTime)
The end of the time range for which IAM Access Analyzer reviews your CloudTrail events. Events with a timestamp after this time are not considered to generate a policy. If this is not included in the request, the default value is the current time.
endTime - The end of the time range for which IAM Access Analyzer reviews your CloudTrail events. Events with a
timestamp after this time are not considered to generate a policy. If this is not included in the
request, the default value is the current time.Copyright © 2023. All rights reserved.