Interface GetFindingsStatisticsResponse.Builder
- All Superinterfaces:
AccessAnalyzerResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<GetFindingsStatisticsResponse.Builder,,GetFindingsStatisticsResponse> SdkBuilder<GetFindingsStatisticsResponse.Builder,,GetFindingsStatisticsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetFindingsStatisticsResponse
@Mutable
@NotThreadSafe
public static interface GetFindingsStatisticsResponse.Builder
extends AccessAnalyzerResponse.Builder, SdkPojo, CopyableBuilder<GetFindingsStatisticsResponse.Builder,GetFindingsStatisticsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionfindingsStatistics(Collection<FindingsStatistics> findingsStatistics) A group of external access or unused access findings statistics.findingsStatistics(Consumer<FindingsStatistics.Builder>... findingsStatistics) A group of external access or unused access findings statistics.findingsStatistics(FindingsStatistics... findingsStatistics) A group of external access or unused access findings statistics.lastUpdatedAt(Instant lastUpdatedAt) The time at which the retrieval of the findings statistics was last updated.Methods inherited from interface software.amazon.awssdk.services.accessanalyzer.model.AccessAnalyzerResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
findingsStatistics
GetFindingsStatisticsResponse.Builder findingsStatistics(Collection<FindingsStatistics> findingsStatistics) A group of external access or unused access findings statistics.
- Parameters:
findingsStatistics- A group of external access or unused access findings statistics.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
findingsStatistics
A group of external access or unused access findings statistics.
- Parameters:
findingsStatistics- A group of external access or unused access findings statistics.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
findingsStatistics
GetFindingsStatisticsResponse.Builder findingsStatistics(Consumer<FindingsStatistics.Builder>... findingsStatistics) A group of external access or unused access findings statistics.
This is a convenience method that creates an instance of theFindingsStatistics.Builderavoiding the need to create one manually viaFindingsStatistics.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofindingsStatistics(List<FindingsStatistics>).- Parameters:
findingsStatistics- a consumer that will call methods onFindingsStatistics.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lastUpdatedAt
The time at which the retrieval of the findings statistics was last updated. If the findings statistics have not been previously retrieved for the specified analyzer, this field will not be populated.
- Parameters:
lastUpdatedAt- The time at which the retrieval of the findings statistics was last updated. If the findings statistics have not been previously retrieved for the specified analyzer, this field will not be populated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-