Interface DryRunResult.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DryRunResult.Builder,,DryRunResult> SdkBuilder<DryRunResult.Builder,,DryRunResult> SdkPojo
- Enclosing class:
DryRunResult
-
Method Summary
Modifier and TypeMethodDescriptiondecreasedRetentionLogGroupCount(Integer decreasedRetentionLogGroupCount) The number of log groups whose effective retention period would become shorter.failedAnalysisCount(Integer failedAnalysisCount) The number of log groups in the scope of the policy that could not be analyzed.increasedRetentionLogGroupCount(Integer increasedRetentionLogGroupCount) The number of log groups whose effective retention period would become longer.topLogGroupsImpacted(Collection<LogGroupImpact> topLogGroupsImpacted) Up to 20 log groups in the scope of the policy, sorted by stored bytes in descending order.topLogGroupsImpacted(Consumer<LogGroupImpact.Builder>... topLogGroupsImpacted) Up to 20 log groups in the scope of the policy, sorted by stored bytes in descending order.topLogGroupsImpacted(LogGroupImpact... topLogGroupsImpacted) Up to 20 log groups in the scope of the policy, sorted by stored bytes in descending order.totalMatchedLogGroups(Integer totalMatchedLogGroups) The number of log groups in the scope of the policy that were analyzed.unchangedRetentionLogGroupCount(Integer unchangedRetentionLogGroupCount) The number of log groups whose effective retention period would not change.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, sdkFieldNameToField, sdkFields
-
Method Details
-
totalMatchedLogGroups
The number of log groups in the scope of the policy that were analyzed. This value is the sum of
increasedRetentionLogGroupCount,decreasedRetentionLogGroupCount, andunchangedRetentionLogGroupCount, and does not include log groups that could not be analyzed.- Parameters:
totalMatchedLogGroups- The number of log groups in the scope of the policy that were analyzed. This value is the sum ofincreasedRetentionLogGroupCount,decreasedRetentionLogGroupCount, andunchangedRetentionLogGroupCount, and does not include log groups that could not be analyzed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
increasedRetentionLogGroupCount
The number of log groups whose effective retention period would become longer.
- Parameters:
increasedRetentionLogGroupCount- The number of log groups whose effective retention period would become longer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
decreasedRetentionLogGroupCount
The number of log groups whose effective retention period would become shorter.
- Parameters:
decreasedRetentionLogGroupCount- The number of log groups whose effective retention period would become shorter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
unchangedRetentionLogGroupCount
The number of log groups whose effective retention period would not change.
- Parameters:
unchangedRetentionLogGroupCount- The number of log groups whose effective retention period would not change.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failedAnalysisCount
The number of log groups in the scope of the policy that could not be analyzed. These log groups are not included in
totalMatchedLogGroups.- Parameters:
failedAnalysisCount- The number of log groups in the scope of the policy that could not be analyzed. These log groups are not included intotalMatchedLogGroups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
topLogGroupsImpacted
Up to 20 log groups in the scope of the policy, sorted by stored bytes in descending order. This list can include log groups whose effective retention period would not change.
- Parameters:
topLogGroupsImpacted- Up to 20 log groups in the scope of the policy, sorted by stored bytes in descending order. This list can include log groups whose effective retention period would not change.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
topLogGroupsImpacted
Up to 20 log groups in the scope of the policy, sorted by stored bytes in descending order. This list can include log groups whose effective retention period would not change.
- Parameters:
topLogGroupsImpacted- Up to 20 log groups in the scope of the policy, sorted by stored bytes in descending order. This list can include log groups whose effective retention period would not change.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
topLogGroupsImpacted
Up to 20 log groups in the scope of the policy, sorted by stored bytes in descending order. This list can include log groups whose effective retention period would not change.
This is a convenience method that creates an instance of theLogGroupImpact.Builderavoiding the need to create one manually viaLogGroupImpact.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totopLogGroupsImpacted(List<LogGroupImpact>).- Parameters:
topLogGroupsImpacted- a consumer that will call methods onLogGroupImpact.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-