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
-
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 Detail
-
accountId
CisTargetResourceAggregation.Builder accountId(String 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
CisTargetResourceAggregation.Builder platform(String 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
CisTargetResourceAggregation.Builder scanArn(String 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
CisTargetResourceAggregation.Builder statusCounts(StatusCounts 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.Builderavoiding the need to create one manually viaStatusCounts.builder().When the
Consumercompletes,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:
statusCounts(StatusCounts)
-
targetResourceId
CisTargetResourceAggregation.Builder targetResourceId(String 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
CisTargetResourceAggregation.Builder targetStatus(String 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:
CisTargetStatus,CisTargetStatus
-
targetStatus
CisTargetResourceAggregation.Builder targetStatus(CisTargetStatus 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:
CisTargetStatus,CisTargetStatus
-
targetStatusReason
CisTargetResourceAggregation.Builder targetStatusReason(String 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:
CisTargetStatusReason,CisTargetStatusReason
-
targetStatusReason
CisTargetResourceAggregation.Builder targetStatusReason(CisTargetStatusReason 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:
CisTargetStatusReason,CisTargetStatusReason
-
-