Interface ResourceData.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ResourceData.Builder,,ResourceData> SdkBuilder<ResourceData.Builder,,ResourceData> SdkPojo
- Enclosing class:
ResourceData
-
Method Summary
Modifier and TypeMethodDescriptiondefault ResourceData.BuilderaccessKey(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.BuilderautoscalingAutoScalingGroup(Consumer<AutoscalingAutoScalingGroup.Builder> autoscalingAutoScalingGroup) Contains detailed information about the Auto Scaling Group associated with the activity that prompted GuardDuty to generate a finding.autoscalingAutoScalingGroup(AutoscalingAutoScalingGroup autoscalingAutoScalingGroup) Contains detailed information about the Auto Scaling Group associated with the activity that prompted GuardDuty to generate a finding.default ResourceData.BuildercloudformationStack(Consumer<CloudformationStack.Builder> cloudformationStack) Contains detailed information about the CloudFormation stack associated with the activity that prompted GuardDuty to generate a finding.cloudformationStack(CloudformationStack cloudformationStack) Contains detailed information about the CloudFormation stack associated with the activity that prompted GuardDuty to generate a finding.default ResourceData.Buildercontainer(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.Builderec2Image(Consumer<Ec2Image.Builder> ec2Image) Contains detailed information about the EC2 Image associated with the activity that prompted GuardDuty to generate a finding.Contains detailed information about the EC2 Image associated with the activity that prompted GuardDuty to generate a finding.default ResourceData.Builderec2Instance(Consumer<Ec2Instance.Builder> ec2Instance) Contains information about the Amazon EC2 instance.ec2Instance(Ec2Instance ec2Instance) Contains information about the Amazon EC2 instance.default ResourceData.Builderec2LaunchTemplate(Consumer<Ec2LaunchTemplate.Builder> ec2LaunchTemplate) Contains detailed information about the EC2 launch template associated with the activity that prompted GuardDuty to generate a finding.ec2LaunchTemplate(Ec2LaunchTemplate ec2LaunchTemplate) Contains detailed information about the EC2 launch template associated with the activity that prompted GuardDuty to generate a finding.default ResourceData.Builderec2NetworkInterface(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.Builderec2Vpc(Consumer<Ec2Vpc.Builder> ec2Vpc) Contains detailed information about the EC2 VPC associated with the activity that prompted GuardDuty to generate a finding.Contains detailed information about the EC2 VPC associated with the activity that prompted GuardDuty to generate a finding.default ResourceData.BuilderecsCluster(Consumer<EcsCluster.Builder> ecsCluster) Contains detailed information about the Amazon ECS cluster associated with the activity that prompted GuardDuty to generate a finding.ecsCluster(EcsCluster ecsCluster) Contains detailed information about the Amazon ECS cluster associated with the activity that prompted GuardDuty to generate a finding.default ResourceData.BuilderecsTask(Consumer<EcsTask.Builder> ecsTask) Contains detailed information about the Amazon ECS task associated with the activity that prompted GuardDuty to generate a finding.Contains detailed information about the Amazon ECS task associated with the activity that prompted GuardDuty to generate a finding.default ResourceData.BuildereksCluster(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.BuilderiamInstanceProfile(Consumer<IamInstanceProfileV2.Builder> iamInstanceProfile) Contains detailed information about the IAM instance profile associated with the activity that prompted GuardDuty to generate a finding.iamInstanceProfile(IamInstanceProfileV2 iamInstanceProfile) Contains detailed information about the IAM instance profile associated with the activity that prompted GuardDuty to generate a finding.default ResourceData.BuilderkubernetesWorkload(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.Builders3Bucket(Consumer<S3Bucket.Builder> s3Bucket) Contains information about the Amazon S3 bucket.Contains information about the Amazon S3 bucket.default ResourceData.Builders3Object(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
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
-
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.Builderavoiding the need to create one manually viaS3Bucket.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaEc2Instance.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaAccessKey.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaEc2NetworkInterface.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaS3Object.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaEksCluster.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaKubernetesWorkload.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaContainerFindingResource.builder().When the
Consumercompletes,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:
-
ecsCluster
Contains detailed information about the Amazon ECS cluster associated with the activity that prompted GuardDuty to generate a finding.
- Parameters:
ecsCluster- Contains detailed information about the Amazon ECS 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.
-
ecsCluster
Contains detailed information about the Amazon ECS cluster associated with the activity that prompted GuardDuty to generate a finding.
This is a convenience method that creates an instance of theEcsCluster.Builderavoiding the need to create one manually viaEcsCluster.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toecsCluster(EcsCluster).- Parameters:
ecsCluster- a consumer that will call methods onEcsCluster.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ecsTask
Contains detailed information about the Amazon ECS task associated with the activity that prompted GuardDuty to generate a finding.
- Parameters:
ecsTask- Contains detailed information about the Amazon ECS task 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.
-
ecsTask
Contains detailed information about the Amazon ECS task associated with the activity that prompted GuardDuty to generate a finding.
This is a convenience method that creates an instance of theEcsTask.Builderavoiding the need to create one manually viaEcsTask.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toecsTask(EcsTask).- Parameters:
ecsTask- a consumer that will call methods onEcsTask.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
iamInstanceProfile
Contains detailed information about the IAM instance profile associated with the activity that prompted GuardDuty to generate a finding.
- Parameters:
iamInstanceProfile- Contains detailed information about the IAM instance profile 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.
-
iamInstanceProfile
default ResourceData.Builder iamInstanceProfile(Consumer<IamInstanceProfileV2.Builder> iamInstanceProfile) Contains detailed information about the IAM instance profile associated with the activity that prompted GuardDuty to generate a finding.
This is a convenience method that creates an instance of theIamInstanceProfileV2.Builderavoiding the need to create one manually viaIamInstanceProfileV2.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toiamInstanceProfile(IamInstanceProfileV2).- Parameters:
iamInstanceProfile- a consumer that will call methods onIamInstanceProfileV2.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
autoscalingAutoScalingGroup
ResourceData.Builder autoscalingAutoScalingGroup(AutoscalingAutoScalingGroup autoscalingAutoScalingGroup) Contains detailed information about the Auto Scaling Group associated with the activity that prompted GuardDuty to generate a finding.
- Parameters:
autoscalingAutoScalingGroup- Contains detailed information about the Auto Scaling Group 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.
-
autoscalingAutoScalingGroup
default ResourceData.Builder autoscalingAutoScalingGroup(Consumer<AutoscalingAutoScalingGroup.Builder> autoscalingAutoScalingGroup) Contains detailed information about the Auto Scaling Group associated with the activity that prompted GuardDuty to generate a finding.
This is a convenience method that creates an instance of theAutoscalingAutoScalingGroup.Builderavoiding the need to create one manually viaAutoscalingAutoScalingGroup.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toautoscalingAutoScalingGroup(AutoscalingAutoScalingGroup).- Parameters:
autoscalingAutoScalingGroup- a consumer that will call methods onAutoscalingAutoScalingGroup.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ec2LaunchTemplate
Contains detailed information about the EC2 launch template associated with the activity that prompted GuardDuty to generate a finding.
- Parameters:
ec2LaunchTemplate- Contains detailed information about the EC2 launch template 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.
-
ec2LaunchTemplate
default ResourceData.Builder ec2LaunchTemplate(Consumer<Ec2LaunchTemplate.Builder> ec2LaunchTemplate) Contains detailed information about the EC2 launch template associated with the activity that prompted GuardDuty to generate a finding.
This is a convenience method that creates an instance of theEc2LaunchTemplate.Builderavoiding the need to create one manually viaEc2LaunchTemplate.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toec2LaunchTemplate(Ec2LaunchTemplate).- Parameters:
ec2LaunchTemplate- a consumer that will call methods onEc2LaunchTemplate.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ec2Vpc
Contains detailed information about the EC2 VPC associated with the activity that prompted GuardDuty to generate a finding.
- Parameters:
ec2Vpc- Contains detailed information about the EC2 VPC 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.
-
ec2Vpc
Contains detailed information about the EC2 VPC associated with the activity that prompted GuardDuty to generate a finding.
This is a convenience method that creates an instance of theEc2Vpc.Builderavoiding the need to create one manually viaEc2Vpc.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toec2Vpc(Ec2Vpc).- Parameters:
ec2Vpc- a consumer that will call methods onEc2Vpc.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ec2Image
Contains detailed information about the EC2 Image associated with the activity that prompted GuardDuty to generate a finding.
- Parameters:
ec2Image- Contains detailed information about the EC2 Image 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.
-
ec2Image
Contains detailed information about the EC2 Image associated with the activity that prompted GuardDuty to generate a finding.
This is a convenience method that creates an instance of theEc2Image.Builderavoiding the need to create one manually viaEc2Image.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toec2Image(Ec2Image).- Parameters:
ec2Image- a consumer that will call methods onEc2Image.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
cloudformationStack
Contains detailed information about the CloudFormation stack associated with the activity that prompted GuardDuty to generate a finding.
- Parameters:
cloudformationStack- Contains detailed information about the CloudFormation stack 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.
-
cloudformationStack
default ResourceData.Builder cloudformationStack(Consumer<CloudformationStack.Builder> cloudformationStack) Contains detailed information about the CloudFormation stack associated with the activity that prompted GuardDuty to generate a finding.
This is a convenience method that creates an instance of theCloudformationStack.Builderavoiding the need to create one manually viaCloudformationStack.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocloudformationStack(CloudformationStack).- Parameters:
cloudformationStack- a consumer that will call methods onCloudformationStack.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-