Interface ResourceDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ResourceDetails.Builder,
,ResourceDetails> SdkBuilder<ResourceDetails.Builder,
,ResourceDetails> SdkPojo
- Enclosing class:
ResourceDetails
-
Method Summary
Modifier and TypeMethodDescriptiondefault ResourceDetails.Builder
awsEc2Instance
(Consumer<AwsEc2InstanceDetails.Builder> awsEc2Instance) An object that contains details about the Amazon EC2 instance involved in the finding.awsEc2Instance
(AwsEc2InstanceDetails awsEc2Instance) An object that contains details about the Amazon EC2 instance involved in the finding.default ResourceDetails.Builder
awsEcrContainerImage
(Consumer<AwsEcrContainerImageDetails.Builder> awsEcrContainerImage) An object that contains details about the Amazon ECR container image involved in the finding.awsEcrContainerImage
(AwsEcrContainerImageDetails awsEcrContainerImage) An object that contains details about the Amazon ECR container image involved in the finding.default ResourceDetails.Builder
awsLambdaFunction
(Consumer<AwsLambdaFunctionDetails.Builder> awsLambdaFunction) A summary of the information about an Amazon Web Services Lambda function affected by a finding.awsLambdaFunction
(AwsLambdaFunctionDetails awsLambdaFunction) A summary of the information about an Amazon Web Services Lambda function affected by a finding.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 Details
-
awsEc2Instance
An object that contains details about the Amazon EC2 instance involved in the finding.
- Parameters:
awsEc2Instance
- An object that contains details about the Amazon EC2 instance involved in the finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
awsEc2Instance
default ResourceDetails.Builder awsEc2Instance(Consumer<AwsEc2InstanceDetails.Builder> awsEc2Instance) An object that contains details about the Amazon EC2 instance involved in the finding.
This is a convenience method that creates an instance of theAwsEc2InstanceDetails.Builder
avoiding the need to create one manually viaAwsEc2InstanceDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toawsEc2Instance(AwsEc2InstanceDetails)
.- Parameters:
awsEc2Instance
- a consumer that will call methods onAwsEc2InstanceDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
awsEcrContainerImage
An object that contains details about the Amazon ECR container image involved in the finding.
- Parameters:
awsEcrContainerImage
- An object that contains details about the Amazon ECR container image involved in the finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
awsEcrContainerImage
default ResourceDetails.Builder awsEcrContainerImage(Consumer<AwsEcrContainerImageDetails.Builder> awsEcrContainerImage) An object that contains details about the Amazon ECR container image involved in the finding.
This is a convenience method that creates an instance of theAwsEcrContainerImageDetails.Builder
avoiding the need to create one manually viaAwsEcrContainerImageDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toawsEcrContainerImage(AwsEcrContainerImageDetails)
.- Parameters:
awsEcrContainerImage
- a consumer that will call methods onAwsEcrContainerImageDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
awsLambdaFunction
A summary of the information about an Amazon Web Services Lambda function affected by a finding.
- Parameters:
awsLambdaFunction
- A summary of the information about an Amazon Web Services Lambda function affected by a finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
awsLambdaFunction
default ResourceDetails.Builder awsLambdaFunction(Consumer<AwsLambdaFunctionDetails.Builder> awsLambdaFunction) A summary of the information about an Amazon Web Services Lambda function affected by a finding.
This is a convenience method that creates an instance of theAwsLambdaFunctionDetails.Builder
avoiding the need to create one manually viaAwsLambdaFunctionDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toawsLambdaFunction(AwsLambdaFunctionDetails)
.- Parameters:
awsLambdaFunction
- a consumer that will call methods onAwsLambdaFunctionDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-