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 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 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.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 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.
List.Builder avoiding the need to create
one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its result
is passed to #trails(List) .trails - a consumer that will call methods on List.Builder #trails(List) Copyright © 2022. All rights reserved.