Interface Resource.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Resource.Builder,Resource>,SdkBuilder<Resource.Builder,Resource>,SdkPojo
- Enclosing class:
- Resource
public static interface Resource.Builder extends SdkPojo, CopyableBuilder<Resource.Builder,Resource>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default 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.Resource.BuilderaccessKeyDetails(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.Resource.BuildercontainerDetails(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.Resource.BuilderebsVolumeDetails(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.Resource.BuilderecsClusterDetails(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.Resource.BuildereksClusterDetails(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.Resource.BuilderinstanceDetails(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.Resource.BuilderkubernetesDetails(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.Resource.BuilderlambdaDetails(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.Resource.BuilderrdsDbInstanceDetails(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.Resource.BuilderrdsDbUserDetails(RdsDbUserDetails rdsDbUserDetails)Contains information about the user details through which anomalous login attempt was made.Resource.BuilderresourceType(String resourceType)The type of Amazon Web Services resource.Resource.Builders3BucketDetails(Collection<S3BucketDetail> s3BucketDetails)Contains information on the S3 bucket.Resource.Builders3BucketDetails(Consumer<S3BucketDetail.Builder>... s3BucketDetails)Contains information on the S3 bucket.Resource.Builders3BucketDetails(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, sdkFields
-
-
-
-
Method Detail
-
accessKeyDetails
Resource.Builder 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.
- 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
default 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.
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:
accessKeyDetails(AccessKeyDetails)
-
s3BucketDetails
Resource.Builder s3BucketDetails(Collection<S3BucketDetail> 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
Resource.Builder s3BucketDetails(S3BucketDetail... 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
Resource.Builder s3BucketDetails(Consumer<S3BucketDetail.Builder>... 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 to#s3BucketDetails(List.) - 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:
#s3BucketDetails(java.util.Collection)
-
instanceDetails
Resource.Builder instanceDetails(InstanceDetails 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
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.
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:
instanceDetails(InstanceDetails)
-
eksClusterDetails
Resource.Builder eksClusterDetails(EksClusterDetails 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
default Resource.Builder eksClusterDetails(Consumer<EksClusterDetails.Builder> 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:
eksClusterDetails(EksClusterDetails)
-
kubernetesDetails
Resource.Builder kubernetesDetails(KubernetesDetails 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
default Resource.Builder kubernetesDetails(Consumer<KubernetesDetails.Builder> 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:
kubernetesDetails(KubernetesDetails)
-
resourceType
Resource.Builder resourceType(String 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
Resource.Builder ebsVolumeDetails(EbsVolumeDetails 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
default Resource.Builder ebsVolumeDetails(Consumer<EbsVolumeDetails.Builder> 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:
ebsVolumeDetails(EbsVolumeDetails)
-
ecsClusterDetails
Resource.Builder ecsClusterDetails(EcsClusterDetails 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
default Resource.Builder ecsClusterDetails(Consumer<EcsClusterDetails.Builder> 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:
ecsClusterDetails(EcsClusterDetails)
-
containerDetails
Resource.Builder containerDetails(Container 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
default Resource.Builder containerDetails(Consumer<Container.Builder> 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:
containerDetails(Container)
-
rdsDbInstanceDetails
Resource.Builder rdsDbInstanceDetails(RdsDbInstanceDetails 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:
rdsDbInstanceDetails(RdsDbInstanceDetails)
-
rdsDbUserDetails
Resource.Builder rdsDbUserDetails(RdsDbUserDetails 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
default Resource.Builder rdsDbUserDetails(Consumer<RdsDbUserDetails.Builder> 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:
rdsDbUserDetails(RdsDbUserDetails)
-
lambdaDetails
Resource.Builder lambdaDetails(LambdaDetails 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
default Resource.Builder lambdaDetails(Consumer<LambdaDetails.Builder> 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:
lambdaDetails(LambdaDetails)
-
-