Interface CloudTrailDetails.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<CloudTrailDetails.Builder,,- CloudTrailDetails> - SdkBuilder<CloudTrailDetails.Builder,,- CloudTrailDetails> - SdkPojo
- Enclosing class:
- CloudTrailDetails
- 
Method SummaryModifier and TypeMethodDescriptionaccessRole(String accessRole) The ARN of the service role that IAM Access Analyzer uses to access your CloudTrail trail and service last accessed information.The end of the time range for which IAM Access Analyzer reviews your CloudTrail events.The start of the time range for which IAM Access Analyzer reviews your CloudTrail events.trails(Collection<Trail> trails) ATrailobject that contains settings for a trail.trails(Consumer<Trail.Builder>... trails) ATrailobject that contains settings for a trail.ATrailobject that contains settings for a trail.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
trailsA Trailobject that contains settings for a trail.- Parameters:
- trails- A- Trailobject that contains settings for a trail.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
trailsA Trailobject that contains settings for a trail.- Parameters:
- trails- A- Trailobject that contains settings for a trail.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
trailsA This is a convenience method that creates an instance of theTrailobject that contains settings for a trail.Trail.Builderavoiding the need to create one manually viaTrail.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totrails(List<Trail>).- Parameters:
- trails- a consumer that will call methods on- Trail.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
accessRoleThe ARN of the service role that IAM Access Analyzer uses to access your CloudTrail trail and service last accessed information. - Parameters:
- accessRole- The ARN of the service role that IAM Access Analyzer uses to access your CloudTrail trail and service last accessed information.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
startTimeThe 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. - Parameters:
- 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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
endTimeThe 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. - Parameters:
- 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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
 
-