Interface ResourceStatistics.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ResourceStatistics.Builder,
,ResourceStatistics> SdkBuilder<ResourceStatistics.Builder,
,ResourceStatistics> SdkPojo
- Enclosing class:
ResourceStatistics
-
Method Summary
Modifier and TypeMethodDescriptionThe ID of the Amazon Web Services account.lastGeneratedAt
(Instant lastGeneratedAt) The timestamp at which the statistics for this resource was last generated.resourceId
(String resourceId) ID associated with each resource.resourceType
(String resourceType) The type of resource.totalFindings
(Integer totalFindings) The total number of findings associated with this 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, sdkFieldNameToField, sdkFields
-
Method Details
-
accountId
The ID of the Amazon Web Services account.
- Parameters:
accountId
- The ID of the Amazon Web Services account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastGeneratedAt
The timestamp at which the statistics for this resource was last generated.
- Parameters:
lastGeneratedAt
- The timestamp at which the statistics for this resource was last generated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceId
ID associated with each resource. The following list provides the mapping of the resource type and resource ID.
Mapping of resource and resource ID
-
AccessKey -
resource.accessKeyDetails.accessKeyId
-
Container -
resource.containerDetails.id
-
ECSCluster -
resource.ecsClusterDetails.name
-
EKSCluster -
resource.eksClusterDetails.name
-
Instance -
resource.instanceDetails.instanceId
-
KubernetesCluster -
resource.kubernetesDetails.kubernetesWorkloadDetails.name
-
Lambda -
resource.lambdaDetails.functionName
-
RDSDBInstance -
resource.rdsDbInstanceDetails.dbInstanceIdentifier
-
S3Bucket -
resource.s3BucketDetails.name
-
S3Object -
resource.s3BucketDetails.name
- Parameters:
resourceId
- ID associated with each resource. The following list provides the mapping of the resource type and resource ID.Mapping of resource and resource ID
-
AccessKey -
resource.accessKeyDetails.accessKeyId
-
Container -
resource.containerDetails.id
-
ECSCluster -
resource.ecsClusterDetails.name
-
EKSCluster -
resource.eksClusterDetails.name
-
Instance -
resource.instanceDetails.instanceId
-
KubernetesCluster -
resource.kubernetesDetails.kubernetesWorkloadDetails.name
-
Lambda -
resource.lambdaDetails.functionName
-
RDSDBInstance -
resource.rdsDbInstanceDetails.dbInstanceIdentifier
-
S3Bucket -
resource.s3BucketDetails.name
-
S3Object -
resource.s3BucketDetails.name
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
resourceType
The type of resource.
- Parameters:
resourceType
- The type of resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
totalFindings
The total number of findings associated with this resource.
- Parameters:
totalFindings
- The total number of findings associated with this resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-