Interface StartResourceActivitiesQueryRequest.Builder
- All Superinterfaces:
AssuranceRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<StartResourceActivitiesQueryRequest.Builder,,StartResourceActivitiesQueryRequest> SdkBuilder<StartResourceActivitiesQueryRequest.Builder,,StartResourceActivitiesQueryRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
StartResourceActivitiesQueryRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe ARN of the agent runtime whose activity to query.aggregationLevels(Collection<ActivityAggregationLevel> aggregationLevels) The ways to group the results.aggregationLevels(ActivityAggregationLevel... aggregationLevels) The ways to group the results.aggregationLevelsWithStrings(String... aggregationLevels) The ways to group the results.aggregationLevelsWithStrings(Collection<String> aggregationLevels) The ways to group the results.The end of the time range to query, exclusive.environmentArn(String environmentArn) The ARN of the environment to query in.filters(Collection<ResourceActivitiesFilter> filters) The filters to apply to the results.filters(Consumer<ResourceActivitiesFilter.Builder>... filters) The filters to apply to the results.filters(ResourceActivitiesFilter... filters) The filters to apply to the results.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The project to query in.The start of the time range to query, inclusive.Methods inherited from interface software.amazon.awssdk.services.assurance.model.AssuranceRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods 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
-
environmentArn
The ARN of the environment to query in.
- Parameters:
environmentArn- The ARN of the environment to query in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
project
The project to query in.
- Parameters:
project- The project to query in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actorArn
The ARN of the agent runtime whose activity to query. The agent runtime must be in your AWS account.
- Parameters:
actorArn- The ARN of the agent runtime whose activity to query. The agent runtime must be in your AWS account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startTime
The start of the time range to query, inclusive. The default is 24 hours before the request.
- Parameters:
startTime- The start of the time range to query, inclusive. The default is 24 hours before the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
The end of the time range to query, exclusive. The default is the time of the request.
- Parameters:
endTime- The end of the time range to query, exclusive. The default is the time of the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
aggregationLevelsWithStrings
StartResourceActivitiesQueryRequest.Builder aggregationLevelsWithStrings(Collection<String> aggregationLevels) The ways to group the results. By default, the results include every grouping. Valid values:
-
ACTION– Call counts for each AWS service and API action. -
RESOURCE– Call counts for each resource. -
SESSION– The agent sessions in the time range.
- Parameters:
aggregationLevels- The ways to group the results. By default, the results include every grouping. Valid values:-
ACTION– Call counts for each AWS service and API action. -
RESOURCE– Call counts for each resource. -
SESSION– The agent sessions in the time range.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
aggregationLevelsWithStrings
StartResourceActivitiesQueryRequest.Builder aggregationLevelsWithStrings(String... aggregationLevels) The ways to group the results. By default, the results include every grouping. Valid values:
-
ACTION– Call counts for each AWS service and API action. -
RESOURCE– Call counts for each resource. -
SESSION– The agent sessions in the time range.
- Parameters:
aggregationLevels- The ways to group the results. By default, the results include every grouping. Valid values:-
ACTION– Call counts for each AWS service and API action. -
RESOURCE– Call counts for each resource. -
SESSION– The agent sessions in the time range.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
aggregationLevels
StartResourceActivitiesQueryRequest.Builder aggregationLevels(Collection<ActivityAggregationLevel> aggregationLevels) The ways to group the results. By default, the results include every grouping. Valid values:
-
ACTION– Call counts for each AWS service and API action. -
RESOURCE– Call counts for each resource. -
SESSION– The agent sessions in the time range.
- Parameters:
aggregationLevels- The ways to group the results. By default, the results include every grouping. Valid values:-
ACTION– Call counts for each AWS service and API action. -
RESOURCE– Call counts for each resource. -
SESSION– The agent sessions in the time range.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
aggregationLevels
StartResourceActivitiesQueryRequest.Builder aggregationLevels(ActivityAggregationLevel... aggregationLevels) The ways to group the results. By default, the results include every grouping. Valid values:
-
ACTION– Call counts for each AWS service and API action. -
RESOURCE– Call counts for each resource. -
SESSION– The agent sessions in the time range.
- Parameters:
aggregationLevels- The ways to group the results. By default, the results include every grouping. Valid values:-
ACTION– Call counts for each AWS service and API action. -
RESOURCE– Call counts for each resource. -
SESSION– The agent sessions in the time range.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
filters
The filters to apply to the results. A result must match every filter. Within one filter, a result must match at least one of the values. If you don't specify any filters, the query returns all activity in the time range.
- Parameters:
filters- The filters to apply to the results. A result must match every filter. Within one filter, a result must match at least one of the values. If you don't specify any filters, the query returns all activity in the time range.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
The filters to apply to the results. A result must match every filter. Within one filter, a result must match at least one of the values. If you don't specify any filters, the query returns all activity in the time range.
- Parameters:
filters- The filters to apply to the results. A result must match every filter. Within one filter, a result must match at least one of the values. If you don't specify any filters, the query returns all activity in the time range.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
StartResourceActivitiesQueryRequest.Builder filters(Consumer<ResourceActivitiesFilter.Builder>... filters) The filters to apply to the results. A result must match every filter. Within one filter, a result must match at least one of the values. If you don't specify any filters, the query returns all activity in the time range.
This is a convenience method that creates an instance of theResourceActivitiesFilter.Builderavoiding the need to create one manually viaResourceActivitiesFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofilters(List<ResourceActivitiesFilter>).- Parameters:
filters- a consumer that will call methods onResourceActivitiesFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
StartResourceActivitiesQueryRequest.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
StartResourceActivitiesQueryRequest.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.
-