Interface ResourceStatistics.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ResourceStatistics.Builder,ResourceStatistics>,SdkBuilder<ResourceStatistics.Builder,ResourceStatistics>,SdkPojo
- Enclosing class:
- ResourceStatistics
public static interface ResourceStatistics.Builder extends SdkPojo, CopyableBuilder<ResourceStatistics.Builder,ResourceStatistics>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ResourceStatistics.BuilderaccountId(String accountId)The ID of the Amazon Web Services account.ResourceStatistics.BuilderlastGeneratedAt(Instant lastGeneratedAt)The timestamp at which the statistics for this resource was last generated.ResourceStatistics.BuilderresourceId(String resourceId)ID associated with each resource.ResourceStatistics.BuilderresourceType(String resourceType)The type of resource.ResourceStatistics.BuildertotalFindings(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 Detail
-
accountId
ResourceStatistics.Builder accountId(String 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
ResourceStatistics.Builder lastGeneratedAt(Instant 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
ResourceStatistics.Builder resourceId(String 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
ResourceStatistics.Builder resourceType(String 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
ResourceStatistics.Builder totalFindings(Integer 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.
-
-