Interface ResourceData.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ResourceData.Builder,
,ResourceData> SdkBuilder<ResourceData.Builder,
,ResourceData> SdkPojo
- Enclosing class:
ResourceData
-
Method Summary
Modifier and TypeMethodDescriptiondefault ResourceData.Builder
accessKey
(Consumer<AccessKey.Builder> accessKey) Contains information about the IAM access key details of a user that involved in the GuardDuty finding.Contains information about the IAM access key details of a user that involved in the GuardDuty finding.default ResourceData.Builder
container
(Consumer<ContainerFindingResource.Builder> container) Contains detailed information about the container associated with the activity that prompted GuardDuty to generate a finding.container
(ContainerFindingResource container) Contains detailed information about the container associated with the activity that prompted GuardDuty to generate a finding.default ResourceData.Builder
ec2Instance
(Consumer<Ec2Instance.Builder> ec2Instance) Contains information about the Amazon EC2 instance.ec2Instance
(Ec2Instance ec2Instance) Contains information about the Amazon EC2 instance.default ResourceData.Builder
ec2NetworkInterface
(Consumer<Ec2NetworkInterface.Builder> ec2NetworkInterface) Contains information about the elastic network interface of the Amazon EC2 instance.ec2NetworkInterface
(Ec2NetworkInterface ec2NetworkInterface) Contains information about the elastic network interface of the Amazon EC2 instance.default ResourceData.Builder
eksCluster
(Consumer<EksCluster.Builder> eksCluster) Contains detailed information about the Amazon EKS cluster associated with the activity that prompted GuardDuty to generate a finding.eksCluster
(EksCluster eksCluster) Contains detailed information about the Amazon EKS cluster associated with the activity that prompted GuardDuty to generate a finding.default ResourceData.Builder
kubernetesWorkload
(Consumer<KubernetesWorkload.Builder> kubernetesWorkload) Contains detailed information about the Kubernetes workload associated with the activity that prompted GuardDuty to generate a finding.kubernetesWorkload
(KubernetesWorkload kubernetesWorkload) Contains detailed information about the Kubernetes workload associated with the activity that prompted GuardDuty to generate a finding.default ResourceData.Builder
s3Bucket
(Consumer<S3Bucket.Builder> s3Bucket) Contains information about the Amazon S3 bucket.Contains information about the Amazon S3 bucket.default ResourceData.Builder
s3Object
(Consumer<S3Object.Builder> s3Object) Contains information about the Amazon S3 object.Contains information about the Amazon S3 object.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
-
s3Bucket
Contains information about the Amazon S3 bucket.
- Parameters:
s3Bucket
- Contains information about the Amazon S3 bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3Bucket
Contains information about the Amazon S3 bucket.
This is a convenience method that creates an instance of theS3Bucket.Builder
avoiding the need to create one manually viaS3Bucket.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tos3Bucket(S3Bucket)
.- Parameters:
s3Bucket
- a consumer that will call methods onS3Bucket.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ec2Instance
Contains information about the Amazon EC2 instance.
- Parameters:
ec2Instance
- Contains information about the Amazon EC2 instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ec2Instance
Contains information about the Amazon EC2 instance.
This is a convenience method that creates an instance of theEc2Instance.Builder
avoiding the need to create one manually viaEc2Instance.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toec2Instance(Ec2Instance)
.- Parameters:
ec2Instance
- a consumer that will call methods onEc2Instance.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
accessKey
Contains information about the IAM access key details of a user that involved in the GuardDuty finding.
- Parameters:
accessKey
- Contains information about the IAM access key details of a user that involved in the GuardDuty finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessKey
Contains information about the IAM access key details of a user that involved in the GuardDuty finding.
This is a convenience method that creates an instance of theAccessKey.Builder
avoiding the need to create one manually viaAccessKey.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toaccessKey(AccessKey)
.- Parameters:
accessKey
- a consumer that will call methods onAccessKey.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ec2NetworkInterface
Contains information about the elastic network interface of the Amazon EC2 instance.
- Parameters:
ec2NetworkInterface
- Contains information about the elastic network interface of the Amazon EC2 instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ec2NetworkInterface
default ResourceData.Builder ec2NetworkInterface(Consumer<Ec2NetworkInterface.Builder> ec2NetworkInterface) Contains information about the elastic network interface of the Amazon EC2 instance.
This is a convenience method that creates an instance of theEc2NetworkInterface.Builder
avoiding the need to create one manually viaEc2NetworkInterface.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toec2NetworkInterface(Ec2NetworkInterface)
.- Parameters:
ec2NetworkInterface
- a consumer that will call methods onEc2NetworkInterface.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
s3Object
Contains information about the Amazon S3 object.
- Parameters:
s3Object
- Contains information about the Amazon S3 object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3Object
Contains information about the Amazon S3 object.
This is a convenience method that creates an instance of theS3Object.Builder
avoiding the need to create one manually viaS3Object.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tos3Object(S3Object)
.- Parameters:
s3Object
- a consumer that will call methods onS3Object.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
eksCluster
Contains detailed information about the Amazon EKS cluster associated with the activity that prompted GuardDuty to generate a finding.
- Parameters:
eksCluster
- Contains detailed information about the Amazon EKS cluster 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.
-
eksCluster
Contains detailed information about the Amazon EKS cluster associated with the activity that prompted GuardDuty to generate a finding.
This is a convenience method that creates an instance of theEksCluster.Builder
avoiding the need to create one manually viaEksCluster.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toeksCluster(EksCluster)
.- Parameters:
eksCluster
- a consumer that will call methods onEksCluster.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
kubernetesWorkload
Contains detailed information about the Kubernetes workload associated with the activity that prompted GuardDuty to generate a finding.
- Parameters:
kubernetesWorkload
- Contains detailed information about the Kubernetes workload 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.
-
kubernetesWorkload
default ResourceData.Builder kubernetesWorkload(Consumer<KubernetesWorkload.Builder> kubernetesWorkload) Contains detailed information about the Kubernetes workload associated with the activity that prompted GuardDuty to generate a finding.
This is a convenience method that creates an instance of theKubernetesWorkload.Builder
avoiding the need to create one manually viaKubernetesWorkload.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tokubernetesWorkload(KubernetesWorkload)
.- Parameters:
kubernetesWorkload
- a consumer that will call methods onKubernetesWorkload.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
container
Contains detailed information about the container associated with the activity that prompted GuardDuty to generate a finding.
- Parameters:
container
- Contains detailed information about the container 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.
-
container
Contains detailed information about the container associated with the activity that prompted GuardDuty to generate a finding.
This is a convenience method that creates an instance of theContainerFindingResource.Builder
avoiding the need to create one manually viaContainerFindingResource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocontainer(ContainerFindingResource)
.- Parameters:
container
- a consumer that will call methods onContainerFindingResource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-