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) ATrailProperties
object that contains settings for trail properties.trailProperties
(Consumer<TrailProperties.Builder>... trailProperties) ATrailProperties
object that contains settings for trail properties.trailProperties
(TrailProperties... trailProperties) ATrailProperties
object that contains settings for trail properties.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
trailProperties
A
TrailProperties
object that contains settings for trail properties.- Parameters:
trailProperties
- ATrailProperties
object that contains settings for trail properties.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trailProperties
A
TrailProperties
object that contains settings for trail properties.- Parameters:
trailProperties
- ATrailProperties
object 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 theTrailProperties
object that contains settings for trail properties.TrailProperties.Builder
avoiding the need to create one manually viaTrailProperties.builder()
.When the
Consumer
completes,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.
-