Interface CisTargetResourceAggregation.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CisTargetResourceAggregation.Builder,
,CisTargetResourceAggregation> SdkBuilder<CisTargetResourceAggregation.Builder,
,CisTargetResourceAggregation> SdkPojo
- Enclosing class:
CisTargetResourceAggregation
public static interface CisTargetResourceAggregation.Builder
extends SdkPojo, CopyableBuilder<CisTargetResourceAggregation.Builder,CisTargetResourceAggregation>
-
Method Summary
Modifier and TypeMethodDescriptionThe account ID for the CIS target resource.The platform for the CIS target resource.The scan ARN for the CIS target resource.statusCounts
(Consumer<StatusCounts.Builder> statusCounts) The target resource status counts.statusCounts
(StatusCounts statusCounts) The target resource status counts.targetResourceId
(String targetResourceId) The ID of the target resource.targetResourceTags
(Map<String, ? extends Collection<String>> targetResourceTags) The tag for the target resource.targetStatus
(String targetStatus) The status of the target resource.targetStatus
(CisTargetStatus targetStatus) The status of the target resource.targetStatusReason
(String targetStatusReason) The reason for the target resource.targetStatusReason
(CisTargetStatusReason targetStatusReason) The reason for the target resource.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, sdkFields
-
Method Details
-
accountId
The account ID for the CIS target resource.
- Parameters:
accountId
- The account ID for the CIS target resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
platform
The platform for the CIS target resource.
- Parameters:
platform
- The platform for the CIS target resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scanArn
The scan ARN for the CIS target resource.
- Parameters:
scanArn
- The scan ARN for the CIS target resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statusCounts
The target resource status counts.
- Parameters:
statusCounts
- The target resource status counts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statusCounts
default CisTargetResourceAggregation.Builder statusCounts(Consumer<StatusCounts.Builder> statusCounts) The target resource status counts.
This is a convenience method that creates an instance of theStatusCounts.Builder
avoiding the need to create one manually viaStatusCounts.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostatusCounts(StatusCounts)
.- Parameters:
statusCounts
- a consumer that will call methods onStatusCounts.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
targetResourceId
The ID of the target resource.
- Parameters:
targetResourceId
- The ID of the target resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetResourceTags
CisTargetResourceAggregation.Builder targetResourceTags(Map<String, ? extends Collection<String>> targetResourceTags) The tag for the target resource.
- Parameters:
targetResourceTags
- The tag for the target resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetStatus
The status of the target resource.
- Parameters:
targetStatus
- The status of the target resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
targetStatus
The status of the target resource.
- Parameters:
targetStatus
- The status of the target resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
targetStatusReason
The reason for the target resource.
- Parameters:
targetStatusReason
- The reason for the target resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
targetStatusReason
The reason for the target resource.
- Parameters:
targetStatusReason
- The reason for the target resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-