Interface ListInsightsDataRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CloudTrailRequest.Builder,CopyableBuilder<ListInsightsDataRequest.Builder,,ListInsightsDataRequest> SdkBuilder<ListInsightsDataRequest.Builder,,ListInsightsDataRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ListInsightsDataRequest
-
Method Summary
Modifier and TypeMethodDescriptionSpecifies the category of events returned.dataType(ListInsightsDataType dataType) Specifies the category of events returned.dimensions(Map<ListInsightsDataDimensionKey, String> dimensions) Contains a map of dimensions.dimensionsWithStrings(Map<String, String> dimensions) Contains a map of dimensions.Specifies that only events that occur before or at the specified time are returned.insightSource(String insightSource) The Amazon Resource Name(ARN) of the trail for which you want to retrieve Insights events.maxResults(Integer maxResults) The number of events to return.The token to use to get the next page of results after a previous API call.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Specifies that only events that occur after or at the specified time are returned.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.cloudtrail.model.CloudTrailRequest.Builder
buildMethods 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
-
insightSource
The Amazon Resource Name(ARN) of the trail for which you want to retrieve Insights events.
- Parameters:
insightSource- The Amazon Resource Name(ARN) of the trail for which you want to retrieve Insights events.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataType
Specifies the category of events returned. To fetch Insights events, specify
InsightsEventsas the value ofDataType- Parameters:
dataType- Specifies the category of events returned. To fetch Insights events, specifyInsightsEventsas the value ofDataType- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dataType
Specifies the category of events returned. To fetch Insights events, specify
InsightsEventsas the value ofDataType- Parameters:
dataType- Specifies the category of events returned. To fetch Insights events, specifyInsightsEventsas the value ofDataType- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dimensionsWithStrings
Contains a map of dimensions. Currently the map can contain only one item.
- Parameters:
dimensions- Contains a map of dimensions. Currently the map can contain only one item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dimensions
Contains a map of dimensions. Currently the map can contain only one item.
- Parameters:
dimensions- Contains a map of dimensions. Currently the map can contain only one item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startTime
Specifies that only events that occur after or at the specified time are returned. If the specified start time is after the specified end time, an error is returned.
- Parameters:
startTime- Specifies that only events that occur after or at the specified time are returned. If the specified start time is after the specified end time, an error is returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
Specifies that only events that occur before or at the specified time are returned. If the specified end time is before the specified start time, an error is returned.
- Parameters:
endTime- Specifies that only events that occur before or at the specified time are returned. If the specified end time is before the specified start time, an error is returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
The number of events to return. Possible values are 1 through 50. The default is 50.
- Parameters:
maxResults- The number of events to return. Possible values are 1 through 50. The default is 50.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
The token to use to get the next page of results after a previous API call. This token must be passed in with the same parameters that were specified in the original call. For example, if the original call specified a EventName as a dimension with
PutObjectas a value, the call with NextToken should include those same parameters.- Parameters:
nextToken- The token to use to get the next page of results after a previous API call. This token must be passed in with the same parameters that were specified in the original call. For example, if the original call specified a EventName as a dimension withPutObjectas a value, the call with NextToken should include those same parameters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListInsightsDataRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ListInsightsDataRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-