Interface Resource.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Resource.Builder,,Resource> SdkBuilder<Resource.Builder,,Resource> SdkPojo
- Enclosing class:
Resource
-
Method Summary
Modifier and TypeMethodDescriptiondefault Resource.BuilderaccessKeyDetails(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.BuildercontainerDetails(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.BuilderebsVolumeDetails(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.BuilderecsClusterDetails(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.BuildereksClusterDetails(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.BuilderinstanceDetails(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.BuilderkubernetesDetails(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.BuilderlambdaDetails(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.BuilderrdsDbInstanceDetails(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.BuilderrdsDbUserDetails(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.BuilderrdsLimitlessDbDetails(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.Builderavoiding the need to create one manually viaAccessKeyDetails.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaS3BucketDetail.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaInstanceDetails.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaEksClusterDetails.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaKubernetesDetails.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaEbsVolumeDetails.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaEcsClusterDetails.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaContainer.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaRdsDbInstanceDetails.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaRdsLimitlessDbDetails.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaRdsDbUserDetails.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaLambdaDetails.builder().When the
Consumercompletes,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:
-