Interface ResourceDetails.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ResourceDetails.Builder,,ResourceDetails> SdkBuilder<ResourceDetails.Builder,,ResourceDetails> SdkPojo
- Enclosing class:
ResourceDetails
-
Method Summary
Modifier and TypeMethodDescriptiondefault ResourceDetails.BuilderawsEc2Instance(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.BuilderawsEcrContainerImage(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.BuilderawsLambdaFunction(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.default ResourceDetails.BuildercodeRepository(Consumer<CodeRepositoryDetails.Builder> codeRepository) Contains details about a code repository resource associated with a finding.codeRepository(CodeRepositoryDetails codeRepository) Contains details about a code repository resource associated with a finding.default ResourceDetails.Builderimage(Consumer<Image.Builder> image) An object that contains details about a container image involved in the finding.An object that contains details about a container image involved in the finding.default ResourceDetails.BuilderserverlessFunction(Consumer<ServerlessFunction.Builder> serverlessFunction) An object that contains details about a serverless function involved in the finding.serverlessFunction(ServerlessFunction serverlessFunction) An object that contains details about a serverless function involved in the finding.default ResourceDetails.Buildervm(Consumer<Vm.Builder> vm) An object that contains details about a VM instance involved in the finding.An object that contains details about a VM instance involved in the finding.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
-
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.Builderavoiding the need to create one manually viaAwsEc2InstanceDetails.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaAwsEcrContainerImageDetails.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaAwsLambdaFunctionDetails.builder().When the
Consumercompletes,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:
-
codeRepository
Contains details about a code repository resource associated with a finding.
- Parameters:
codeRepository- Contains details about a code repository resource associated with a finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
codeRepository
default ResourceDetails.Builder codeRepository(Consumer<CodeRepositoryDetails.Builder> codeRepository) Contains details about a code repository resource associated with a finding.
This is a convenience method that creates an instance of theCodeRepositoryDetails.Builderavoiding the need to create one manually viaCodeRepositoryDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocodeRepository(CodeRepositoryDetails).- Parameters:
codeRepository- a consumer that will call methods onCodeRepositoryDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
vm
An object that contains details about a VM instance involved in the finding.
- Parameters:
vm- An object that contains details about a VM instance involved in the finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vm
An object that contains details about a VM instance involved in the finding.
This is a convenience method that creates an instance of theVm.Builderavoiding the need to create one manually viaVm.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovm(Vm).- Parameters:
vm- a consumer that will call methods onVm.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
image
An object that contains details about a container image involved in the finding.
- Parameters:
image- An object that contains details about a container image involved in the finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
image
An object that contains details about a container image involved in the finding.
This is a convenience method that creates an instance of theImage.Builderavoiding the need to create one manually viaImage.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toimage(Image).- Parameters:
image- a consumer that will call methods onImage.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
serverlessFunction
An object that contains details about a serverless function involved in the finding.
- Parameters:
serverlessFunction- An object that contains details about a serverless function involved in the finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serverlessFunction
default ResourceDetails.Builder serverlessFunction(Consumer<ServerlessFunction.Builder> serverlessFunction) An object that contains details about a serverless function involved in the finding.
This is a convenience method that creates an instance of theServerlessFunction.Builderavoiding the need to create one manually viaServerlessFunction.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toserverlessFunction(ServerlessFunction).- Parameters:
serverlessFunction- a consumer that will call methods onServerlessFunction.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-