Interface Resource.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Resource.Builder,
,Resource> SdkBuilder<Resource.Builder,
,Resource> SdkPojo
- Enclosing class:
Resource
-
Method Summary
Modifier and TypeMethodDescriptiondefault Resource.Builder
accessKeyDetails
(Consumer<AccessKeyDetails.Builder> accessKeyDetails) The IAM access key details (user information) of a user that engaged in the activity that prompted GuardDuty to generate a finding.accessKeyDetails
(AccessKeyDetails accessKeyDetails) The IAM access key details (user information) of a user that engaged in the activity that prompted GuardDuty to generate a finding.default Resource.Builder
containerDetails
(Consumer<Container.Builder> containerDetails) Sets the value of the ContainerDetails property for this object.containerDetails
(Container containerDetails) Sets the value of the ContainerDetails property for this object.default Resource.Builder
ebsVolumeDetails
(Consumer<EbsVolumeDetails.Builder> ebsVolumeDetails) Contains list of scanned and skipped EBS volumes with details.ebsVolumeDetails
(EbsVolumeDetails ebsVolumeDetails) Contains list of scanned and skipped EBS volumes with details.default Resource.Builder
ecsClusterDetails
(Consumer<EcsClusterDetails.Builder> ecsClusterDetails) Contains information about the details of the ECS Cluster.ecsClusterDetails
(EcsClusterDetails ecsClusterDetails) Contains information about the details of the ECS Cluster.default Resource.Builder
eksClusterDetails
(Consumer<EksClusterDetails.Builder> eksClusterDetails) Details about the EKS cluster involved in a Kubernetes finding.eksClusterDetails
(EksClusterDetails eksClusterDetails) Details about the EKS cluster involved in a Kubernetes finding.default Resource.Builder
instanceDetails
(Consumer<InstanceDetails.Builder> instanceDetails) The information about the EC2 instance associated with the activity that prompted GuardDuty to generate a finding.instanceDetails
(InstanceDetails instanceDetails) The information about the EC2 instance associated with the activity that prompted GuardDuty to generate a finding.default Resource.Builder
kubernetesDetails
(Consumer<KubernetesDetails.Builder> kubernetesDetails) Details about the Kubernetes user and workload involved in a Kubernetes finding.kubernetesDetails
(KubernetesDetails kubernetesDetails) Details about the Kubernetes user and workload involved in a Kubernetes finding.default Resource.Builder
lambdaDetails
(Consumer<LambdaDetails.Builder> lambdaDetails) Contains information about the Lambda function that was involved in a finding.lambdaDetails
(LambdaDetails lambdaDetails) Contains information about the Lambda function that was involved in a finding.default Resource.Builder
rdsDbInstanceDetails
(Consumer<RdsDbInstanceDetails.Builder> rdsDbInstanceDetails) Contains information about the database instance to which an anomalous login attempt was made.rdsDbInstanceDetails
(RdsDbInstanceDetails rdsDbInstanceDetails) Contains information about the database instance to which an anomalous login attempt was made.default Resource.Builder
rdsDbUserDetails
(Consumer<RdsDbUserDetails.Builder> rdsDbUserDetails) Contains information about the user details through which anomalous login attempt was made.rdsDbUserDetails
(RdsDbUserDetails rdsDbUserDetails) Contains information about the user details through which anomalous login attempt was made.default Resource.Builder
rdsLimitlessDbDetails
(Consumer<RdsLimitlessDbDetails.Builder> rdsLimitlessDbDetails) Contains information about the RDS Limitless database that was involved in a GuardDuty finding.rdsLimitlessDbDetails
(RdsLimitlessDbDetails rdsLimitlessDbDetails) Contains information about the RDS Limitless database that was involved in a GuardDuty finding.resourceType
(String resourceType) The type of Amazon Web Services resource.s3BucketDetails
(Collection<S3BucketDetail> s3BucketDetails) Contains information on the S3 bucket.s3BucketDetails
(Consumer<S3BucketDetail.Builder>... s3BucketDetails) Contains information on the S3 bucket.s3BucketDetails
(S3BucketDetail... s3BucketDetails) Contains information on the S3 bucket.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
-
accessKeyDetails
The IAM access key details (user information) of a user that engaged in the activity that prompted GuardDuty to generate a finding.
- Parameters:
accessKeyDetails
- The IAM access key details (user information) of a user that engaged in the activity that prompted GuardDuty to generate a finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessKeyDetails
The IAM access key details (user information) of a user that engaged in the activity that prompted GuardDuty to generate a finding.
This is a convenience method that creates an instance of theAccessKeyDetails.Builder
avoiding the need to create one manually viaAccessKeyDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toaccessKeyDetails(AccessKeyDetails)
.- Parameters:
accessKeyDetails
- a consumer that will call methods onAccessKeyDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
s3BucketDetails
Contains information on the S3 bucket.
- Parameters:
s3BucketDetails
- Contains information on the S3 bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3BucketDetails
Contains information on the S3 bucket.
- Parameters:
s3BucketDetails
- Contains information on the S3 bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3BucketDetails
Contains information on the S3 bucket.
This is a convenience method that creates an instance of theS3BucketDetail.Builder
avoiding the need to create one manually viaS3BucketDetail.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tos3BucketDetails(List<S3BucketDetail>)
.- Parameters:
s3BucketDetails
- a consumer that will call methods onS3BucketDetail.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
instanceDetails
The information about the EC2 instance associated with the activity that prompted GuardDuty to generate a finding.
- Parameters:
instanceDetails
- The information about the EC2 instance associated with the activity that prompted GuardDuty to generate a finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceDetails
The information about the EC2 instance associated with the activity that prompted GuardDuty to generate a finding.
This is a convenience method that creates an instance of theInstanceDetails.Builder
avoiding the need to create one manually viaInstanceDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinstanceDetails(InstanceDetails)
.- Parameters:
instanceDetails
- a consumer that will call methods onInstanceDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
eksClusterDetails
Details about the EKS cluster involved in a Kubernetes finding.
- Parameters:
eksClusterDetails
- Details about the EKS cluster involved in a Kubernetes finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eksClusterDetails
Details about the EKS cluster involved in a Kubernetes finding.
This is a convenience method that creates an instance of theEksClusterDetails.Builder
avoiding the need to create one manually viaEksClusterDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toeksClusterDetails(EksClusterDetails)
.- Parameters:
eksClusterDetails
- a consumer that will call methods onEksClusterDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
kubernetesDetails
Details about the Kubernetes user and workload involved in a Kubernetes finding.
- Parameters:
kubernetesDetails
- Details about the Kubernetes user and workload involved in a Kubernetes finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kubernetesDetails
Details about the Kubernetes user and workload involved in a Kubernetes finding.
This is a convenience method that creates an instance of theKubernetesDetails.Builder
avoiding the need to create one manually viaKubernetesDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tokubernetesDetails(KubernetesDetails)
.- Parameters:
kubernetesDetails
- a consumer that will call methods onKubernetesDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resourceType
The type of Amazon Web Services resource.
- Parameters:
resourceType
- The type of Amazon Web Services resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ebsVolumeDetails
Contains list of scanned and skipped EBS volumes with details.
- Parameters:
ebsVolumeDetails
- Contains list of scanned and skipped EBS volumes with details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ebsVolumeDetails
Contains list of scanned and skipped EBS volumes with details.
This is a convenience method that creates an instance of theEbsVolumeDetails.Builder
avoiding the need to create one manually viaEbsVolumeDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toebsVolumeDetails(EbsVolumeDetails)
.- Parameters:
ebsVolumeDetails
- a consumer that will call methods onEbsVolumeDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ecsClusterDetails
Contains information about the details of the ECS Cluster.
- Parameters:
ecsClusterDetails
- Contains information about the details of the ECS Cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ecsClusterDetails
Contains information about the details of the ECS Cluster.
This is a convenience method that creates an instance of theEcsClusterDetails.Builder
avoiding the need to create one manually viaEcsClusterDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toecsClusterDetails(EcsClusterDetails)
.- Parameters:
ecsClusterDetails
- a consumer that will call methods onEcsClusterDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
containerDetails
Sets the value of the ContainerDetails property for this object.- Parameters:
containerDetails
- The new value for the ContainerDetails property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
containerDetails
Sets the value of the ContainerDetails property for this object. This is a convenience method that creates an instance of theContainer.Builder
avoiding the need to create one manually viaContainer.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocontainerDetails(Container)
.- Parameters:
containerDetails
- a consumer that will call methods onContainer.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
rdsDbInstanceDetails
Contains information about the database instance to which an anomalous login attempt was made.
- Parameters:
rdsDbInstanceDetails
- Contains information about the database instance to which an anomalous login attempt was made.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rdsDbInstanceDetails
default Resource.Builder rdsDbInstanceDetails(Consumer<RdsDbInstanceDetails.Builder> rdsDbInstanceDetails) Contains information about the database instance to which an anomalous login attempt was made.
This is a convenience method that creates an instance of theRdsDbInstanceDetails.Builder
avoiding the need to create one manually viaRdsDbInstanceDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tordsDbInstanceDetails(RdsDbInstanceDetails)
.- Parameters:
rdsDbInstanceDetails
- a consumer that will call methods onRdsDbInstanceDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
rdsLimitlessDbDetails
Contains information about the RDS Limitless database that was involved in a GuardDuty finding.
- Parameters:
rdsLimitlessDbDetails
- Contains information about the RDS Limitless database that was involved in a GuardDuty finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rdsLimitlessDbDetails
default Resource.Builder rdsLimitlessDbDetails(Consumer<RdsLimitlessDbDetails.Builder> rdsLimitlessDbDetails) Contains information about the RDS Limitless database that was involved in a GuardDuty finding.
This is a convenience method that creates an instance of theRdsLimitlessDbDetails.Builder
avoiding the need to create one manually viaRdsLimitlessDbDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tordsLimitlessDbDetails(RdsLimitlessDbDetails)
.- Parameters:
rdsLimitlessDbDetails
- a consumer that will call methods onRdsLimitlessDbDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
rdsDbUserDetails
Contains information about the user details through which anomalous login attempt was made.
- Parameters:
rdsDbUserDetails
- Contains information about the user details through which anomalous login attempt was made.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rdsDbUserDetails
Contains information about the user details through which anomalous login attempt was made.
This is a convenience method that creates an instance of theRdsDbUserDetails.Builder
avoiding the need to create one manually viaRdsDbUserDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tordsDbUserDetails(RdsDbUserDetails)
.- Parameters:
rdsDbUserDetails
- a consumer that will call methods onRdsDbUserDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lambdaDetails
Contains information about the Lambda function that was involved in a finding.
- Parameters:
lambdaDetails
- Contains information about the Lambda function that was involved in a finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lambdaDetails
Contains information about the Lambda function that was involved in a finding.
This is a convenience method that creates an instance of theLambdaDetails.Builder
avoiding the need to create one manually viaLambdaDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolambdaDetails(LambdaDetails)
.- Parameters:
lambdaDetails
- a consumer that will call methods onLambdaDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-