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.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:
-