Interface ResourceScanMetadata.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ResourceScanMetadata.Builder,,ResourceScanMetadata> SdkBuilder<ResourceScanMetadata.Builder,,ResourceScanMetadata> SdkPojo
- Enclosing class:
ResourceScanMetadata
-
Method Summary
Modifier and TypeMethodDescriptiondefault ResourceScanMetadata.BuildercodeRepository(Consumer<CodeRepositoryMetadata.Builder> codeRepository) Contains metadata about scan coverage for a code repository resource.codeRepository(CodeRepositoryMetadata codeRepository) Contains metadata about scan coverage for a code repository resource.default ResourceScanMetadata.BuildercontainerImage(Consumer<ContainerImageMetadata.Builder> containerImage) The container image metadata associated with a covered resource.containerImage(ContainerImageMetadata containerImage) The container image metadata associated with a covered resource.default ResourceScanMetadata.BuildercontainerRegistry(Consumer<ContainerRegistryMetadata.Builder> containerRegistry) The container registry metadata associated with a covered resource.containerRegistry(ContainerRegistryMetadata containerRegistry) The container registry metadata associated with a covered resource.default ResourceScanMetadata.BuildercontainerRepository(Consumer<ContainerRepositoryMetadata.Builder> containerRepository) The container repository metadata associated with a covered resource.containerRepository(ContainerRepositoryMetadata containerRepository) The container repository metadata associated with a covered resource.default ResourceScanMetadata.Builderec2(Consumer<Ec2Metadata.Builder> ec2) An object that contains metadata details for an Amazon EC2 instance.ec2(Ec2Metadata ec2) An object that contains metadata details for an Amazon EC2 instance.default ResourceScanMetadata.BuilderecrImage(Consumer<EcrContainerImageMetadata.Builder> ecrImage) An object that contains details about the container metadata for an Amazon ECR image.ecrImage(EcrContainerImageMetadata ecrImage) An object that contains details about the container metadata for an Amazon ECR image.default ResourceScanMetadata.BuilderecrRepository(Consumer<EcrRepositoryMetadata.Builder> ecrRepository) An object that contains details about the repository an Amazon ECR image resides in.ecrRepository(EcrRepositoryMetadata ecrRepository) An object that contains details about the repository an Amazon ECR image resides in.default ResourceScanMetadata.BuilderlambdaFunction(Consumer<LambdaFunctionMetadata.Builder> lambdaFunction) An object that contains metadata details for an Amazon Web Services Lambda function.lambdaFunction(LambdaFunctionMetadata lambdaFunction) An object that contains metadata details for an Amazon Web Services Lambda function.default ResourceScanMetadata.BuilderserverlessFunction(Consumer<ServerlessFunctionMetadata.Builder> serverlessFunction) The serverless function metadata associated with a covered resource.serverlessFunction(ServerlessFunctionMetadata serverlessFunction) The serverless function metadata associated with a covered resource.default ResourceScanMetadata.BuildervmInstance(Consumer<VmInstanceMetadata.Builder> vmInstance) The VM instance metadata associated with a covered resource.vmInstance(VmInstanceMetadata vmInstance) The VM instance metadata associated with a covered resource.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
-
ecrRepository
An object that contains details about the repository an Amazon ECR image resides in.
- Parameters:
ecrRepository- An object that contains details about the repository an Amazon ECR image resides in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ecrRepository
default ResourceScanMetadata.Builder ecrRepository(Consumer<EcrRepositoryMetadata.Builder> ecrRepository) An object that contains details about the repository an Amazon ECR image resides in.
This is a convenience method that creates an instance of theEcrRepositoryMetadata.Builderavoiding the need to create one manually viaEcrRepositoryMetadata.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toecrRepository(EcrRepositoryMetadata).- Parameters:
ecrRepository- a consumer that will call methods onEcrRepositoryMetadata.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ecrImage
An object that contains details about the container metadata for an Amazon ECR image.
- Parameters:
ecrImage- An object that contains details about the container metadata for an Amazon ECR image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ecrImage
An object that contains details about the container metadata for an Amazon ECR image.
This is a convenience method that creates an instance of theEcrContainerImageMetadata.Builderavoiding the need to create one manually viaEcrContainerImageMetadata.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toecrImage(EcrContainerImageMetadata).- Parameters:
ecrImage- a consumer that will call methods onEcrContainerImageMetadata.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ec2
An object that contains metadata details for an Amazon EC2 instance.
- Parameters:
ec2- An object that contains metadata details for an Amazon EC2 instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ec2
An object that contains metadata details for an Amazon EC2 instance.
This is a convenience method that creates an instance of theEc2Metadata.Builderavoiding the need to create one manually viaEc2Metadata.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toec2(Ec2Metadata).- Parameters:
ec2- a consumer that will call methods onEc2Metadata.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lambdaFunction
An object that contains metadata details for an Amazon Web Services Lambda function.
- Parameters:
lambdaFunction- An object that contains metadata details for an Amazon Web Services Lambda function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lambdaFunction
default ResourceScanMetadata.Builder lambdaFunction(Consumer<LambdaFunctionMetadata.Builder> lambdaFunction) An object that contains metadata details for an Amazon Web Services Lambda function.
This is a convenience method that creates an instance of theLambdaFunctionMetadata.Builderavoiding the need to create one manually viaLambdaFunctionMetadata.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolambdaFunction(LambdaFunctionMetadata).- Parameters:
lambdaFunction- a consumer that will call methods onLambdaFunctionMetadata.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
codeRepository
Contains metadata about scan coverage for a code repository resource.
- Parameters:
codeRepository- Contains metadata about scan coverage for a code repository resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
codeRepository
default ResourceScanMetadata.Builder codeRepository(Consumer<CodeRepositoryMetadata.Builder> codeRepository) Contains metadata about scan coverage for a code repository resource.
This is a convenience method that creates an instance of theCodeRepositoryMetadata.Builderavoiding the need to create one manually viaCodeRepositoryMetadata.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocodeRepository(CodeRepositoryMetadata).- Parameters:
codeRepository- a consumer that will call methods onCodeRepositoryMetadata.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
vmInstance
The VM instance metadata associated with a covered resource.
- Parameters:
vmInstance- The VM instance metadata associated with a covered resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vmInstance
The VM instance metadata associated with a covered resource.
This is a convenience method that creates an instance of theVmInstanceMetadata.Builderavoiding the need to create one manually viaVmInstanceMetadata.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovmInstance(VmInstanceMetadata).- Parameters:
vmInstance- a consumer that will call methods onVmInstanceMetadata.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
containerImage
The container image metadata associated with a covered resource.
- Parameters:
containerImage- The container image metadata associated with a covered resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
containerImage
default ResourceScanMetadata.Builder containerImage(Consumer<ContainerImageMetadata.Builder> containerImage) The container image metadata associated with a covered resource.
This is a convenience method that creates an instance of theContainerImageMetadata.Builderavoiding the need to create one manually viaContainerImageMetadata.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocontainerImage(ContainerImageMetadata).- Parameters:
containerImage- a consumer that will call methods onContainerImageMetadata.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
containerRepository
The container repository metadata associated with a covered resource.
- Parameters:
containerRepository- The container repository metadata associated with a covered resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
containerRepository
default ResourceScanMetadata.Builder containerRepository(Consumer<ContainerRepositoryMetadata.Builder> containerRepository) The container repository metadata associated with a covered resource.
This is a convenience method that creates an instance of theContainerRepositoryMetadata.Builderavoiding the need to create one manually viaContainerRepositoryMetadata.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocontainerRepository(ContainerRepositoryMetadata).- Parameters:
containerRepository- a consumer that will call methods onContainerRepositoryMetadata.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
containerRegistry
The container registry metadata associated with a covered resource.
- Parameters:
containerRegistry- The container registry metadata associated with a covered resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
containerRegistry
default ResourceScanMetadata.Builder containerRegistry(Consumer<ContainerRegistryMetadata.Builder> containerRegistry) The container registry metadata associated with a covered resource.
This is a convenience method that creates an instance of theContainerRegistryMetadata.Builderavoiding the need to create one manually viaContainerRegistryMetadata.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocontainerRegistry(ContainerRegistryMetadata).- Parameters:
containerRegistry- a consumer that will call methods onContainerRegistryMetadata.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
serverlessFunction
The serverless function metadata associated with a covered resource.
- Parameters:
serverlessFunction- The serverless function metadata associated with a covered resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serverlessFunction
default ResourceScanMetadata.Builder serverlessFunction(Consumer<ServerlessFunctionMetadata.Builder> serverlessFunction) The serverless function metadata associated with a covered resource.
This is a convenience method that creates an instance of theServerlessFunctionMetadata.Builderavoiding the need to create one manually viaServerlessFunctionMetadata.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toserverlessFunction(ServerlessFunctionMetadata).- Parameters:
serverlessFunction- a consumer that will call methods onServerlessFunctionMetadata.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-