Interface TrailProperties.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<TrailProperties.Builder,,TrailProperties> SdkBuilder<TrailProperties.Builder,,TrailProperties> SdkPojo
- Enclosing class:
TrailProperties
@Mutable
@NotThreadSafe
public static interface TrailProperties.Builder
extends SdkPojo, CopyableBuilder<TrailProperties.Builder,TrailProperties>
-
Method Summary
Modifier and TypeMethodDescriptionallRegions(Boolean allRegions) Possible values aretrueorfalse.cloudTrailArn(String cloudTrailArn) Specifies the ARN of the trail.A list of regions to get CloudTrail data from and analyze to generate a policy.regions(Collection<String> regions) A list of regions to get CloudTrail data from and analyze to generate a policy.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
cloudTrailArn
Specifies the ARN of the trail. The format of a trail ARN is
arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail.- Parameters:
cloudTrailArn- Specifies the ARN of the trail. The format of a trail ARN isarn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
regions
A list of regions to get CloudTrail data from and analyze to generate a policy.
- Parameters:
regions- A list of regions to get CloudTrail data from and analyze to generate a policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
regions
A list of regions to get CloudTrail data from and analyze to generate a policy.
- Parameters:
regions- A list of regions to get CloudTrail data from and analyze to generate a policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allRegions
Possible values are
trueorfalse. If set totrue, IAM Access Analyzer retrieves CloudTrail data from all regions to analyze and generate a policy.- Parameters:
allRegions- Possible values aretrueorfalse. If set totrue, IAM Access Analyzer retrieves CloudTrail data from all regions to analyze and generate a policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-