Interface CodeRepositoryAggregationResponse.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CodeRepositoryAggregationResponse.Builder,
,CodeRepositoryAggregationResponse> SdkBuilder<CodeRepositoryAggregationResponse.Builder,
,CodeRepositoryAggregationResponse> SdkPojo
- Enclosing class:
CodeRepositoryAggregationResponse
@Mutable
@NotThreadSafe
public static interface CodeRepositoryAggregationResponse.Builder
extends SdkPojo, CopyableBuilder<CodeRepositoryAggregationResponse.Builder,CodeRepositoryAggregationResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Web Services account ID associated with the code repository.exploitAvailableActiveFindingsCount
(Long exploitAvailableActiveFindingsCount) The number of active findings that have an exploit available for the code repository.fixAvailableActiveFindingsCount
(Long fixAvailableActiveFindingsCount) The number of active findings that have a fix available for the code repository.projectNames
(String projectNames) The names of the projects associated with the code repository.providerType
(String providerType) The type of repository provider for the code repository.resourceId
(String resourceId) The resource ID of the code repository.severityCounts
(Consumer<SeverityCounts.Builder> severityCounts) Sets the value of the SeverityCounts property for this object.severityCounts
(SeverityCounts severityCounts) Sets the value of the SeverityCounts property for this object.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, sdkFieldNameToField, sdkFields
-
Method Details
-
accountId
The Amazon Web Services account ID associated with the code repository.
- Parameters:
accountId
- The Amazon Web Services account ID associated with the code repository.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
exploitAvailableActiveFindingsCount
CodeRepositoryAggregationResponse.Builder exploitAvailableActiveFindingsCount(Long exploitAvailableActiveFindingsCount) The number of active findings that have an exploit available for the code repository.
- Parameters:
exploitAvailableActiveFindingsCount
- The number of active findings that have an exploit available for the code repository.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fixAvailableActiveFindingsCount
CodeRepositoryAggregationResponse.Builder fixAvailableActiveFindingsCount(Long fixAvailableActiveFindingsCount) The number of active findings that have a fix available for the code repository.
- Parameters:
fixAvailableActiveFindingsCount
- The number of active findings that have a fix available for the code repository.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
projectNames
The names of the projects associated with the code repository.
- Parameters:
projectNames
- The names of the projects associated with the code repository.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
providerType
The type of repository provider for the code repository.
- Parameters:
providerType
- The type of repository provider for the code repository.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceId
The resource ID of the code repository.
- Parameters:
resourceId
- The resource ID of the code repository.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
severityCounts
Sets the value of the SeverityCounts property for this object.- Parameters:
severityCounts
- The new value for the SeverityCounts property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
severityCounts
default CodeRepositoryAggregationResponse.Builder severityCounts(Consumer<SeverityCounts.Builder> severityCounts) Sets the value of the SeverityCounts property for this object. This is a convenience method that creates an instance of theSeverityCounts.Builder
avoiding the need to create one manually viaSeverityCounts.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toseverityCounts(SeverityCounts)
.- Parameters:
severityCounts
- a consumer that will call methods onSeverityCounts.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-