Interface CloudTrailProperties.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<CloudTrailProperties.Builder,CloudTrailProperties>,SdkBuilder<CloudTrailProperties.Builder,CloudTrailProperties>,SdkPojo
- Enclosing class:
- CloudTrailProperties
public static interface CloudTrailProperties.Builder extends SdkPojo, CopyableBuilder<CloudTrailProperties.Builder,CloudTrailProperties>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CloudTrailProperties.BuilderendTime(Instant endTime)The end of the time range for which IAM Access Analyzer reviews your CloudTrail events.CloudTrailProperties.BuilderstartTime(Instant startTime)The start of the time range for which IAM Access Analyzer reviews your CloudTrail events.CloudTrailProperties.BuildertrailProperties(Collection<TrailProperties> trailProperties)ATrailPropertiesobject that contains settings for trail properties.CloudTrailProperties.BuildertrailProperties(Consumer<TrailProperties.Builder>... trailProperties)ATrailPropertiesobject that contains settings for trail properties.CloudTrailProperties.BuildertrailProperties(TrailProperties... trailProperties)ATrailPropertiesobject 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 Detail
-
trailProperties
CloudTrailProperties.Builder trailProperties(Collection<TrailProperties> 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
CloudTrailProperties.Builder trailProperties(TrailProperties... 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
CloudTrailProperties.Builder trailProperties(Consumer<TrailProperties.Builder>... 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 to#trailProperties(List.) - 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:
#trailProperties(java.util.Collection)
-
startTime
CloudTrailProperties.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.
- 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
CloudTrailProperties.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.
- 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.
-
-