Interface CloudTrailProperties.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CloudTrailProperties.Builder,,CloudTrailProperties> SdkBuilder<CloudTrailProperties.Builder,,CloudTrailProperties> SdkPojo
- Enclosing class:
CloudTrailProperties
-
Method Summary
Modifier and TypeMethodDescriptionThe 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.trailProperties(Collection<TrailProperties> trailProperties) ATrailPropertiesobject that contains settings for trail properties.trailProperties(Consumer<TrailProperties.Builder>... trailProperties) ATrailPropertiesobject that contains settings for trail properties.trailProperties(TrailProperties... trailProperties) ATrailPropertiesobject that contains settings for trail properties.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, sdkFields
-
Method Details
-
trailProperties
A
TrailPropertiesobject that contains settings for trail properties.- Parameters:
trailProperties- ATrailPropertiesobject that contains settings for trail properties.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trailProperties
A
TrailPropertiesobject that contains settings for trail properties.- Parameters:
trailProperties- ATrailPropertiesobject that contains settings for trail properties.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trailProperties
A
This is a convenience method that creates an instance of theTrailPropertiesobject that contains settings for trail properties.TrailProperties.Builderavoiding the need to create one manually viaTrailProperties.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totrailProperties(List<TrailProperties>).- Parameters:
trailProperties- a consumer that will call methods onTrailProperties.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- 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.
-
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.
- 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.
-